Page MenuHomeIn-Portal Phabricator

in-news
No OneTemporary

File Metadata

Created
Thu, Feb 13, 1:45 AM
This file is larger than 256 KB, so syntax highlighting was skipped.
This document is not UTF8. It was detected as ISO-8859-1 (Latin 1) and converted to UTF8 for display.
Index: trunk/in-news/images/icon_browse.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/images/icon_browse.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/images/99_2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/images/99_2.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/searchaction.php
===================================================================
--- trunk/in-news/searchaction.php (revision 12830)
+++ trunk/in-news/searchaction.php (nonexistent)
@@ -1,51 +0,0 @@
-<?php
- /* action handlers for listview searches */
- switch($Action)
- {
- case "n_rel_search": /* link relations list */
- $searchlist = trim($objSession->GetVariable("NewsRelSearchWord"));
- if(strlen($searchlist)>0)
- $searchlist = ",";
- $searchlist = $_POST["list_search"];
- $objSession->SetVariable("NewsRelSearchWord",$searchlist);
- $objSession->SetVariable("Page_Relations",1);
- break;
- case "n_rel_search_reset": /* link relations list */
- $objSession->SetVariable("NewsRelSearchWord","");
- break;
-
-
-
- // Advanced View Search Actions
- case 'n_adv_view_search':
- SaveAdvView_SearchWord('n');
- break;
-
- case 'n_adv_view_search_reset':
- ResetAdvView_SearchWord('n');
- break;
-
- case "n_review_search": /* link review list */
- $searchlist = trim($objSession->GetVariable("NewsRevSearchWord"));
- if(strlen($searchlist)>0)
- $searchlist = ",";
- $searchlist = $_POST["list_search"];
- $objSession->SetVariable("NewsRevSearchWord",$searchlist);
- $objSession->SetVariable("Page_Reviews",1);
- break;
-
- case "n_review_search_reset": /* category relations list */
- $objSession->SetVariable("NewsRevSearchWord","");
- break;
-
-
- // Reviews
- case 'n_review_direct_search':
- SaveAdvView_SearchWord('n','_review_direct_search');
- break;
-
- case 'n_review_direct_search_reset':
- ResetAdvView_SearchWord('n','_review_direct_search');
- break;
- }
-?>
Property changes on: trunk/in-news/searchaction.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install.php
===================================================================
--- trunk/in-news/admin/install.php (revision 12830)
+++ trunk/in-news/admin/install.php (nonexistent)
@@ -1,87 +0,0 @@
-<?php
-
- $MODULE_NAME = 'in-news'; // define current module name
-
- // new startup: begin
- if (!defined('REL_PATH'))
- {
- define('REL_PATH', defined('IS_INSTALL') && IS_INSTALL ? 'admin' : 'in-news/admin');
- $relation_level = count( explode('/', REL_PATH) );
- define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
- }
- if (!defined('IS_INSTALL')) define('IS_INSTALL', 1);
- require_once FULL_PATH.'/kernel/startup.php';
- // new startup: end
-
- $application =& kApplication::Instance();
- $application->Init();
-
- require_once FULL_PATH.'/admin/install/install_lib.php';
- require_once FULL_PATH.'/kernel/include/tag-class.php';
- if( !isset($objTagList) ) $objTagList = new clsTagList();
-
- $ado =& GetADODBConnection();
-
- // create module category
- $ml_formatter =& $application->recallObject('kMultiLanguage');
- $name_field = $ml_formatter->LangFieldName('Name');
- $description_field = $ml_formatter->LangFieldName('Description');
-
- $cat =& $application->recallObject('c', null, Array('skip_autoload' => true));
- $cat->Clear();
- $cat_fields = Array($name_field => 'News', 'AutomaticFilename' => 1, 'Filename' => 'News',
- $description_field => 'News Articles', 'Status' => 1, 'ParentId' => 0,
- 'CategoryTemplate' => 'innews/index', 'CachedCategoryTemplate' => 'innews/index');
- $cat->SetDBFieldsFromHash($cat_fields);
- $cat->Create();
-
- $cat_id = $cat->GetID();
-
- $filename = FULL_PATH.'/'.$MODULE_NAME.'/admin/install/inportal_schema.sql';
- if (file_exists($filename)) RunSchemaFile($ado, $filename);
-
- $filename = FULL_PATH.'/'.$MODULE_NAME.'/admin/install/inportal_data.sql';
- if (file_exists($filename))
- {
- $sql = file($filename);
- for ($x = 0; $x < count($sql); $x++)
- {
- $sql[$x] = str_replace('{NewsCatId}', $cat_id, $sql[$x]);
- }
- RunSQLText($ado, $sql);
-
- $sql = 'SELECT Version FROM '.TABLE_PREFIX.'Modules WHERE Name = '.$ado->qstr('In-News');
- $mod_version = $application->Conn->GetOne($sql);
-
- if (!(isset($ini_file) && $ini_file)) {
- $ini_file = FULL_PATH.'/config.php';
- $ini_vars = inst_parse_portal_ini($ini_file, true);
- }
-
- set_ini_value('Module Versions', 'In-News', $mod_version);
- save_values();
-
- $objTagList->ParseFile(FULL_PATH.'/'.$MODULE_NAME.'/parser.php');
- }
-
- linkCustomFields($MODULE_NAME, 'n', 2);
- linkCustomFields('KERNEL', 'c', 1); // because in-news module creates some custom fields for categories
-
- $cat->defineFields();
- $application->removeObject('c-cdata');
- $cat->SetDBField('cust_n_ItemTemplate', 'innews/detail');
- $cat->Update();
-
- $sql = 'DELETE FROM '.TABLE_PREFIX.'Cache WHERE (VarName = "config_files") OR (VarName LIKE "%_parsed")';
- $application->Conn->Query($sql);
-
- $objModules->Refresh();
- $objModules->SetModuleRoot('In-News', $cat_id);
-
- $inp_cat =& $objCatList->GetCategory($cat_id);
- $inp_cat->UpdateCachedPath();
- $inp_cat->UpdateACL();
-
- finalizeModuleInstall($MODULE_NAME);
-
-?>
Property changes on: trunk/in-news/admin/install.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.25
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/templates/news_review_element.tpl
===================================================================
--- trunk/in-news/admin/templates/news_review_element.tpl (revision 12830)
+++ trunk/in-news/admin/templates/news_review_element.tpl (nonexistent)
@@ -1,13 +0,0 @@
-<td>
- <div inportalType="news_reviews">
- <input type=checkbox value="<inp:review _field="id" />" name=reviewlist[]>
- <img src="<inp:review _field="admin_icon"/>">
- <span class="priority"><sup><inp:review _field="priority"/></sup></span>
- <inp:review _field="text" _CutFirst="100"/>
- <div style="padding-left:3px">
- <span class="news_detail"><inp:m_language _Phrase="la_article_reviewed" />: <a href="<inp:review _Field="ItemLink" />"><inp:review _field="ItemName" /></a> </span><br>
- <span class="news_detail">(<inp:m_language _Phrase="la_added" />: <inp:review _field="date"/> / <inp:m_language _Phrase="la_reviewer" />: <inp:review _field="reviewer"/> )</span>
- </div>
- <br>
- </div>
-</td>
\ No newline at end of file
Property changes on: trunk/in-news/admin/templates/news_review_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/templates/news_tab_element.tpl
===================================================================
--- trunk/in-news/admin/templates/news_tab_element.tpl (revision 12830)
+++ trunk/in-news/admin/templates/news_tab_element.tpl (nonexistent)
@@ -1,21 +0,0 @@
-<td>
- <div inportalType="news">
- <input type=checkbox value="<inp:article _field="id"/>" name=newslist[]>
- <img src="<inp:article _field="admin_icon" />" align="absMiddle">
- <span class="priority"><sup><inp:article _field="priority"/></sup></span>
- <a href="<inp:article _field="link" _Template="innews/detail.tpl" />" target="_blank" class="link">
- <b><inp:article _field="title" /></b>
- </a>
- <span class="news_pick"><inp:article _field="pick" /></span>
- <span class="news_hot"></span>
- <span class="news_pop"><inp:article _field="pop" /></span>
- <span class="news_new"><inp:article _field="new" /></span>
- <span class="news_pop"><inp:article _field="hot" /></span><br>
- <div style="padding-left:3px">
- <span class="news_desc"><inp:article _field="excerpt" /></span>
- <br>
- <span class="news_detail"> (Added: <inp:article _field="date"/> / Views: <inp:article _field="hits" /> / Rating: <inp:article _field="rating"/> / Votes: <inp:article _field="votes"/> / Author: <inp:article _field="author"/>) </span>
- </div>
- <br>
- </div>
-</td>
\ No newline at end of file
Property changes on: trunk/in-news/admin/templates/news_tab_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/templates/news_element.tpl
===================================================================
--- trunk/in-news/admin/templates/news_element.tpl (revision 12830)
+++ trunk/in-news/admin/templates/news_element.tpl (nonexistent)
@@ -1,21 +0,0 @@
-<tr><td>
- <div inportalType="news">
- <input type=checkbox value="<inp:article _field="id"/>" name=newslist[]>
- <img src="<inp:article _field="admin_icon" />" align="absMiddle">
- <span class="priority"><sup><inp:article _field="priority"/></sup></span>
- <a href="<inp:article _field="link" _Template="innews/detail.tpl" />" target="_blank" class="link">
- <b><inp:article _field="title" /></b>
- </a>
- <span class="news_pick"><inp:article _field="pick" /></span>
- <span class="news_hot"></span>
- <span class="news_pop"><inp:article _field="pop" /></span>
- <span class="news_new"><inp:article _field="new" /></span>
- <span class="news_pop"><inp:article _field="hot" /></span><br>
- <div style="padding-left:3px">
- <span class="news_desc"><inp:article _field="excerpt" /></span>
- <br>
- <span class="news_detail"> (Added: <inp:article _field="date"/> / Views: <inp:article _field="hits" /> / Rating: <inp:article _field="rating"/> / Votes: <inp:article _field="votes"/> / Author: <inp:article _field="author"/>) </span>
- </div>
- <br>
- </div></td>
-</tr>
Property changes on: trunk/in-news/admin/templates/news_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/templates/news_tab_element_av.tpl
===================================================================
--- trunk/in-news/admin/templates/news_tab_element_av.tpl (revision 12830)
+++ trunk/in-news/admin/templates/news_tab_element_av.tpl (nonexistent)
@@ -1,22 +0,0 @@
-<td>
- <div inportalType="news">
- <input type=checkbox value="<inp:article _field="id"/>" name=newslist[]>
- <img src="<inp:article _field="admin_icon" />" align="absMiddle">
- <span class="priority"><sup><inp:article _field="priority"/></sup></span>
- <a href="<inp:article _field="link" _Template="innews/detail.tpl" />" target="_blank" class="link">
- <b><inp:article _field="title" /></b>
- </a>
- <span class="news_pick"><inp:article _field="pick" /></span>
- <span class="news_hot"></span>
- <span class="news_pop"><inp:article _field="pop" /></span>
- <span class="news_new"><inp:article _field="new" /></span>
- <span class="news_pop"><inp:article _field="hot" /></span><br>
- <div style="padding-left:3px">
- <span class="news_desc"><inp:article _field="excerpt" /></span>
- <br>
- <span class="news_detail"><inp:m_language _Phrase="la_category" />: <a href="<inp:article _Field="PrimaryCategoryLink" />"><inp:article _field="PrimaryCategory"/></a> </span><br>
- <span class="news_detail"> (Added: <inp:article _field="date"/> / Views: <inp:article _field="hits" /> / Rating: <inp:article _field="rating"/> / Votes: <inp:article _field="votes"/> / Author: <inp:article _field="author"/>) </span>
- </div>
- <br>
- </div>
-</td>
\ No newline at end of file
Property changes on: trunk/in-news/admin/templates/news_tab_element_av.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/templates/news_select_element.tpl
===================================================================
--- trunk/in-news/admin/templates/news_select_element.tpl (revision 12830)
+++ trunk/in-news/admin/templates/news_select_element.tpl (nonexistent)
@@ -1,19 +0,0 @@
-<tr><td>
- <div inportalType="news" >
- <input type=checkbox value="<inp:article _field="resourceid"/>" name="newslist[]" ItemType="2">
- <img src="<inp:article _field="admin_icon" />" align="absMiddle">
- <span class="priority"><sup><inp:article _field="priority"/></sup></span>
- <a href="<inp:article _field="link" _Template="innews/news_article"/>" target="_blank" class="link">
- <inp:article _field="title"/></a>
- <span class="news_pick"><inp:article _field="pick" /></span>
- <span class="news_hot"></span>
- <span class="news_pop"><inp:article _field="pop" /></span>
- <span class="bews_new"><inp:article _field="new" /></span><br>
- <div style="padding-left:3px">
- <span class="news_desc"><inp:article _field="excerpt" /></span>
- <br>
- <span class="news_detail"> (Added: <inp:article _field="date"/> / Views: <inp:article _field="hits" /> / Rating: <inp:article _field="rating"/> / Votes: <inp:article _field="votes"/> / Author: <inp:article _field="author"/>) </span>
- </div>
- <br>
- </div></td>
-</tr>
Property changes on: trunk/in-news/admin/templates/news_select_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/relation_select.php
===================================================================
--- trunk/in-news/admin/relation_select.php (revision 12830)
+++ trunk/in-news/admin/relation_select.php (nonexistent)
@@ -1,61 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-$rootURL="http://".ThisDomain().$objConfig->Get("Site_Path");
-
-if(!$pathtoroot) die('error: no base path defined');
-
-$localURL=$rootURL."in-news/";
-$adminURL = $rootURL.$admin;
-$imagesURL = $adminURL."/images";
-//admin only util
-
-$pathtolocal = $pathtoroot."in-news/";
-
-require_once ($pathtolocal."admin/include/navmenu.php");
-
-$section = 'in-news:browse';
-
-$list = $objSession->GetVariable("SearchWord");
-
-?>
-<!-- NEWS -->
-<div id="news" class="ini_tab" isTab="true" tabTitle="News" ActionPrefix="n_article_" EditURL="in-news/admin/addarticle">
-<form name=news_form action="" method=post><input type=hidden name=Action>
-<table cellSpacing=0 cellPadding=2 width="100%" class="tabTable">
- <tbody>
- <tr>
- <td>
- <img height=15 src="<?php echo $imagesURL; ?>/arrow.gif" width=15 align=absMiddle border=0>
- <b class=text><?php echo prompt_language("la_Page"); ?></b> <?php print $objArticleList->GetAdminPageLinkList($_SERVER["PHP_SELF"]); ?>
- </td>
-
- </tr>
- </tbody>
-</table>
-<br>
-
-<table cellSpacing=0 cellPadding=2 width="100%" border=0>
- <tbody>
-<?php
- print adListArticles($pathtolocal."admin/templates/news_select_element.tpl");
-?>
- </tbody>
-</table>
-</form>
-</div>
-<SCRIPT LANGUAGE="JavaScript">
- AddButtonAction('new_news',"get_to_server('<?php echo $rootURL;?>in-news/admin/addarticle.php','new=1');"); //new link
-</SCRIPT>
-<!-- END NEWS -->
Property changes on: trunk/in-news/admin/relation_select.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/addarticle_relations.php
===================================================================
--- trunk/in-news/admin/addarticle_relations.php (revision 12830)
+++ trunk/in-news/admin/addarticle_relations.php (nonexistent)
@@ -1,343 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-
-// new startup: begin
-define('REL_PATH', 'in-news/admin');
-$relation_level = count( explode('/', REL_PATH) );
-define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
-require_once FULL_PATH.'/kernel/startup.php';
-// new startup: end
-
-$pathtolocal = $pathtoroot."in-news/";
-require_once ($pathtoroot.$admin."/include/elements.php");
-require_once ($pathtoroot."kernel/admin/include/navmenu.php");
-require_once ($pathtolocal."admin/include/navmenu.php");
-require_once($pathtoroot.$admin."/toolbar.php");
-require_once($pathtoroot.$admin."/listview/listview.php");
-
-$m = GetModuleArray();
-foreach($m as $key => $value)
-{
- $path = $pathtoroot.$value."admin/include/parser.php";
- if( file_exists($path) ) include_once($path);
-}
-
-unset($objEditItems);
-$objEditItems = new clsNewsList();
-$objEditItems->SourceTable = $objSession->GetEditTable("News");
-$objEditItems->EnablePaging = FALSE;
-$en = (int)$_GET["en"];
-$objEditItems->Query_Item("SELECT * FROM ".$objEditItems->SourceTable);
-$itemcount=$objEditItems->NumItems();
-$c = $objEditItems->GetItemByIndex($en);
-if($itemcount>1)
-{
- if ($en+1 == $itemcount)
- $en_next = -1;
- else
- $en_next = $en+1;
- if ($en == 0)
- $en_prev = -1;
- else
- $en_prev = $en-1;
-}
-
-$action = "n_edit_article";
-$envar = "env=" . BuildEnv() . "&en=$en";
-$saveURL = $admin."/".$objSession->GetVariable('ReturnScript');
-//Display header
-//Set Section
-$section = 'in-news:editarticle_relations';
-
-$objListToolBar = new clsToolBar();
-$objListToolBar->Add("img_save", "la_Save","","swap('img_save','toolbar/tool_select_f2.gif');", "swap('img_save', 'toolbar/tool_select.gif');","do_edit_save('save_edit_buttons','".$saveURL."',1);","tool_select.gif");
-$objListToolBar->Add("img_cancel", "la_Cancel","","swap('img_cancel','toolbar/tool_cancel_f2.gif');", "swap('img_cancel', 'toolbar/tool_cancel.gif');","do_edit_save('save_edit_buttons','".$saveURL."',2);","tool_cancel.gif");
-$objListToolBar->Set("section",$section);
-$objListToolBar->Set("load_menu_func","");
-$objListToolBar->Set("CheckClass","PermChecks");
-$objListToolBar->Set("CheckForm","permlistform");
-if($itemcount == 1) $objListToolBar->Add("divider");
-//Display header
-$sec = $objSections->GetSection($section);
-
-
-if ( isset($en_prev) || isset($en_next) )
-{
- $url = $RootUrl."in-news/admin/addarticle_relations.php";
- $StatusField = "NewsEditStatus";
- $form = "article";
- MultiEditButtons($objListToolBar,$en_next,$en_prev,$form,$StatusField,$url,$sec->Get("OnClick"));
- $objListToolBar->Add("divider");
-}
-
-$listImages = array();
- //$img, $alt, $link, $onMouseOver, $onMouseOut, $onClick
-
-$objListToolBar->Add("new_rel", "la_ToolTip_New_Relation","#".$envar,"swap('new_rel','toolbar/tool_new_relation_f2.gif');",
- "swap('new_rel', 'toolbar/tool_new_relation.gif');",
- "OpenItemSelector('$envar&source=addcategory_relations&CatId=".$c->Get("CategoryId")."&destform=popup&destfield=itemlist&Selector=radio');",
- "tool_new_relation.gif");
-
-$objListToolBar->Add("rel_edit","la_ToolTip_Edit","#", "if (PermChecks.itemChecked()) swap('rel_edit','toolbar/tool_edit_f2.gif');",
- "if (PermChecks.itemChecked()) swap('rel_edit', 'toolbar/tool_edit.gif');","if (PermChecks.itemChecked()) PermChecks.check_submit('addrelation', '');",
- "tool_edit.gif");
-$listImages[] = "PermChecks.addImage('rel_edit','$imagesURL/toolbar/tool_edit.gif','$imagesURL/toolbar/tool_edit_f3.gif',1); ";
-
-$objListToolBar->Add("rel_del","la_ToolTip_Delete","#", "if (PermChecks.itemChecked()) swap('rel_del','toolbar/tool_delete_f2.gif');",
- "if (PermChecks.itemChecked()) swap('rel_del', 'toolbar/tool_delete.gif');","if (PermChecks.itemChecked()) PermChecks.check_submit('addarticle_relations', 'm_rel_delete');",
- "tool_delete.gif");
-$listImages[] = "PermChecks.addImage('rel_del','$imagesURL/toolbar/tool_delete.gif','$imagesURL/toolbar/tool_delete_f3.gif',1); ";
-
-$objListToolBar->Add("divider");
-
-$objListToolBar->Add("rel_move_up","la_ToolTip_Move_Up","#", "if (PermChecks.itemChecked()) swap('rel_move_up','toolbar/tool_move_up_f2.gif');",
- "if (PermChecks.itemChecked()) swap('rel_move_up', 'toolbar/tool_move_up.gif');","if (PermChecks.itemChecked()) PermChecks.check_submit('addarticle_relations', 'm_rel_move_up');",
- "tool_move_up.gif");
-$listImages[] = "PermChecks.addImage('rel_move_up','$imagesURL/toolbar/tool_move_up.gif','$imagesURL/toolbar/tool_move_up_f3.gif',1); ";
-
-$objListToolBar->Add("rel_move_down","la_ToolTip_Move_Down","#", "if (PermChecks.itemChecked()) swap('rel_move_down','toolbar/tool_move_down_f2.gif');",
- "if (PermChecks.itemChecked()) swap('rel_move_down', 'toolbar/tool_move_down.gif');","if (PermChecks.itemChecked()) PermChecks.check_submit('addarticle_relations', 'm_rel_move_down');",
- "tool_move_down.gif");
-$listImages[] = "PermChecks.addImage('rel_move_down','$imagesURL/toolbar/tool_move_down.gif','$imagesURL/toolbar/tool_move_down_f3.gif',1); ";
-
-$objListToolBar->Add("divider");
-$objListToolBar->Add("viewmenubutton", "la_ToolTip_View","#","swap('viewmenubutton','toolbar/tool_view_f2.gif'); ",
- "swap('viewmenubutton', 'toolbar/tool_view.gif');",
- "ShowViewMenu();","tool_view.gif");
-
-/* ----------------------------------------- Set the View Filter ---------------------------------------- */
-$Rel_AllValue = 255;
-
-$Bit_Categories = 1;
-$Bit_Links = 2;
-$Bit_News = 4;
-$Bit_Topics = 8;
-
-$Bit_OneWay = 16;
-$Bit_Recip = 32;
-
-$Bit_Enabled=64;
-$Bit_Disabled=128;
-
-$FilterLabels[0] = admin_language("la_Text_Category");
-$FilterLabels[1] = admin_language("la_Text_Links");
-$FilterLabels[2] = admin_language("la_Text_Articles");
-$FilterLabels[3] = admin_language("la_Text_Topics");
-$FilterLabels[4] = admin_language("la_Text_OneWay");
-$FilterLabels[5] = admin_language("la_Text_Reciprocal");
-$FilterLabels[6] = admin_language("la_Text_Enabled");
-$FilterLabels[7] = admin_language("la_Text_Disabled");
-
-$RelView = $objConfig->Get("NewsRel_View");
-
-if(!is_numeric($RelView))
-{
- $RelView = $Rel_AllValue;
-}
-else
-{
- $RelTypes = array();
- if($RelView & $Bit_Categories) $RelTypes[] = 1;
- if($RelView & $Bit_Links) $RelTypes[] = 4;
- if($RelView & $Bit_News) $RelTypes[] = 2;
- if($RelView & $Bit_Topics) $RelTypes[] = 3;
-
- $RelFilters = array();
- $RelFilters[]='rel.TargetType IN ('.($RelTypes?implode(',',$RelTypes):'-1').')';
-
- $RelTypes = array();
- if($RelView & $Bit_OneWay) $RelTypes[] = 0;
- if($RelView & $Bit_Recip) $RelTypes[] = 1;
- $RelFilters[] = 'rel.Type IN ('.($RelTypes?implode(',',$RelTypes):'-1').')';
-
- $EnabledFilter = Array();
- if($RelView & $Bit_Enabled) $EnabledFilter[] = 'rel.Enabled=1';
- if($RelView & $Bit_Disabled) $EnabledFilter[] = 'rel.Enabled=0';
- $RelFilters[] = '('.($EnabledFilter?implode(' OR ',$EnabledFilter):'rel.Enabled=-1').')';
-
- $RelFilter = implode(' AND ',$RelFilters);
-}
-
-$objListToolBar->AddToInitScript("fwLoadMenus(); \n");
-$objListToolBar->AddToInitScript($listImages);
-
-
-//$r =& $c->RelationObject();
-$objRelList = new clsRelationshipList();
-$objRelList->SourceTable = $objSession->GetEditTable("Relationship");
-
-$reltable = $objRelList->SourceTable;
-
-// ==== build sql depending on modules installed: begin ====
-$prefix = GetTablePrefix();
-$modules = $objModules->GetModuleList();
-$sql_source = $objModules->ExecuteFunction('GetModuleInfo', 'rel_list');
-
-$sql_templates['ItemName'] = 'IFNULL('.$prefix."%s.%s,' ')";
-$sql_templates['TableJoin'] = 'LEFT JOIN '.$prefix."%1\$s ON ".$prefix."%1\$s.ResourceId = rel.TargetId";
-$sql_templates['TargetName'] = "IF(rel.TargetType = %s, '%s', %s)";
-
-$sql = "SELECT TRIM(CONCAT(%s)) AS ItemName, %s AS ItemType,".
- GetELT('rel.Type+1', Array('la_Text_OneWay','la_Text_Reciprocal')).' AS RelationType,'.
- "RelationshipId, rel.Priority AS Priority, rel.Type as Type, rel.Enabled as Enabled,".
- GetELT('rel.Enabled+1', Array('la_Text_Disabled','la_Text_Enabled')).' AS Status '.
- 'FROM '.$reltable.' AS rel %s WHERE rel.SourceId = '.$c->Get('ResourceId');
-
-$sql_parts = Array();
-$sql_parts['TargetName'] = "''";
-foreach($modules as $module)
-{
- $sql_parts['ItemName'][] = sprintf($sql_templates['ItemName'], $sql_source[$module]['MainTable'], $sql_source[$module]['ItemNameField']);
- $sql_parts['TableJoin'][] = sprintf($sql_templates['TableJoin'], $sql_source[$module]['MainTable']);
-
- $sql_parts['TargetName'] = sprintf( $sql_templates['TargetName'],
- $sql_source[$module]['TargetType'],
- admin_language($sql_source[$module]['ItemNamePhrase']),
- $sql_parts['TargetName']);
-}
-$sql = sprintf($sql, implode(', ',$sql_parts['ItemName']), $sql_parts['TargetName'], implode(' ',$sql_parts['TableJoin']));
-// ==== build sql depending on modules installed: end ====
-
-if( isset($RelFilter) && $RelFilter )
-{
- $sql .= " AND (".$RelFilter.")";
-}
-
-$SearchWords = $objSession->GetVariable("NewsRelSearchWord");
-if(strlen($SearchWords))
-{
- $having = $objRelList->AdminSearchWhereClause($SearchWords);
-}
-else
- $having = "";
-
-if(strlen($having))
- $sql .= " HAVING ($having) ";
-
-if(strlen(trim($objConfig->Get("NewsRelation_LV_Sortfield"))))
-{
- $order = " ORDER BY rel.Priority DESC, ".$objConfig->Get("NewsRelation_LV_Sortfield")." ".$objConfig->Get("NewsRelation_LV_Sortorder");
-}
-else
- $order = " ORDER BY rel.Priority DESC";
-
-$total_records = QueryCount($sql);
-$objRelList->RefreshPage('Page_Relations', $total_records);
-
-if($objConfig->Get("Perpage_Relations")>0)
-{
- $objListView->PerPage = $objConfig->Get("Perpage_Relations");
-}
-
-$sql .= $order." ".$objRelList->GetLimitSQL();
-
-if((int)$GLOBALS["debuglevel"])
- echo $sql."<br>\n";
-
-$objRelList->Query_Item($sql);
-
-$objListView = new clsListView($objListToolBar,$objRelList);
-$objListView->IdField = "RelationshipId";
-$objListView->PageLinkTemplate = $pathtoroot.$admin."/templates/user_page_link.tpl";
-
-for($i=0;$i<count($objRelList->Items);$i++)
-{
- $rel =& $objRelList->GetItemRefByIndex($i);
-
- $objListView->RowIcons[] = $rel->Admin_Icon();
-}
-
-$objListView->ColumnHeaders->Add("ItemName",admin_language("la_ColHeader_Item"),1,0,$order,"width=\"20%\"","NewsRelation_LV_Sortfield","NewsRelation_LV_Sortorder","ItemName");
-$objListView->ColumnHeaders->Add("ItemType",admin_language("la_ColHeader_ItemType"),1,0,$order,"width=\"20%\"","NewsRelation_LV_Sortfield","NewsRelation_LV_Sortorder","ItemType");
-$objListView->ColumnHeaders->Add("RelationType",admin_language("la_prompt_RelationType"),1,0,$order,"width=\"20%\"","NewsRelation_LV_Sortfield","NewsRelation_LV_Sortorder","RelationType");
-$objListView->ColumnHeaders->Add("Status",admin_language("la_prompt_Status"),1,0,$order,"width=\"10%\"","NewsRelation_LV_Sortfield","NewsRelation_LV_Sortorder","Status");
-$objListView->ColumnHeaders->SetSort($objConfig->Get("NewsRelation_LV_Sortfield"), $objConfig->Get("NewsRelation_LV_Sortorder"));
-
-$objListView->PrintToolBar = FALSE;
-$objListView->SearchBar = TRUE;
-$objListView->SearchKeywords = $SearchWords;
-$objListView->SearchAction="n_rel_search";
-$objListView->CurrentPageVar = "Page_Relations";
-$objListView->PerPageVar = "Perpage_Relations";
-$objListView->CheckboxName = "itemlist[]";
-$objListView->TotalItemCount = $total_records;
-
-$filter = false; // always initialize variables before use
-if($objSession->GetVariable("NewsRelSearchWord") != '') {
- $filter = true;
-}
-else {
- if ($RelView != $Rel_AllValue) {
- $filter = true;
- }
-}
-
-$title = prompt_language("la_Text_Editing")." ".prompt_language("la_Text_Article")." '".$c->Get("Title")."' - ".prompt_language("la_tab_Relations");
-int_header($objListToolBar,NULL,$title);
-if ($objSession->GetVariable("HasChanges") == 1) {
-?>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="toolbar">
- <tr>
- <td valign="top">
- <?php int_hint_red(admin_language("la_Warning_Save_Item")); ?>
- </td>
- </tr>
-</table>
-<?php } ?>
-<?php if ($filter) { ?>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="toolbar">
- <tr>
- <td valign="top">
- <?php int_hint_red(admin_language("la_Warning_Filter")); ?>
- </td>
- </tr>
-</table>
-<?php } ?>
-<FORM method="POST" ACTION="" NAME="permlistform" ID="permlistform">
-<?php
- print $objListView->PrintList();
-?>
-<input type="hidden" name="Action" value="">
-<INPUT TYPE="hidden" NAME="CategoryId" VALUE="<?php echo $c->Get("CategoryId"); ?>">
-<INPUT TYPE="hidden" NAME="SourceId" VALUE = "<?php echo $c->Get("ResourceId"); ?>">
-</FORM>
-<FORM NAME="popup" ID="popup" METHOD="POST" ACTION="addrelation.php?<?php echo $envar; ?>">
- <INPUT TYPE="hidden" NAME="TargetId"><INPUT TYPE="hidden" NAME="TargetType">
- <INPUT TYPE="hidden" NAME="Action" value="m_add_relation_form">
-</FORM>
-<!-- CODE FOR VIEW MENU -->
-<form ID="viewmenu" method="post" action="<?php echo $_SERVER["PHP_SELF"]."?".$envar; ?>" name="viewmenu">
-<input type="hidden" name="fieldname" value="">
-<input type="hidden" name="varvalue" value="">
-<input type="hidden" name="varvalue2" value="">
-<input type="hidden" name="Action" value="">
-</form>
-<FORM NAME="save_edit_buttons" ID="save_edit_buttons" method="POST" ACTION="">
- <input type=hidden NAME="Action" VALUE="save_topic_edit">
- <input type="hidden" name="NewsEditStatus" VALUE="0">
-</FORM>
-
-<FORM ID="ListSearchForm" NAME="ListSearchForm" method="POST" action="<?php echo $_SERVER["PHP_SELF"]."?env=".BuildEnv(); ?>">
- <INPUT TYPE="HIDDEN" NAME="Action" VALUE="">
- <INPUT TYPE="HIDDEN" NAME="list_search">
-</FORM>
-
-<script src="<?php echo $adminURL; ?>/listview/listview.js"></script>
-<script>
-initSelectiorContainers();
-<?php echo $objListToolBar->Get("CheckClass").".setImages();"; ?>
-</script>
-<!-- END CODE-->
-<?php int_footer(); ?>
Property changes on: trunk/in-news/admin/addarticle_relations.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.11
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/addreview.php
===================================================================
--- trunk/in-news/admin/addreview.php (revision 12830)
+++ trunk/in-news/admin/addreview.php (nonexistent)
@@ -1,219 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-
-// new startup: begin
-define('REL_PATH', 'in-news/admin');
-$relation_level = count( explode('/', REL_PATH) );
-define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
-require_once FULL_PATH.'/kernel/startup.php';
-// new startup: end
-
-$pathtolocal = $pathtoroot."kernel/";
-require_once ($pathtoroot.$admin."/include/elements.php");
-require_once ($pathtoroot."kernel/admin/include/navmenu.php");
-require_once($pathtoroot.$admin."/browse/toolbar.php");
-require_once($pathtoroot.$admin."/listview/listview.php");
-
-unset($objEditCat);
-
-$objEditCat = new clsNewsList();
-$objEditCat->SourceTable = $objSession->GetEditTable("News");
-$objEditCat->EnablePaging = FALSE;
-//Multiedit init
-$en = (int)$_GET["en"];
-$objEditCat->Query_Item("SELECT * FROM ".$objEditCat->SourceTable);
-$itemcount=$objEditCat->NumItems();
-$c = $objEditCat->GetItemByIndex($en);
-
-unset($objEditItems);
-
-$objEditItems = new clsItemReviewList();
-$objEditItems->SourceTable = $objSession->GetEditTable("ItemReview");
-
-if(isset($_POST["itemlist"]))
-{
- if(is_array($_POST["itemlist"]))
- {
- $ReviewId = $_POST["itemlist"][0];
- }
- else
- {
- $ReviewId = $_POST["itemlist"];
- }
- $Rev = $objEditItems->GetItem($ReviewId);
- $action = "m_review_edit";
-}
-else
-{
- $Rev = new clsItemReview();
- $Rev->Set("ItemId",$c->Get("ResourceId"));
- $Rev->Set("ItemType",2);
- $Rev->Set("Status",2);
- $Rev->Set("Priority",0);
- $Rev->Set("CreatedById",$objSession->Get("PortalUserId"));
- $Rev->Set("CreatedOn",adodb_date("U"));
- $action = "m_review_add";
-}
-
-$envar = "env=" . BuildEnv() . "&en=$en";
-
-$section = 'in-news:editarticle_review';
-
-$ado = &GetADODBConnection();
-
-
-if(is_numeric($Rev->Get("CreatedById")))
-{
- if($Rev->Get("CreatedById")>0)
- {
- $u = $objUsers->GetUser($Rev->Get("CreatedById"));
- $login_name = $u->Get("Login");
- }
- else
- $login_name = "root";
-}
-else
-{
- if($objSession->Get("PortalUserId")>0)
- {
- $u = $objUsers->Get($objSession->Get("PortalUserId"));
- $login_name = $u->Get("CreatedById");
- }
- else
- $login_name="root";
-}
-
-$title = prompt_language("la_Text_Editing")." ".prompt_language("la_Text_Article")." '".$c->Get("Title")."' - ".prompt_language("la_tab_Reviews")." by ".$login_name;
-
-$objListToolBar = new clsToolBar();
-$objListToolBar->Add("img_save", "la_Save","#","swap('img_save','toolbar/tool_select_f2.gif');", "swap('img_save', 'toolbar/tool_select.gif');","do_save_review('article','in-news/admin/addarticle_reviews.php',0);",$imagesURL."/toolbar/tool_select.gif");
-$objListToolBar->Add("img_cancel", "la_Cancel","#","swap('img_cancel','toolbar/tool_cancel_f2.gif');", "swap('img_cancel', 'toolbar/tool_cancel.gif');","do_save_review('article','in-news/admin/addarticle_reviews.php',-1);",$imagesURL."/toolbar/tool_cancel.gif");
-int_header($objListToolBar,NULL,$title);
-
-if ($objSession->GetVariable("HasChanges") == 1) {
-?>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="toolbar">
- <tr>
- <td valign="top">
- <?php int_hint_red(admin_language("la_Warning_Save_Item")); ?>
- </td>
- </tr>
-</table>
-<?php } ?>
-<TABLE cellSpacing="0" cellPadding="2" width="100%" class="tableborder">
-<FORM ID="article" NAME="article" method="POST" ACTION="">
-<?php int_subsection_title("Review"); ?>
- <tr <?php int_table_color(); ?>>
- <td valign="top" colspan="3"><?php echo prompt_language("la_prompt_Enable_HTML"); ?>
- <input type="checkbox" ID="html_enable" tabindex="1" name="html_enable" value="1" <?php if($Rev->Get("TextFormat")==1) echo "CHECKED"; ?>>
- <br>
- <?php int_hint(prompt_language("la_Warning_Enable_HTML")); ?>
- </td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top"><span class="text"><?php echo prompt_language("la_prompt_ReviewId"); ?></span></td>
- <td>
- <span class="text"><?php echo $Rev->Get("ReviewId"); ?></span>
- </td>
- <td><span class="text">&nbsp;</span></td>
- </tr>
-
- <tr <?php int_table_color(); ?>>
- <td valign="top"><span class="text" ID="prompt_createdby"><?php echo prompt_language("la_prompt_CreatedBy"); ?></span></td>
- <td>
- <span class="text">
- <input type="text" ValidationType="exists" name="createdby" class="text" size="40" value="<?php echo inp_textarea_unescape($login_name); ?>">
- <a href="#">
- <img src="<?php echo $imagesURL; ?>/icon24_link_user.gif" style="cursor:hand" border="0"
- ONCLICK="OpenUserSelector('','','<?php echo $envar; ?>&destform=article&destfield=createdby&IdField=Login&Selector=radio');">
- </a>
- </span>
- </td>
- <td><span class="text">&nbsp;</span></td>
- </tr>
-
-
- <tr <?php int_table_color(); ?>>
- <td valign="top"><SPAN id="prompt_review_body" class="text"><?php echo prompt_language("la_prompt_ReviewText"); ?></SPAN><br>
- <a href="#">
- <img src="<?php echo $imagesURL; ?>/icon24_link_editor.gif" style="cursor:hand" border="0"
- ONCLICK="document.getElementById('html_enable').checked = true; OpenEditor('&section=<?php echo $section; ?>','article','review_body');">
- </a>
- </td>
- <td>
- <textarea rows="8" tabindex="1" ValidationType="exists" name="review_body" id="review_body" cols="70" class="text"><?php echo inp_textarea_unescape(inp_htmlize($Rev->parsetag("review_text"))); ?></textarea>
- </td>
- <td></td>
- </tr>
-
- <?php int_subsection_title("General"); ?>
-
- <tr <?php int_table_color(); ?>>
- <td valign="top" class="text"><?php echo prompt_language("la_prompt_Status"); ?></td>
- <td>
- <input type="radio" tabindex="2" name="status" class="text" value="1" <?php if($Rev->Get("Status") == 1) echo "checked"; ?>><?php echo prompt_language("la_val_Active"); ?>
- <input type="radio" tabindex="2" name="status" class="text" value="2" <?php if($Rev->Get("Status") == 2) echo "checked"; ?>><?php echo prompt_language("la_val_Pending"); ?>
- <input type="radio" tabindex="2" name="status" class="text" value="0" <?php if($Rev->Get("Status") == 0) echo "checked"; ?>><?php echo prompt_language("la_val_Disabled"); ?>
- </td>
- <td class="text">&nbsp;</td>
- </tr>
-
- <tr <?php int_table_color(); ?>>
- <td valign="top" class="text"><?php echo prompt_language("la_prompt_Priority"); ?></td>
- <td>
- <input type="text" tabindex="3" name="review_priority" class="text" size="3" value="<?php echo $Rev->Get("Priority"); ?>">
- </td>
- <td class="text">&nbsp;</td>
- </tr>
-
- <tr <?php int_table_color(); ?>>
- <td valign="top"><SPAN ID="prompt_review_date" class="text"><?php echo prompt_language("la_prompt_CreatedOn"); ?></SPAN></td>
- <td>
- <input type="text" tabindex="4" ValidationType="date" name="review_date" id="review_date_id" datepickerIcon="<?php echo $imagesURL; ?>/ddarrow.gif" class="text" size="20" value="<?php echo $Rev->parsetag("review_created_date"); ?>">
- <span class="small"><?php echo prompt_language("la_prompt_DateFormat"); ?></span></td>
- <td></td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top"><SPAN id="prompt_review_time" class="text"><?php echo prompt_language("la_prompt_CreatedOn_Time"); ?></SPAN></td>
- <td>
- <input type="text" name="review_time" ValidationType="time" tabindex="5" class="text" size="20" value="<?php echo $Rev->parsetag("review_created_time"); ?>">
- <span class="small"><?php echo prompt_language("la_prompt_TimeFormat"); ?></span></td>
- <td></td>
- </tr>
- <INPUT TYPE="hidden" NAME="CreatedById" value = "<?php echo $Rev->Get("CreatedById"); ?>">
- <input type="hidden" name="ReviewId" value ="<?php echo $Rev->Get("ReviewId"); ?>">
- <input type="hidden" name="ItemId" value ="<?php echo $Rev->Get("ItemId"); ?>">
- <input type="hidden" name="ItemType" value ="<?php echo $Rev->Get("ItemType"); ?>">
- <input type="hidden" name="Action" value="<?php echo $action; ?>">
- <input type="hidden" name="NewsEditStatus" VALUE="0">
-</FORM>
-</TABLE>
-<FORM NAME="save_edit_buttons" ID="save_edit_buttons" method="POST" ACTION="">
- <input type=hidden NAME="Action" VALUE="save_cat_edit">
-</FORM>
-<!-- CODE FOR VIEW MENU -->
-<form method="post" action="<?php echo $_SERVER["PHP_SELF"]."?".$envar; ?>" name="viewmenu">
-<input type="hidden" name="fieldname" value="">
-<input type="hidden" name="varvalue" value="">
-<input type="hidden" name="varvalue2" value="">
-<input type="hidden" name="Action" value="">
-</form>
-<script src="<?php echo $adminURL; ?>/include/calendar.js"></script>
-<SCRIPT language="JavaScript">
- initCalendar("review_date_id", CalDateFormat);
- MarkAsRequired(document.getElementById("article"));
-</SCRIPT>
-<!-- END CODE-->
-<?php int_footer(); ?>
Property changes on: trunk/in-news/admin/addreview.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.11
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/advanced_view.php
===================================================================
--- trunk/in-news/admin/advanced_view.php (revision 12830)
+++ trunk/in-news/admin/advanced_view.php (nonexistent)
@@ -1,68 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-global $rootURL, $imagesURL, $adminURL,$admin;
-
-if(!$pathtoroot) die('error: no base path defined');
-
-//$rootURL="http://".ThisDomain().$objConfig->Get("Site_Path");
-
-$localURL=$rootURL."in-news/";
-
-//$imagesURL = $rootURL."admin/images";
-//admin only util
-
-$pathtolocal = $pathtoroot."in-news/";
-
-require_once ($pathtolocal."admin/include/navmenu.php");
-
-
-//Set Environment Variable
-$envar = "env=" . BuildEnv($mod_prefixes);
-
-//Display header
-$section = 'in-news:advanced_view';
-
-?>
-<!-- NEWS -->
-<div id="news" class="ini_tab" isTab="true" tabTitle="News" PrefixSpecial="n" ActionPrefix="n_article_" EditURL="in-news/admin/addarticle">
-
-<table cellSpacing=0 cellPadding=2 width="100%" class="tabTable">
- <tbody>
- <tr>
- <td align="left" width="70%">
- <img height=15 src="<?php echo $imagesURL; ?>/arrow.gif" width=15 align=absMiddle border=0>
- <b class=text><?php echo prompt_language("la_Page"); ?></b> <?php print $objArticleList->GetAdminPageLinkList($_SERVER["PHP_SELF"]); ?>
- </td>
- <td align="right" width="30%">
- <?php ShowSearchForm('n', $envar, 'news'); ?>
-
- </td>
- </tr>
- </tbody>
-</table>
-<br>
-<form name=news_form action="" method=post>
- <input type="hidden" name="Action">
- <table cellSpacing=0 cellPadding=2 width="100%" border=0>
- <tbody>
- <?php
- //print adListArticles($pathtolocal."admin/templates/news_element.tpl");
- print $objArticleList->AdminPrintItems($pathtolocal."admin/templates/news_tab_element_av.tpl");
- ?>
- </tbody>
- </table>
-</form>
-</div>
-<!-- END NEWS -->
Property changes on: trunk/in-news/admin/advanced_view.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.8
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/addarticle_images.php
===================================================================
--- trunk/in-news/admin/addarticle_images.php (revision 12830)
+++ trunk/in-news/admin/addarticle_images.php (nonexistent)
@@ -1,279 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-
-// new startup: begin
-define('REL_PATH', 'in-news/admin');
-$relation_level = count( explode('/', REL_PATH) );
-define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
-require_once FULL_PATH.'/kernel/startup.php';
-// new startup: end
-
-$pathtolocal = $pathtoroot."in-news/";
-require_once ($pathtoroot.$admin."/include/elements.php");
-require_once ($pathtoroot."kernel/admin/include/navmenu.php");
-require_once ($pathtolocal."admin/include/navmenu.php");
-require_once($pathtoroot.$admin."/toolbar.php");
-require_once($pathtoroot.$admin."/listview/listview.php");
-
-
-unset($objEditItems);
-$objEditItems = new clsNewsList();
-$objEditItems->SourceTable = $objSession->GetEditTable("News");
-$objEditItems->EnablePaging = FALSE;
-$en = (int)$_GET["en"];
-$objEditItems->Query_Item("SELECT * FROM ".$objEditItems->SourceTable);
-$itemcount=$objEditItems->NumItems();
-$c = $objEditItems->GetItemByIndex($en);
-$objImageList = new clsImageList();
-$objImageList->SourceTable = $objSession->GetEditTable("Images");
-
-if($itemcount>1)
-{
- if ($en+1 == $itemcount)
- $en_next = -1;
- else
- $en_next = $en+1;
-
- if ($en == 0)
- $en_prev = -1;
- else
- $en_prev = $en-1;
-}
-$action = "m_item_image";
-
-$envar = "env=" . BuildEnv() . "&en=$en";
-$saveURL = $admin."/".$objSession->GetVariable('ReturnScript');
-$section = 'in-news:editarticle_images';
-
-$objListToolBar = new clsToolBar();
-$objListToolBar->Add("img_save", "la_Save","","swap('img_save','toolbar/tool_select_f2.gif');", "swap('img_save', 'toolbar/tool_select.gif');","do_edit_save('save_edit_buttons','".$saveURL."',1);","tool_select.gif");
-$objListToolBar->Add("img_cancel", "la_Cancel","","swap('img_cancel','toolbar/tool_cancel_f2.gif');", "swap('img_cancel', 'toolbar/tool_cancel.gif');","do_edit_save('save_edit_buttons','".$saveURL."',2);","tool_cancel.gif");
-$objListToolBar->Set("section",$section);
-$objListToolBar->Set("load_menu_func","");
-$objListToolBar->Set("CheckClass","PermChecks");
-$objListToolBar->Set("CheckForm","imagelistform");
-
-if($itemcount == 1) $objListToolBar->Add("divider");
-
-//Display header
-$sec = $objSections->GetSection($section);
-
-
-if ( isset($en_prev) || isset($en_next) )
-{
- $url = $RootUrl."in-news/admin/addarticle_images.php";
- $StatusField = "NewsEditStatus";
- $form = "article";
- MultiEditButtons($objListToolBar,$en_next,$en_prev,$form,$StatusField,$url,$sec->Get("OnClick"));
- $objListToolBar->Add("divider");
-}
-
-$listImages = array();
- //$img, $alt, $link, $onMouseOver, $onMouseOut, $onClick
-
-$objListToolBar->Add("new_img", "la_ToolTip_New_Image",$rootURL."in-news/admin/addimage.php?".$envar,"swap('new_img','toolbar/tool_new_image_f2.gif');",
- "swap('new_img', 'toolbar/tool_new_image.gif');",
- "","tool_new_image.gif");
-
-$objListToolBar->Add("img_edit","la_ToolTip_Edit","#", "if (PermChecks.itemChecked()) swap('img_edit','toolbar/tool_edit_f2.gif');",
- "if (PermChecks.itemChecked()) swap('img_edit', 'toolbar/tool_edit.gif');","if (PermChecks.itemChecked()) PermChecks.check_submit('addimage', '');",
- "tool_edit.gif",TRUE,TRUE);
-$listImages[] = "PermChecks.addImage('img_edit','$imagesURL/toolbar/tool_edit.gif','$imagesURL/toolbar/tool_edit_f3.gif',1); ";
-
-$objListToolBar->Add("img_del","la_ToolTip_Delete","#", "if (PermChecks.itemChecked()) swap('img_del','toolbar/tool_delete_f2.gif');",
- "if (PermChecks.itemChecked()) swap('img_del', 'toolbar/tool_delete.gif');","if (PermChecks.itemChecked()) PermChecks.check_submit('addarticle_images', 'm_img_delete');",
- "tool_delete.gif",FALSE,TRUE);
-$listImages[] = "PermChecks.addImage('img_del','$imagesURL/toolbar/tool_delete.gif','$imagesURL/toolbar/tool_delete_f3.gif',1); ";
-
-$objListToolBar->Add("divider");
-
-$objListToolBar->Add("img_move_up","la_ToolTip_Move_Up","#", "if (PermChecks.itemChecked()) swap('img_move_up','toolbar/tool_move_up_f2.gif');",
- "if (PermChecks.itemChecked()) swap('img_move_up', 'toolbar/tool_move_up.gif');","if (PermChecks.itemChecked()) PermChecks.check_submit('addarticle_images', 'm_img_move_up');",
- "tool_move_up.gif",FALSE,TRUE);
-$listImages[] = "PermChecks.addImage('img_move_up','$imagesURL/toolbar/tool_move_up.gif','$imagesURL/toolbar/tool_move_up_f3.gif',1); ";
-
-$objListToolBar->Add("img_move_down","la_ToolTip_Move_Down","#", "if (PermChecks.itemChecked()) swap('img_move_down','toolbar/tool_move_down_f2.gif');",
- "if (PermChecks.itemChecked()) swap('img_move_down', 'toolbar/tool_move_down.gif');","if (PermChecks.itemChecked()) PermChecks.check_submit('addarticle_images', 'm_img_move_down');",
- "tool_move_down.gif",FALSE,TRUE);
-$listImages[] = "PermChecks.addImage('img_move_down','$imagesURL/toolbar/tool_move_down.gif','$imagesURL/toolbar/tool_move_down_f3.gif',1); ";
-
-$objListToolBar->Add("divider");
-
-$objListToolBar->Add("viewmenubutton", "la_ToolTip_View","#","swap('viewmenubutton','toolbar/tool_view_f2.gif'); ",
- "swap('viewmenubutton', 'toolbar/tool_view.gif');",
- "ShowViewMenu();","tool_view.gif");
-
-
-$objListToolBar->AddToInitScript($listImages);
-
-/* ----------------------------------------- Set the View Filter ---------------------------------------- */
-$Img_AllValue = 3;
-$Bit_Enabled=1;
-$Bit_Disabled=2;
-$FilterLabels = array();
-
-$FilterLabels[0] = admin_language("la_Text_Enabled");
-$FilterLabels[1] = admin_language("la_Text_Disabled");
-
-$ImgView = $objConfig->Get("NewsImg_View");
-
-if(!is_numeric($ImgView))
-{
- $ImgView = $Img_AllValue;
-}
-else
-{
- if($ImgView & $Bit_Enabled)
- $Filters[] = "img.Enabled=1";
-
- if($ImgView & $Bit_Disabled)
- $Filters[] = "img.Enabled=0";
-
- if(count($Filters))
- {
- $imgFilter = implode(" OR ",$Filters);
- }
- else
- $imgFilter = "ImageId = -1";
-}
-
-$objListToolBar->AddToInitScript("fwLoadMenus(); \n");
-
-$filter = false; // always initialize variables before use
-if ($ImgView != $Img_AllValue) {
- $filter = true;
-}
-
-
-$title = prompt_language("la_Text_Editing")." ".prompt_language("la_Text_Article")." '".$c->Get("Title")."' - ".prompt_language("la_tab_Images");
-int_header($objListToolBar,NULL, $title);
-if ($objSession->GetVariable("HasChanges") == 1) {
-?>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="toolbar">
- <tr>
- <td valign="top">
- <?php int_hint_red(admin_language("la_Warning_Save_Item")); ?>
- </td>
- </tr>
-</table>
-<?php } ?>
-<?php if ($filter) { ?>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="toolbar">
- <tr>
- <td valign="top">
- <?php int_hint_red(admin_language("la_Warning_Filter")); ?>
- </td>
- </tr>
-</table>
-<?php } ?>
-<form name="imagelistform" ID="imagelistform" action="<?php echo $_SERVER["PHP_SELF"]."?".$envar;?>" method=POST>
-<table cellSpacing="0" cellPadding="2" width="100%" class="tableborder">
-<tbody>
-<?php
-
-$objImageList = new clsImageList();
-$objImageList->SourceTable = $objSession->GetEditTable("Images");
-$sql = "SELECT ELT(img.Enabled+1,'".admin_language("la_Text_Disabled")." ','".admin_language("la_Text_Enabled")." ') as Status, ";
-$sql .="img.AltName as AltName, img.ImageId as ImageId, img.Enabled as Enabled, img.Priority as Priority, ";
-$sql .="concat(img.Name,ELT(img.DefaultImg+1,'','<br>(".admin_language("la_prompt_Primary").") ')) as FullName, ";
-$sql .="if(img.LocalImage=1,'(".admin_language("la_Text_Local").") ',img.Url) as ShowURL, concat( '<IMG src=\"',";
-$sql .="IF (img.LocalThumb=1, CASE WHEN ( LENGTH( img.ThumbPath ) >0 AND img.LocalThumb =1 ) ";
-$sql .="THEN concat('".$rootURL."',img.ThumbPath,'?".adodb_mktime()."' ) END , img.ThumbUrl), '\">') AS Preview ";
-
-$sql .="FROM ".$objImageList->SourceTable." as img WHERE img.ResourceId=".$c->Get("ResourceId");
-
-if(strlen($imgFilter))
- $sql .= " AND ($imgFilter)";
-
-$total_records = QueryCount($sql);
-$objImageList->RefreshPage('Page_Images', $total_records);
-$sql .=" ".GetLimitSQL($objSession->GetVariable("Page_Images"),$objConfig->Get("Perpage_Images"));
-
-$objImageList->Query_item($sql);
-
-if($objSession->HasSystemPermission("DEBUG.LIST"))
- echo htmlentities($sql,ENT_NOQUOTES)."<br>\n";
-
-for($i=0;$i<count($objImageList->Items);$i++)
-{
- $img =& $objImageList->GetItemRefByIndex($i);
- $icon = $imagesURL."/itemicons/icon16_image_disabled.gif";
-
- if($img->Get("Enabled")=="1")
- {
- $icon = $imagesURL."/itemicons/icon16_image.gif";
- }
- $img->Set("Icon",$icon);
-}
-
- $objListView = new clsListView($objListToolBar,$objImageList);
- $objListView->IdField = "ImageId";
- $order = $objConfig->Get("Image_LV_Sortfield");
- $SortOrder=0;
- if($objConfig->Get("Image_LV_Sortorder")=="asc")
- $SortOrder=1;
-
- // $Field="",$Label="",$Searchable=1,$sortfield=0,$asc=1,$width="",$config_field,$config_sortorder,$key=""
- //$objListView->ColumnHeaders->Add("","",0,0,"","","","_blank");
- $objListView->ColumnHeaders->Add("FullName",admin_language("la_ColHeader_Image"),1,0,$order,"width=\"20%\"","NewsImage_LV_Sortfield","NewsImage_LV_Sortorder","FullName");
- $objListView->ColumnHeaders->Add("AltName",admin_language("la_ColHeader_AltValue"),1,0,$order,"width=\"20%\"","NewsImage_LV_Sortfield","NewsImage_LV_Sortorder","AltName");
- $objListView->ColumnHeaders->Add("ShowURL",admin_language("la_ColHeader_Url"),1,0,$order,"width=\"20%\"","NewsImage_LV_Sortfield","NewsImage_LV_Sortorder","ShowURL");
- $objListView->ColumnHeaders->Add("Status",admin_language("la_ColHeader_Enabled"),1,0,$order,"width=\"10%\"","NewsImage_LV_Sortfield","NewsImage_LV_Sortorder","Status");
- $objListView->ColumnHeaders->Add("Preview",admin_language("la_ColHeader_Preview"),1,0,$order,"width=\"30%\"","NewsImage_LV_Sortfield","NewsImage_LV_Sortorder","Preview");
-
- $objListView->ColumnHeaders->SetSort($objConfig->Get("NewsImage_LV_Sortfield"), $objConfig->Get("NewsImage_LV_Sortorder"));
-
- $objListView->PrintToolBar = FALSE;
- $objListView->CurrentPageVar = "Page_Images";
- $objListView->PerPageVar = "Perpage_Images";
- $objListView->CheckboxName = "itemlist[]";
- $objListView->TotalItemCount = $total_records;
-
- for($i=0;$i<count($objImageList->Items);$i++)
- {
- $img =& $objImageList->GetItemRefByIndex($i);
- $objListView->RowIcons[] = $img->Get("Icon");
- }
-
- $objListView->SliceItems();
- print $objListView->PrintList();
-
-?>
- <input TYPE="hidden" NAME="ResourceId" VALUE="<?php echo $c->Get("ResourceId"); ?>">
- <input type="hidden" name="Action" value="m_item_image">
-
-</FORM>
-</TBODY>
-</table>
-<FORM NAME="save_edit_buttons" ID="save_edit_buttons" method="POST" ACTION="">
-
- <input type=hidden NAME="Action" VALUE="save_category_edit">
- <input type="hidden" name="NewsEditStatus" VALUE="0">
-</FORM>
-
-<!-- CODE FOR VIEW MENU -->
-<form ID="viewmenu" method="post" action="<?php echo $_SERVER["PHP_SELF"]."?".$envar; ?>" name="viewmenu">
-<input type="hidden" name="fieldname" value="">
-<input type="hidden" name="varvalue" value="">
-<input type="hidden" name="varvalue2" value="">
-<input type="hidden" name="Action" value="">
-</form>
-<script src="<?php echo $adminURL; ?>/listview/listview.js"></script>
-<script>
-initSelectiorContainers();
-<?php echo $objListToolBar->Get("CheckClass").".setImages();"; ?>
-</script>
-<!-- END CODE-->
-<?php int_footer(); ?>
Property changes on: trunk/in-news/admin/addarticle_images.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.10
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/addrelation.php
===================================================================
--- trunk/in-news/admin/addrelation.php (revision 12830)
+++ trunk/in-news/admin/addrelation.php (nonexistent)
@@ -1,210 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-
-// new startup: begin
-define('REL_PATH', 'in-news/admin');
-$relation_level = count( explode('/', REL_PATH) );
-define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
-require_once FULL_PATH.'/kernel/startup.php';
-// new startup: end
-
-$pathtolocal = $pathtoroot."kernel/";
-require_once ($pathtoroot.$admin."/include/elements.php");
-require_once ($pathtoroot."kernel/admin/include/navmenu.php");
-require_once ($pathtolocal."admin/include/navmenu.php");
-require_once($pathtoroot.$admin."/browse/toolbar.php");
-require_once($pathtoroot.$admin."/listview/listview.php");
-
-unset($objEditCat);
-
-$objEditCat = new clsNewsList();
-$objEditCat->SourceTable = $objSession->GetEditTable("News");
-$objEditCat->EnablePaging = FALSE;
-//Multiedit init
-$en = (int)$_GET["en"];
-$objEditCat->Query_Item("SELECT * FROM ".$objEditCat->SourceTable);
-$itemcount=$objEditCat->NumItems();
-$c = $objEditCat->GetItemByIndex($en);
-
-unset($objEditItems);
-
-$objEditItems = new clsRelationshipList();
-$objEditItems->SourceTable = $objSession->GetEditTable("Relationship");
-
-if(isset($_POST["itemlist"]))
-{
- if(is_array($_POST["itemlist"]))
- {
- $RelationId = $_POST["itemlist"][0];
- }
- else
- {
- $RelationId = $_POST["itemlist"];
- }
- // $Rel = $objEditItems->GetItem($RelationId);
- $Rel = new clsRelationship();
- $Rel->tablename = $objEditItems->SourceTable;
- $Rel->LoadFromDatabase($RelationId);
- //$Rel->LoadExpanded($RelationId);
- $action = "m_edit_relation";
-}
-else
-{
- $Rel = new clsRelationship();
- $Rel->Set("SourceType","2");
- $Rel->Set("SourceId",$c->Get("ResourceId"));
- $Rel->Set("TargetId",$_POST["TargetId"]);
- $Rel->Set("TargetType",$_POST["TargetType"]);
- $Rel->Set("Type","0");
- $Rel->Set("Enabled","1");
- $action = "m_add_relation";
-}
-
-$item = $Rel->GetTargetItemData();
-
-$envar = "env=" . BuildEnv() . "&en=$en";
-
-$section = 'in-news:editarticle_relation';
-
-$ado = &GetADODBConnection();
-
-/* page header */
-$charset = GetRegionalOption('Charset');
-print <<<END
-<html>
-<head>
- <title>In-portal</title>
- <meta http-equiv="content-type" content="text/html;charset=$charset">
- <meta http-equiv="Pragma" content="no-cache">
- <script language="JavaScript">
- imagesPath='$imagesURL'+'/';
- </script>
- <script src="$browseURL/common.js"></script>
- <script src="$browseURL/toolbar.js"></script>
- <script src="$browseURL/utility.js"></script>
- <script src="$browseURL/checkboxes.js"></script>
- <script language="JavaScript1.2" src="$browseURL/fw_menu.js"></script>
- <link rel="stylesheet" type="text/css" href="$browseURL/checkboxes.css">
- <link rel="stylesheet" type="text/css" href="$cssURL/style.css">
- <link rel="stylesheet" type="text/css" href="$browseURL/toolbar.css">
-END;
-
-
-$title = prompt_language("la_Text_Editing")." ".prompt_language("la_Text_Article")." '".$c->Get("Title")."' - ".prompt_language("la_tab_Relations");
-$title .= " ".prompt_language("la_Text_to")." ".$item[$item["TitleField"]];
-
-$objListToolBar = new clsToolBar();
-$objListToolBar->Add("img_save", "la_Save","#","swap('img_save','toolbar/tool_select_f2.gif');", "swap('img_save', 'toolbar/tool_select.gif');","do_edit_save('article','NewsEditStatus','in-news/admin/addarticle_relations.php',0);",$imagesURL."/toolbar/tool_select.gif");
-$objListToolBar->Add("img_cancel", "la_Cancel","#","swap('img_cancel','toolbar/tool_cancel_f2.gif');", "swap('img_cancel', 'toolbar/tool_cancel.gif');","do_edit_save('article','NewsEditStatus','in-news/admin/addarticle_relations.php',-1);",$imagesURL."/toolbar/tool_cancel.gif");
-
-int_header($objListToolBar,NULL,$title);
-if ($objSession->GetVariable("HasChanges") == 1) {
-?>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="toolbar">
- <tr>
- <td valign="top">
- <?php int_hint_red(admin_language("la_Warning_Save_Item")); ?>
- </td>
- </tr>
-</table>
-<?php } ?>
-<TABLE cellSpacing="0" cellPadding="2" width="100%" class="tableborder">
-<FORM ID="article" NAME="article" method="POST" ACTION="">
-<?php int_subsection_title("Relation"); ?>
- <TR <?php int_table_color(); ?> >
- <TD>
- <span class="text"><?php echo prompt_language("la_prompt_RelationId"). ":</span></TD><TD>".$Rel->Get("RelationshipId"); ?>
- </TD>
- <TD>&nbsp;</TD>
-</TR>
-
-<TR <?php int_table_color(); ?> >
- <TD><span class="text"><?php echo prompt_language("la_prompt_Item"); ?></SPAN></TD>
- <TD>
- <IMG src="<?php echo $Rel->Admin_Icon(); ?>" align="absmiddle"><SPAN id="TargetName"><?php echo $item[$item["TitleField"]]; ?></SPAN> <SPAN ID="TargetTypeName">(<?php echo prompt_language("la_Text_".$item["SourceTable"]); ?>)</SPAN>
- </TD>
- <TD>&nbsp;</TD>
-</TR>
-<TR <?php int_table_color(); ?> >
- <TD><span class="text"><?php echo prompt_language("la_prompt_Type"); ?></SPAN></TD>
- <TD>
-
-<?php
- $Recip = "";
- $OneWay = "";
- if($Rel->Get("Type")=="1")
- {
- $Recip = " CHECKED";
- }
- else
- $OneWay = " CHECKED";
-?>
- <input type="radio" tabindex="1" name="RelType" VALUE=1 <?php echo $Recip; ?>><?php echo prompt_language("la_Text_Reciprocal"); ?>
- <input type="radio" tabindex="1" name="RelType" VALUE=0 <?php echo $OneWay; ?>><?php echo prompt_language("la_Text_OneWay"); ?>
- </TD>
- <TD>&nbsp;</TD>
-</TR>
-
- <TR <?php int_table_color(); ?> >
- <TD><span class="text"><?php echo prompt_language("la_prompt_Enabled"); ?></SPAN></TD>
- <TD>
- <?php
- $checked = "";
- if($Rel->Get("Enabled")=="1")
- {
- $checked = " CHECKED";
- }
- ?>
- <input type="checkbox" tabindex="2" VALUE="1" name="Enabled" <?php echo $checked; ?>>
- </TD>
- <TD>&nbsp;</TD>
-</TR>
-<TR <?php int_table_color(); ?> >
- <TD><span class="text"><?php echo prompt_language("la_prompt_Priority"); ?></SPAN></TD>
- <TD>
- <INPUT TYPE="TEXT" tabindex="3" SIZE="5" NAME="priority" VALUE="<?php echo $Rel->Get("Priority"); ?>">
- </TD>
- <TD>&nbsp;</TD>
-</TR>
- <input type="hidden" name="TargetId" value ="<?php echo $Rel->Get("TargetId"); ?>">
- <input type="hidden" name="TargetType" value ="<?php echo $Rel->Get("TargetType"); ?>">
- <input type="hidden" name="SourceType" value ="<?php echo $Rel->Get("SourceType"); ?>">
- <input type="hidden" name="SourceId" value ="<?php echo $c->Get("ResourceId"); ?>">
- <INPUT TYPE="hidden" NAME="RelationshipId" VALUE="<?php echo $Rel->Get("RelationshipId"); ?>">
- <input type="hidden" name="Action" value="<?php echo $action; ?>">
- <input type="hidden" name="NewsEditStatus" VALUE="0">
-</FORM>
-</TABLE>
-
-<FORM NAME="save_edit_buttons" ID="save_edit_buttons" method="POST" ACTION="">
- <tr <?php int_table_color(); ?>>
- <td colspan="3">
- <input type=hidden NAME="Action" VALUE="save_cat_edit">
- <input type="hidden" name="NewsEditStatus" VALUE="0">
- </td>
- </tr>
-</FORM>
-
-
-<!-- CODE FOR VIEW MENU -->
-<form method="post" action="<?php echo $_SERVER["PHP_SELF"]."?".$envar; ?>" name="viewmenu">
-<input type="hidden" name="fieldname" value="">
-<input type="hidden" name="varvalue" value="">
-<input type="hidden" name="varvalue2" value="">
-<input type="hidden" name="Action" value="">
-</form>
-<!-- END CODE-->
-
-<?php int_footer(); ?>
Property changes on: trunk/in-news/admin/addrelation.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.7
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/images/icon16_article_attn.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/icon16_article_attn.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images/icon16_article_deleted.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/icon16_article_deleted.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images/icon16_article_pick.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/icon16_article_pick.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images/tool_new_news_f2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/tool_new_news_f2.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images/tool_new_news_f3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/tool_new_news_f3.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images/icon16_article_hot.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/icon16_article_hot.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images/icon16_article_pop.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/icon16_article_pop.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images/icon16_article_top.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/icon16_article_top.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images/icon16_article_denied.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/icon16_article_denied.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images/icon16_article.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/icon16_article.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images/tool_new_news.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/tool_new_news.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images/icon16_article_new.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/icon16_article_new.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images/icon16_article_pending.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/icon16_article_pending.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images/icon16_article_disabled.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin/images/icon16_article_disabled.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin/images
===================================================================
--- trunk/in-news/admin/images (revision 12830)
+++ trunk/in-news/admin/images (nonexistent)
Property changes on: trunk/in-news/admin/images
___________________________________________________________________
Deleted: svn:ignore
## -1 +0,0 ##
-Thumbs.db
Index: trunk/in-news/admin/reviews.php
===================================================================
--- trunk/in-news/admin/reviews.php (revision 12830)
+++ trunk/in-news/admin/reviews.php (nonexistent)
@@ -1,72 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-global $rootURL, $imagesURL, $adminURL,$admin;
-
-if(!$pathtoroot) die('error: no base path defined');
-
-//$rootURL="http://".ThisDomain().$objConfig->Get("Site_Path");
-
-$localURL=$rootURL."in-news/";
-
-//$imagesURL = $rootURL."admin/images";
-//admin only util
-
-$pathtolocal = $pathtoroot."in-news/";
-
-require_once ($pathtolocal."admin/include/navmenu.php");
-
-
-//Set Environment Variable
-$envar = "env=" . BuildEnv($mod_prefixes);
-
-//Display header
-$section = 'in-news:reviews';
-
-if( $objSession->HasCatPermission("NEWS.VIEW") )
-{
-?>
-<!-- NEWS -->
-<div id="news_reviews" class="ini_tab" isTab="true" tabTitle="News" PrefixSpecial="rev.articles" ActionPrefix="m_review_direct_" EditURL="admin/addreview_direct">
-
-<table cellSpacing=0 cellPadding=2 width="100%" class="tabTable">
- <tbody>
- <tr>
- <td align="left" width="70%">
- <img height=15 src="<?php echo $imagesURL; ?>/arrow.gif" width=15 align=absMiddle border=0>
- <b class=text><?php echo prompt_language("la_Page"); ?></b> <?php print $objArticleReviewList->GetAdminPageLinkList($_SERVER["PHP_SELF"]); ?>
- </td>
- <td align="right" width="30%">
- <?php ShowSearchForm('n', $envar, 'news_reviews','_review_direct_search'); ?>
- </td>
- </tr>
- </tbody>
-</table>
-<br>
-<form name=news_reviews_form action="" method=post>
- <input type="hidden" name="Action">
- <table cellSpacing=0 cellPadding=2 width="100%" border=0>
- <tbody>
- <?php
- //print adListArticles($pathtolocal."admin/templates/news_element.tpl");
- print $objArticleReviewList->AdminPrintItems($pathtolocal."admin/templates/news_review_element.tpl");
- ?>
- </tbody>
- </table>
-</form>
-</div>
-<!-- END NEWS -->
-<?php
-}
-?>
Property changes on: trunk/in-news/admin/reviews.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/addarticle_reviews.php
===================================================================
--- trunk/in-news/admin/addarticle_reviews.php (revision 12830)
+++ trunk/in-news/admin/addarticle_reviews.php (nonexistent)
@@ -1,309 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-
-// new startup: begin
-define('REL_PATH', 'in-news/admin');
-$relation_level = count( explode('/', REL_PATH) );
-define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
-require_once FULL_PATH.'/kernel/startup.php';
-// new startup: end
-
-$pathtolocal = $pathtoroot."in-news/";
-require_once ($pathtoroot.$admin."/include/elements.php");
-require_once ($pathtoroot."kernel/admin/include/navmenu.php");
-require_once ($pathtolocal."admin/include/navmenu.php");
-require_once($pathtoroot.$admin."/toolbar.php");
-require_once($pathtoroot.$admin."/listview/listview.php");
-
-unset($objEditItems);
-$objEditItems = new clsNewsList();
-$objEditItems->SourceTable = $objSession->GetEditTable("News");
-$objEditItems->EnablePaging = FALSE;
-$objReviewList = new clsItemReviewList();
-$objReviewList->SourceTable = $objSession->GetEditTable("ItemReview");
-
-$en = (int)GetVar('en');
-$objEditItems->Query_Item("SELECT * FROM ".$objEditItems->SourceTable);
-$itemcount=$objEditItems->NumItems();
-$c = $objEditItems->GetItemByIndex($en);
-if($itemcount>1)
-{
- if ($en+1 == $itemcount)
- $en_next = -1;
- else
- $en_next = $en+1;
- if ($en == 0)
- $en_prev = -1;
- else
- $en_prev = $en-1;
-}
-
-//Set Section
-$section = 'in-news:editarticle_reviews';
-
-//Set Environment Variable
-$envar = "env=" . BuildEnv() . "&en=$en";
-$saveURL = $admin."/".$objSession->GetVariable('ReturnScript');
-
-$objListToolBar = new clsToolBar();
-$objListToolBar->Add("img_save", "la_Save","#","swap('img_save','toolbar/tool_select_f2.gif');", "swap('img_save', 'toolbar/tool_select.gif');","do_edit_save('article','".$saveURL."',1);","tool_select.gif");
-$objListToolBar->Add("img_cancel", "la_Cancel","#","swap('img_cancel','toolbar/tool_cancel_f2.gif');", "swap('img_cancel', 'toolbar/tool_cancel.gif');","do_edit_save('article','".$saveURL."',2);","tool_cancel.gif");
-if($itemcount == 1) $objListToolBar->Add("divider");
-
-$objListToolBar->Set("section",$section);
-$objListToolBar->Set("load_menu_func","");
-$objListToolBar->Set("CheckClass","RevChecks");
-$objListToolBar->Set("CheckForm","article");
-
-//Display header
-$sec = $objSections->GetSection($section);
-
-if ( isset($en_prev) || isset($en_next) )
-{
- $url = $RootUrl."/in-news/admin/addarticle_reviews.php";
- $StatusField = "NewsEditStatus";
- $form = "article";
- MultiEditButtons($objListToolBar,$en_next,$en_prev,$form,$StatusField,$url,$sec->Get("OnClick"));
- $objListToolBar->Add("divider");
-}
-
-$listImages = array();
- //$img, $alt, $link, $onMouseOver, $onMouseOut, $onClick
-
-$objListToolBar->Add("new_review", "la_ToolTip_New_Review",$rootURL."in-news/admin/addreview.php?".$envar,"swap('new_review','toolbar/tool_new_review_f2.gif');",
- "swap('new_review', 'toolbar/tool_new_review.gif');",
- "","tool_new_review.gif");
-
-$objListToolBar->Add("review_edit","la_ToolTip_Edit","#", "if (RevChecks.itemChecked()) swap('review_edit','toolbar/tool_edit_f2.gif');",
- "if (RevChecks.itemChecked()) swap('review_edit', 'toolbar/tool_edit.gif');","if (RevChecks.itemChecked()) RevChecks.check_submit('addreview', '');",
- "tool_edit.gif");
-$listImages[] = "RevChecks.addImage('review_edit','$imagesURL/toolbar/tool_edit.gif','$imagesURL/toolbar/tool_edit_f3.gif',1); ";
-
-$objListToolBar->Add("review_del","la_ToolTip_Delete","#", "if (RevChecks.itemChecked()) swap('review_del','toolbar/tool_delete_f2.gif');",
- "if (RevChecks.itemChecked()) swap('review_del', 'toolbar/tool_delete.gif');","if (RevChecks.itemChecked()) RevChecks.check_submit('addarticle_reviews', 'm_review_delete');",
- "tool_delete.gif");
-$listImages[] = "RevChecks.addImage('review_del','$imagesURL/toolbar/tool_delete.gif','$imagesURL/toolbar/tool_delete_f3.gif',1); ";
-
-$objListToolBar->Add("divider");
-
-$objListToolBar->Add("rev_move_up","la_ToolTip_Move_Up","#", "if (RevChecks.itemChecked()) swap('rev_move_up','toolbar/tool_move_up_f2.gif');",
- "if (RevChecks.itemChecked()) swap('rev_move_up', 'toolbar/tool_move_up.gif');","if (RevChecks.itemChecked()) RevChecks.check_submit('addarticle_reviews', 'm_review_move_up');",
- "tool_move_up.gif");
-$listImages[] = "RevChecks.addImage('rev_move_up','$imagesURL/toolbar/tool_move_up.gif','$imagesURL/toolbar/tool_move_up_f3.gif',1); ";
-
-$objListToolBar->Add("rev_move_down","la_ToolTip_Move_Down","#", "if (RevChecks.itemChecked()) swap('rev_move_down','toolbar/tool_move_down_f2.gif');",
- "if (RevChecks.itemChecked()) swap('rev_move_down', 'toolbar/tool_move_down.gif');","if (RevChecks.itemChecked()) RevChecks.check_submit('addarticle_reviews', 'm_review_move_down');",
- "tool_move_down.gif");
-$listImages[] = "RevChecks.addImage('rev_move_down','$imagesURL/toolbar/tool_move_down.gif','$imagesURL/toolbar/tool_move_down_f3.gif',1); ";
-
-$objListToolBar->Add("divider");
-$objListToolBar->Add("viewmenubutton", "la_ToolTip_View","#","swap('viewmenubutton','toolbar/tool_view_f2.gif'); ",
- "swap('viewmenubutton', 'toolbar/tool_view.gif');",
- "ShowViewMenu();","tool_view.gif");
-
-$objListToolBar->AddToInitScript($listImages);
-$objListToolBar->AddToInitScript("fwLoadMenus(); \n");
-
-// For filter warning
-$Bit_Pending=4;
-$Bit_Disabled=2;
-$Bit_Valid=1;
-$Bit_All = 7;
-
-/* determine current view menu settings */
-$UserView = $objConfig->Get("NewsRev_View");
-
-if(!is_numeric($UserView))
-{
- $UserView = $Bit_All; //Set all bits ON
- $UserFilter = "";
-}
-
-$filter = false; // always initialize variables before use
-if($objSession->GetVariable("NewsRevSearchWord") != '') {
- $filter = true;
-}
-else {
- if ($UserView != $Bit_All) {
- $filter = true;
- }
-}
-
-$title = prompt_language("la_Text_Editing")." ".prompt_language("la_Text_Article")." '".$c->Get("Title")."' - ".prompt_language("la_tab_Reviews");
-
-int_header($objListToolBar,NULL, $title);
-if ($objSession->GetVariable("HasChanges") == 1) {
-?>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="toolbar">
- <tr>
- <td valign="top">
- <?php int_hint_red(admin_language("la_Warning_Save_Item")); ?>
- </td>
- </tr>
-</table>
-<?php } ?>
-<?php if ($filter) { ?>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="toolbar">
- <tr>
- <td valign="top">
- <?php int_hint_red(admin_language("la_Warning_Filter")); ?>
- </td>
- </tr>
-</table>
-<?php } ?>
-<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
-<form ID ="article" name="article" action="" method=POST>
-<?php
-
-$objReviewList->itemID=$c->Get("ResourceId");
-
-$pre = GetTablePrefix();
-$time = is12HourMode() ? '%r' : '%T';
-
-$sql = "SELECT r.ReviewText as ReviewText, r.CreatedOn as CreatedOn,";
-$sql .=" ELT(r.Status+1,'".admin_language("la_Text_Disabled")."','".admin_language("la_Text_Enabled")."','";
-$sql .= admin_language("la_Text_Pending")."') as ReviewStatus, r.Priority as Priority, r.ReviewId as ReviewId, r.CreatedById as ReviewerId, ";
-$sql .= "FROM_UNIXTIME(r.CreatedOn,'%m-%d-%Y $time') as DatePosted, pu.Login as Reviewer, r.Status FROM ".$objReviewList->SourceTable." as r ";
-$sql .= "LEFT JOIN ".$pre."PortalUser as pu ON (pu.PortalUserId = r.CreatedById) ";
-$sql .= "WHERE r.ItemId=".$c->Get("ResourceId");
-
-if(strlen($RevFilter))
-{
- $sql .= " AND (".$RevFilter.")";
-}
-
-$SearchWords = $objSession->GetVariable("NewsRevSearchWord");
-
-if(strlen($SearchWords))
-{
- $where = $objReviewList->AdminSearchWhereClause($SearchWords);
-}
-else
- $where = "";
-
-if(strlen($where))
- $sql .= " AND ($where) ";
-
-if(strlen(trim($objConfig->Get("NewsReview_LV_Sortfield"))))
-{
- $order = " ORDER BY Priority DESC, ".$objConfig->Get("NewsReview_LV_Sortfield")." ".$objConfig->Get("NewsReview_LV_Sortorder");
-}
-else
-{
- $order = " ORDER BY Priority DESC, CreatedOn DESC";
-}
-
-$total_records = QueryCount('SELECT * FROM '.$objReviewList->SourceTable.' WHERE ItemId='.$c->Get('ResourceId') );
-$objReviewList->RefreshPage('Page_Reviews', $total_records);
-
-$sql .= $order." ".$objReviewList->GetLimitSQL();
-
-if($objSession->HasSystemPermission("DEBUG.LIST"))
- echo htmlentities($sql,ENT_NOQUOTES)."<br>\n";
-
-$objListView = new clsListView($objListToolBar);
-$objListView->CurrentPageVar = "Page_Reviews";
-$objListView->PerPageVar = "Perpage_Reviews";
-
-$objReviewList->Query_Item($sql); // , $objListView->GetLimitSQL()
-
-$SortOrder = $objConfig->Get("NewsReview_LV_Sortorder");
-if(!strlen($SortOrder))
- $SortOrder = "desc";
-
-$SortField = $objConfig->Get("NewsReview_LV_Sortfield");
-if(!strlen($SortField))
- $SortField = "CreatedOn";
-
-for($i=0;$i<count($objReviewList->Items);$i++)
-{
- if($objReviewList->Items[$i]->Get("ReviewerId")==-1)
- {
- $objReviewList->Items[$i]->Set("Reviewer","root");
- }
- $rt = $objReviewList->Items[$i]->Get("ReviewText");
-// $rt = stripslashes($rt);
- if(strlen($rt)>100)
- {
- $rt = substr($rt,0,100);
- $rt .= " ...";
- }
- $objReviewList->Items[$i]->Set("ReviewText",$rt);
-
- /* Do review Icons */
- $img = &$objReviewList->GetItemRefByIndex($i);
- if(is_numeric($img->Get('Status')))
- {
- $img_map=Array(0=>'icon16_review_disabled.gif',1=>'icon16_review.gif',2=>'icon16_review_pending.gif');
- $img->Set('Icon',$rootURL.'admin/images/itemicons/'.$img_map[ $img->Get('Status') ]);
- }
-
-}
-
-$objListView->SetListItems(&$objReviewList);
-$objListView->IdField = "ReviewId";
-$objListView->PageLinkTemplate = $pathtoroot.$admin."/templates/user_page_link.tpl";
-
-/* Initialize the Icons */
-for($i=0;$i<count($objReviewList->Items);$i++)
-{
- $img = &$objReviewList->GetItemRefByIndex($i);
- $objListView->RowIcons[] = $img->Get("Icon");
-}
-
-$objListView->ColumnHeaders->Add("ReviewText",admin_language("la_prompt_ReviewText"),1,0,$order,"width=\"50%\"","NewsReview_LV_Sortfield","NewsReview_LV_Sortorder","ReviewText");
-$objListView->ColumnHeaders->Add("Reviewer",admin_language("la_Prompt_ReviewedBy"),1,0,$order,"width=\"20%\"","NewsReview_LV_Sortfield","NewsReview_LV_Sortorder","Reviewer");
-$objListView->ColumnHeaders->Add("DatePosted",admin_language("la_prompt_CreatedOn"),1,0,$order,"width=\"20%\"","NewsReview_LV_Sortfield","NewsReview_LV_Sortorder","CreatedOn");
-$objListView->ColumnHeaders->Add("ReviewStatus",admin_language("la_prompt_Status"),1,0,$order,"width=\"10%\"","NewsReview_LV_Sortfield","NewsReview_LV_Sortorder","ReviewStatus");
-$objListView->ColumnHeaders->SetSort($objConfig->Get("NewsReview_LV_Sortfield"), $objConfig->Get("NewsReview_LV_Sortorder"));
-
-$objListView->PrintToolBar = FALSE;
-$objListView->SearchBar = TRUE;
-$objListView->SearchKeywords = $SearchWords;
-$objListView->SearchAction="n_review_search";
-$objListView->CheckboxName = "itemlist[]";
-$objListView->TotalItemCount = $total_records;
-$objListView->extra_env='en='.(int)GetVar('en');
-
-
- print $objListView->PrintList();
-
-?>
- <input type = "hidden" name="ResourceId" value="<?php echo $c->get("ResourceId"); ?>">
- <input type = "hidden" name="Action" value="update_reviews">
- <input type="hidden" name="NewsEditStatus" VALUE="0">
-
- </FORM>
-</table>
-<!-- CODE FOR VIEW MENU -->
-<form ID="viewmenu" method="post" action="<?php echo $_SERVER["PHP_SELF"]."?".$envar; ?>" name="viewmenu">
-<input type="hidden" name="fieldname" value="">
-<input type="hidden" name="varvalue" value="">
-<input type="hidden" name="varvalue2" value="">
-<input type="hidden" name="Action" value="">
-</form>
-<FORM ID="ListSearchForm" NAME="ListSearchForm" method="POST" action="<?php echo $_SERVER["PHP_SELF"]."?env=".BuildEnv(); ?>">
- <INPUT TYPE="HIDDEN" NAME="Action" VALUE="">
- <INPUT TYPE="HIDDEN" NAME="list_search">
- <input type="hidden" name="en" value="<?php echo GetVar('en'); ?>">
-</FORM>
-
-<script src="<?php echo $rootURL; ?>admin/listview/listview.js"></script>
-<script>
-initSelectiorContainers();
-<?php echo $objListToolBar->Get("CheckClass").".setImages();"; ?>
-</script>
-<!-- END CODE-->
-<?php int_footer(); ?>
Property changes on: trunk/in-news/admin/addarticle_reviews.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.11
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/item_select.php
===================================================================
--- trunk/in-news/admin/item_select.php (revision 12830)
+++ trunk/in-news/admin/item_select.php (nonexistent)
@@ -1,182 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-// MAY BE NOT IN USE
-// new startup: begin
-define('REL_PATH', 'in-news/admin');
-$relation_level = count( explode('/', REL_PATH) );
-define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
-require_once FULL_PATH.'/kernel/startup.php';
-// new startup: end
-
-$pathtolocal = $pathtoroot."kernel/";
-require_once ($pathtoroot.$admin."/include/elements.php");
-require_once ($pathtoroot."kernel/admin/include/navmenu.php");
-require_once ($pathtolocal."admin/include/navmenu.php");
-require_once($pathtoroot.$admin."/toolbar.php");
-//Set Section
-
-$section = 'inportal:item_select';
-
-//Set Environment Variable
-$envar = "env=" . BuildEnv();
-
-echo $envar."<br>\n";
-//$targetform= $_GET["destform"];
-//$targetfield= $_GET["destfield"];
-$homeenv=HomeEnv();
-$linkup=UpEnv();
-
-$objCatToolBar = new clsToolBar();
-$objCatToolBar->Set("section","inportal:browse");
-$objCatToolBar->Set("load_menu_func","");
-$objCatToolBar->Set("CheckClass","");
-
-$catImages = array();
- //$img, $alt, $link, $onMouseOver, $onMouseOut, $onClick
-$objCatToolBar->Add("up","Up","javascript:DoCatNav('".$linkup."');", "swap('up','tool_up_1.gif');","swap('up', 'tool_up.gif');","");
-$objCatToolBar->Add("home","Home", "javascript:DoCatNav('$homeenv'); ","swap('home','tool_home_1.gif');","swap('home', 'tool_home.gif');","");
-$objCatToolBar->Add("divider");
-
-//$objCatToolBar->Add("newcat", "New Category","category/addcategory.php?$envar&new=1","swap('newcat','tool_newcat_1.gif');",
-// "swap('newcat', 'tool_newcat.gif');","");
-
-//$objCatToolBar->Add("divider");
-
-//$objCatToolBar->Add("cat_view", "View", "#","swap('cat_view','tool_view_1.gif');",
-// "swap('cat_view', 'tool_view.gif');FW_startTimeout();",
-// "window.FW_showMenu(window.cat_fw_menu_0,getRealLeft(cat_view),getRealTop(cat_view)+32);status=''; return true;",
-// "tool_view");
-
-$objCatToolBar->AddToInitScript($catImages);
-
-//Display header
-
-int_header($objCatToolBar);
-
-if(strlen($_GET["values"]))
-{
- $current_value = explode(",",$_GET["values"]);
-}
-?>
-<!-- CATEGORY NAVIGATOR -->
-
-<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#E0E0DA">
- <tr>
- <td><img src="<?php echo $imagesURL; ?>/arrow.gif" border="0" width="15" height="15" align="absmiddle"><b class="text"><span class="navbar"> <?php echo m_navbar(1); ?></span></b></td>
- </tr>
-</table>
-
-<H1 CLASS="selector"><?php echo $_GET["title"]; ?></H1>
-
-<!-- CATEGORY DIVIDER -->
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
-
- <tr>
- <?php
- if($m_tab_CatTab_hide!=1)
- {
- $divimage="/divider_up.gif";
- }
- else
- $divimage="/divider_dn.gif";
- ?>
- <td width="19" height="21" class="divider_tab"><img src="<?php print $imagesURL.$divimage; ?>" border="0" width="20" height="20" onClick="config_val('m_tab_CatTab_hide',flip(m_tab_CatTab_hide));"></td>
- <td nowrap class="divider_tab">Categories: <span class="cats_stats">(<?php echo m_cat_num(); ?>)</span></td>
- <td width="19" height="21" class="divider_tab"><img src="<?php print $imagesURL; ?>/divider_right.gif" border="0" width="20" height="20"></td>
- <td width="100%"></td>
- </tr>
- <tr class="divider">
- <td colspan="4"><img src="<?php print $imagesURL; ?>/spacer.gif" border="0" width="1" height="1"></td>
- </tr>
-</table>
-<!-- CATEGORY OUTPUT START -->
-<?php
-
-print adListCats_Selector($objCatList->CurrentCategoryID());
-
-if(is_array($current_value))
-{
- for($i=0;$i<count($current_value);$i++)
- {
- $values[] = "CategoryChecks.CheckList.push(".$current_value[$i].");\n CategoryChecks.CheckValues[".$current_value[$i]."]=1;";
- }
- $cats = implode("\n", $values);
- $o ="
- <script language=\"javascript\">
- <!--
- $cats
- //-->
- </script>
- ";
- print $o;
-}
-?>
-<!-- CATEGORY OUTPUT END -->
-
-
-<?php
-
- $m = GetModuleArray();
- foreach($m as $key=>$value)
- {
- //$path = $pathtoroot.$value."admin/cat_select.php";
- //if(file_exists($path))
- // include_once($path);
- }
-
-?>
-<!-- CODE FOR VIEW MENU -->
-<form method="post" action="browse.php?env=<?php echo BuildEnv(); ?>" name="viewmenu">
-<input type="hidden" name="fieldname" value="">
-<input type="hidden" name="varvalue" value="">
-<input type="hidden" name="varvalue2" value="">
-<input type="hidden" name="Action" value="">
-</form>
-<!-- END CODE-->
-
-<FORM method="POST" ACTION="" NAME="catnav">
-<INPUT TYPE="HIDDEN" NAME="TargetAction" VALUE="<?php echo $_POST["TargetAction"]; ?>">
-<INPUT TYPE="HIDDEN" NAME="SourceId" VALUE="<?php echo $_POST["SourceId"]; ?>">
-<INPUT TYPE="HIDDEN" NAME="SourceType" VALUE="<?php echo $_POST["SourceType"]; ?>">
-<input type="HIDDEN" name="TargetType" VALUE="<?php echo $_POST["TargetType"]; ?>">
-</FORM>
-<!-- ARTICLE OUTPUT BEGIN -->
- <form method=post action="" name="newslistform">
- <input type="hidden" name="Action" value="<?php echo $_POST["TargetAction"]; ?>">
-<?php
- foreach($_POST as $key=>$value)
- {
- print "<INPUT TYPE=hidden NAME=\"$key\" VALUE=\"$value\">";
- }
- print "<INPUT TYPE=hidden NAME=\"TargetType\" VALUE=\"2\">";
- print adListArticles($objCatList->CurrentCategoryID(),$pathtoroot.$admin."/templates/news_res_element.tpl");
- print n_news_nav_admin();
-?>
-
-<br><CENTER>
-<TABLE BORDER=0>
-<TR><TD>
-<INPUT TYPE="BUTTON" CLASS="button" Value="Cancel" ONCLICK="window.close();">
-</TD>
-<TD WIDTH=100>
-<TD>
-<b><INPUT TYPE="SUBMIT" CLASS="button" Value="Select" ONCLICK="window.opener.navigate(window.opener.location); //window.close();"></B>
-</TD>
-</TR>
-</TABLE>
-</CENTER>
-</form>
-
- <?php int_footer(); ?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/item_select.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/addarticle.php
===================================================================
--- trunk/in-news/admin/addarticle.php (revision 12830)
+++ trunk/in-news/admin/addarticle.php (nonexistent)
@@ -1,717 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-
-// new startup: begin
-define('REL_PATH', 'in-news/admin');
-$relation_level = count( explode('/', REL_PATH) );
-define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
-require_once FULL_PATH.'/kernel/startup.php';
-// new startup: end
-
-$pathtolocal = $pathtoroot."in-news/";
-require_once ($pathtoroot.$admin."/include/elements.php");
-require_once ($pathtoroot."kernel/admin/include/navmenu.php");
-require_once ($pathtolocal."admin/include/navmenu.php");
-require_once($pathtoroot.$admin."/toolbar.php");
-
-unset($objEditItems);
-
-$objEditItems = new clsNewsList();
-$objEditItems->SourceTable = $objSession->GetEditTable("News");
-$objEditItems->EnablePaging = FALSE;
-
-$objRelList = new clsRelationshipList();
-$objReviewList = new clsItemReviewList();
-
-$application->SetVar('n_mode', 't');
-$objCustomFields = new clsCustomFieldList(2);
-$objCustomDataList = new clsCustomDataList();
-$objImages = new clsImageList();
-
-//Multiedit init
-if ($_GET["new"] == 1)
-{
- $c = new clsNews(NULL);
- $c->Set("CreatedOn", adodb_mktime());
-// echo "val: ".$objConfig->Get("News_Archive")."<br>\n";
- if($objConfig->Get("News_Archive")>0)
- {
- $e = ((int)$objConfig->Get("News_Archive")*86400) + (int)adodb_date("U");
- $c->Set("EndOn", $e);
- }
- else
- $c->Set("EndOn",0);
- $c->Set("StartDate",0);
- $c->Set("CategoryId",$objCatList->CurrentCategoryID());
- $c->Set("HotItem",2);
- $c->Set("NewItem",2);
- $c->Set("PopItem",2);
- $c->Set("Status",2);
- $c->Set('AutomaticFilename', 1);
- $c->Set("TextFormat",1); //html enabled
- if($objSession->Get("PortalUserId")>0)
- {
- $u = $objUsers->GetUser($objSession->Get("PortalUserId"));
- $c->Set("Author",$u->Get("Login"));
- }
- else
- {
- $c->Set("Author","root");
- }
- $en = 0;
- $action = "n_add_article";
- $objArticleList->CreateEmptyEditTable("NewsId");
- $objRelList->CreateEmptyEditTable("SourceId");
- $objCustomDataList->CreateEmptyEditTable('n');
- $objArticleList->CreateEmptyCatListTable("ItemResourceId");
- $objReviewList->CreateEmptyEditTable("ReviewId");
- $objImages->CreateEmptyEditTable("ResourceId");
-
- $TitleVerb = prompt_language("la_Text_Adding");
- $Org = NULL;
-}
-else
-{
- $env_id=$n_var_list['id'];
- if($env_id) $_POST['newslist']=Array($env_id);
-
- $en = (int)$_GET["en"];
- if($_GET["item"])
- {
- if($_GET["newsession"]==1)
- {
- $objSession->CopyToNewSession();
- $objEditItems->SourceTable = $objSession->GetEditTable("News");
- }
-
- /*shortcut to edit link */
- $objArticleList->CopyToEditTable("ResourceId",$_GET["item"]);
- }
- else
- {
- if (isset($_POST["newslist"]))
- {
- $objArticleList->CopyToEditTable("NewsId",$_POST["newslist"]);
- }
- }
- $objEditItems->Query_Item("SELECT * FROM ".$objEditItems->SourceTable);
- /* make a copy of the relationship records */
- if(isset($_POST["newslist"]) || $_GET["item"])
- {
- $ids = $objEditItems->GetResourceIDList();
- $objRelList->CopyToEditTable("SourceId",$ids);
- $objCustomDataList->CopyToEditTable('n', $ids);
- $objArticleList->CopyCatListToEditTable("ItemResourceId", $ids);
- $objReviewList->CopyToEditTable("ItemId",$ids);
- $objImages->CopyToEditTable("ResourceId",$ids);
- }
- $itemcount=$objEditItems->NumItems();
- $c = $objEditItems->GetItemByIndex($en);
-
- if($itemcount>1)
- {
- if ($en+1 == $itemcount)
- $en_next = -1;
- else
- $en_next = $en+1;
-
- if ($en == 0)
- $en_prev = -1;
- else
- $en_prev = $en-1;
- }
- $action = "n_edit_article";
- $TitleVerb = prompt_language("la_Text_Editing");
- /* check to see if this is a pending item */
- if((int)$c->Get("OrgId")>0 && $c->Get("Status")==-2)
- {
- $Org = new clsNews($c->Get("OrgId"));
- }
- else
- $Org = NULL;
-}
-
-$envar = "env=" . BuildEnv() . "&en=$en";
-//$formaction = "addarticle.php?".$envar;
-
-//Set Section
-
-//if (isset($itemlist))
- $section = 'in-news:editarticle_general';
-//else
-// $section = 'in-news:addarticle_general';
-
-//Set Environment Variable
-$saveURL = $admin."/".$objSession->GetVariable('ReturnScript');
-//Display header
-$sec = $objSections->GetSection($section);
-$objCatToolBar = new clsToolBar();
-$objCatToolBar->Add("img_save", "la_Save","#","swap('img_save','toolbar/tool_select_f2.gif');", "swap('img_save', 'toolbar/tool_select.gif');","edit_submit('article','NewsEditStatus','$saveURL',1);","tool_select.gif");
-$objCatToolBar->Add("img_cancel", "la_Cancel","#","swap('img_cancel','toolbar/tool_cancel_f2.gif');", "swap('img_cancel', 'toolbar/tool_cancel.gif');","edit_submit('article','NewsEditStatus','$saveURL',2);","tool_cancel.gif");
-
-if ( isset($en_prev) || isset($en_next) )
-{
- $url = $RootUrl."in-news/admin/addarticle.php";
- $StatusField = "NewsEditStatus";
- $form = "article";
- MultiEditButtons($objCatToolBar,$en_next,$en_prev,$form,$StatusField,$url,$sec->Get("OnClick"));
- //$objCatToolBar->Add("divider");
-}
-
-$article_t = inp_textarea_unescape($c->parsetag("article_title"));
-
-if (strlen($article_t))
- $editing_title = "'".$article_t."' ";
-else
- $editing_title = "";
-
-$title = $TitleVerb." ".prompt_language("la_Text_Article")." $editing_title- ".prompt_language("la_tab_General");
- int_header($objCatToolBar,NULL,$title);
-if ($objSession->GetVariable("HasChanges") == 1) {
-?>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="toolbar">
- <tr>
- <td valign="top">
- <?php int_hint_red(admin_language("la_Warning_Save_Item")); ?>
- </td>
- </tr>
-</table>
-<?php } ?>
-<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
-<form ID="article" enctype="multipart/form-data" name="article" action="" method=POST>
- <tr <?php int_table_color(); ?>>
- <td valign="top" colspan="3"><?php echo prompt_language("la_prompt_Enable_HTML"); ?>
-<?php
- if($c->Get("TextFormat")==1)
- $checked=" checked";
-?>
- <input type="checkbox" tabindex="1" name="html_enable" value="1" <?php echo $checked; ?>>
- <br>
- <?php int_hint(prompt_language("la_Warning_Enable_HTML")); ?>
- </td>
- </tr>
- <?php int_subsection_title(prompt_language("la_Text_Article")); ?>
- <tr <?php int_table_color(); ?>>
- <td valign="top"><span class="text" ID="prompt_NewsId"><?php echo prompt_language("la_prompt_NewsId"); ?></span></td>
- <TD><?php echo $c->Get("NewsId"); ?>
- <TD><b><?php if(is_object($Org)) echo prompt_language("la_origional_values"); ?></b></TD>
- </TR>
- <tr <?php int_table_color(); ?>>
- <td valign="top"><span ID="prompt_news_title" class="text"><?php echo prompt_language("la_prompt_Title"); ?></span></td>
- <td>
- <input type="text" ValidationType="exists" tabindex="2" name="news_title" class="text" size="40" value="<?php echo inp_htmlize($c->Get("Title")); ?>">
- </td>
- <td>
-<?php
- if(is_object($Org))
- {
- $OrgValue = $Org->Get("Title");
- $NewValue = $c->Get("Title");
- if($OrgValue != $NewValue)
- {
- $class = "error";
- }
- else
- $class = "text";
- echo "<SPAN CLASS=\"$class\">".inp_textarea_unescape($OrgValue)."</SPAN>";
- }
-?>
- </td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top"><span ID="prompt_news_author" class="text"><?php echo prompt_language("la_prompt_Author"); ?></span></td>
- <td>
- <input type="text" ValidationType="exists" tabindex="3" name="news_author" class="text" size="40" value="<?php echo inp_htmlize($c->Get("Author")); ?>">
- <a href="#">
- <img src="<?php echo $imagesURL; ?>/icon24_link_user.gif" style="cursor:hand" border="0"
- ONCLICK="OpenUserSelector('','','<?php echo $envar; ?>&destform=article&destfield=news_author&IdField=Login&Selector=radio');">
- </a>
- </td>
- <td>
-<?php
- if(is_object($Org))
- {
- $OrgValue = $Org->Get("Author");
- $NewValue = $c->Get("Author");
- if($OrgValue != $NewValue)
- {
- $class = "error";
- }
- else
- $class = "text";
- echo "<SPAN CLASS=\"$class\">".inp_textarea_unescape($OrgValue)."</SPAN>";
- }
-?>
- </td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top"><SPAN id="prompt_news_body" class="text"><?php echo prompt_language("la_prompt_ArticleBody"); ?></span><br>
- <a href="#">
- <img src="<?php echo $adminURL; ?>/icons/icon24_link_editor.gif" style="cursor:hand" border="0"
- ONCLICK="document.forms[0].elements[0].checked=true; OpenEditor('&section=<?php echo $section; ?>','article','news_body');">
- </a>
- </td>
- <td>
- <textarea ValidationType="exists" tabindex="4" rows="8" name="news_body" id="news_body" cols="70" class="text"><?php echo inp_textarea_unescape(inp_htmlize($c->Get("Body"))); ?></textarea>
- </td>
- <td>
-<?php
- if(is_object($Org))
- {
- $OrgValue = $Org->Get("Body");
- $NewValue = $c->Get("Body");
- if($OrgValue != $NewValue)
- {
- $class = "error";
- }
- else
- $class = "text";
- echo "<SPAN CLASS=\"$class\">".substr(strip_tags($OrgValue),0,100);
- if(strlen($OrgValue)>100)
- echo " ..";
- echo "</SPAN>";
- }
-?>
- </td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top"><SPAN ID="prompt_news_excerpt" class="text"><?php echo prompt_language("la_prompt_ArticleExcerpt"); ?></SPAN></td>
- <td>
- <textarea rows="3" name="news_excerpt" tabindex="5" cols="70" class="text"><?php echo inp_textarea_unescape(inp_htmlize($c->Get("Excerpt"))); ?></textarea>
- <br><input type="checkbox" name="excerpt_generate" tabindex="6" value="1"><?php echo prompt_language("la_prompt_AutoGen_Excerpt"); ?>
- </td>
- <td>
-<?php
- if(is_object($Org))
- {
- $OrgValue = $Org->Get("Excerpt");
- $NewValue = $c->Get("Excerpt");
- if($OrgValue != $NewValue)
- {
- $class = "error";
- }
- else
- $class = "text";
- echo "<SPAN CLASS=\"$class\">".inp_textarea_unescape($OrgValue)."</SPAN>";
- }
-?>
- </td>
- </tr>
-
- <tr <?php int_table_color(); ?>>
- <td valign="top"><span id="prompt_auto_filename" class="text"><?php echo prompt_language('la_prompt_AutomaticFilename'); ?></span></td>
- <td>
- <input type="checkbox" tabindex="5" name="auto_filename" id="auto_filename" class="text" value="1"<?php if( $c->Get('AutomaticFilename') == 1) echo ' checked'; ?> onchange="reflect_filename();">
- </td>
- <td class="text">&nbsp;</td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top"><span ID="prompt_filename" class="text"><?php echo prompt_language('la_prompt_CustomFilename'); ?></span></td>
- <td>
- <input type="text" name="filename" id="filename" tabindex="1" class="text" size="63" value="<?php echo $c->Get('Filename'); ?>">
- </td>
- <td>&nbsp;</td>
- </tr>
-
- <?php int_subsection_title(prompt_language("la_tab_Properties")); ?>
-
- <tr <?php int_table_color(); ?>>
- <td valign="top" class="text"><?php echo prompt_language("la_prompt_Status"); ?></td>
- <td>
- <input type="radio" tabindex="7" name="status" class="text" value="1" <?php if($c->Get("Status") == 1) echo "checked"; ?>><?php echo prompt_language("la_val_Active"); ?>
-<?php
- if(is_object($Org))
- {
- $PendingVal = -2;
- }
- else
- $PendingVal = 2;
-?>
- <input type="radio" tabindex="7" name="status" class="text" value="<?php echo $PendingVal; ?>" <?php if($c->Get("Status") == $PendingVal) echo "checked"; ?>><?php echo prompt_language("la_val_Pending"); ?>
- <input type="radio" tabindex="7" name="status" class="text" value="0" <?php if($c->Get("Status") == 0) echo "checked"; ?>><?php echo prompt_language("la_val_Disabled"); ?>
- </td>
- <td class="text">
- <?php
- if(is_object($Org))
- {
- echo prompt_language("la_approve_description");
- }
- ?>
- </td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top" class="text"><?php echo prompt_language("la_prompt_New"); ?></td>
- <td>
- <input type="radio" name="itemnew" class="text" tabindex="8" value="2" <?php if($c->Get("NewItem") == 2) echo "checked"; ?>><?php echo prompt_language("la_val_Auto"); ?>
- <input type="radio" name="itemnew" class="text" tabindex="8" value="1" <?php if($c->Get("NewItem") == 1) echo "checked"; ?>><?php echo prompt_language("la_val_Always"); ?>
- <input type="radio" name="itemnew" class="text" tabindex="8" value="0" <?php if($c->Get("NewItem") == 0) echo "checked"; ?>><?php echo prompt_language("la_val_Never"); ?>
- </td>
- <td>
-<?php
- if(is_object($Org))
- {
- switch($Org->Get("NewItem"))
- {
- case 2:
- echo prompt_language("la_val_Auto");
- break;
- case 1:
- echo prompt_language("la_val_Always");
- break;
- case 0:
- echo prompt_language("la_val_Never");
- break;
- }
- }
-?>
- </td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top" class="text"><?php echo prompt_language("la_prompt_Hot"); ?></td>
- <td>
- <input type="radio" name="itemhot" class="text" tabindex="9" value="2" <?php if($c->Get("HotItem") == 2) echo "checked"; ?>><?php echo prompt_language("la_val_Auto"); ?>
- <input type="radio" name="itemhot" class="text" tabindex="9" value="1" <?php if($c->Get("HotItem") == 1) echo "checked"; ?>><?php echo prompt_language("la_val_Always"); ?>
- <input type="radio" name="itemhot" class="text" tabindex="9" value="0" <?php if($c->Get("HotItem") == 0) echo "checked"; ?>><?php echo prompt_language("la_val_Never"); ?>
-
- </td>
- <td>
-<?php
- if(is_object($Org))
- {
- switch($Org->Get("HotItem"))
- {
- case 2:
- echo prompt_language("la_val_Auto");
- break;
- case 1:
- echo prompt_language("la_val_Always");
- break;
- case 0:
- echo prompt_language("la_val_Never");
- break;
- }
- }
-?>
- </td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top" class="text"><?php echo prompt_language("la_prompt_Pop"); ?></td>
- <td>
- <input type="radio" name="itempop" class="text" value="2" tabindex="10" <?php if($c->Get("PopItem") == 2) echo "checked"; ?>><?php echo prompt_language("la_val_Auto"); ?>
- <input type="radio" name="itempop" class="text" value="1" tabindex="10" <?php if($c->Get("PopItem") == 1) echo "checked"; ?>><?php echo prompt_language("la_val_Always"); ?>
- <input type="radio" name="itempop" class="text" value="0" tabindex="10" <?php if($c->Get("PopItem") == 0) echo "checked"; ?>><?php echo prompt_language("la_val_Never"); ?>
-
- </td>
- <td>
-<?php
- if(is_object($Org))
- {
- switch($Org->Get("PopItem"))
- {
- case 2:
- echo prompt_language("la_val_Auto");
- break;
- case 1:
- echo prompt_language("la_val_Always");
- break;
- case 0:
- echo prompt_language("la_val_Never");
- break;
- }
- }
-?>
- </td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top" class="text"><?php echo prompt_language("la_prompt_EditorsPick"); ?></td>
- <td>
- <input type="checkbox" name="news_pick" class="text" value="1" tabindex="11" <?php if($c->Get("EditorsPick") == 1) echo "checked"; ?>></td>
- <td>
-<?php
- if(is_object($Org))
- {
- if($c->Get("EditorsPick"))
- {
- echo prompt_language("lu_yes");
- }
- else
- echo prompt_language("lu_no");
- }
-?>
- </td>
- </tr>
-
- <tr <?php int_table_color(); ?>>
- <td valign="top" class="text"><?php echo prompt_language("la_prompt_LeadArticle"); ?></td>
- <td>
- <input type="checkbox" name="news_leading" class="text" tabindex="12" value="1" <?php if($c->Get("LeadStory") == 1) echo "checked"; ?>>
- </td>
- <td>
-<?php
- if(is_object($Org))
- {
- if($c->Get("LeadStory"))
- {
- echo prompt_language("lu_yes");
- }
- else
- echo prompt_language("lu_no");
- }
-?>
- </td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top" class="text"><?php echo prompt_language("la_prompt_CatLead"); ?></td>
- <td>
- <input type="checkbox" name="news_leading_cat" class="text" tabindex="13" value="1" <?php if($c->Get("LeadCatStory") == 1) echo "checked"; ?>>
- </td>
- <td>
-<?php
- if(is_object($Org))
- {
- if($c->Get("LeadCatStory"))
- {
- echo prompt_language("lu_yes");
- }
- else
- echo prompt_language("lu_no");
- }
-?>
- </td>
- </tr>
-
- <tr <?php int_table_color(); ?>>
- <td valign="top" class="text"><?php echo prompt_language("la_prompt_Priority"); ?></td>
- <td>
- <input type="text" name="news_priority" tabindex="14" class="text" size="3" value="<?php echo $c->Get("Priority"); ?>">
- </td>
- <td>
-<?php
- if(is_object($Org))
- {
- $OrgValue = (int)$Org->Get("Priority");
- $NewValue = (int)$c->Get("Priority");
- if($OrgValue != $NewValue)
- {
- $class = "error";
- }
- else
- $class = "text";
- echo "<SPAN CLASS=\"$class\">$OrgValue</SPAN>";
- }
-?>
- </td>
- </tr>
-
- <tr <?php int_table_color(); ?>>
- <td valign="top"><SPAN id="prompt_news_date" class="text"><?php echo prompt_language("la_prompt_CreatedOn"); ?></SPAN></td>
- <td>
- <input type="text" ValidationType="date,exists" tabindex="15" name="news_date" id="news_date_selector" datepickerIcon="<?php echo $imagesURL; ?>/ddarrow.gif" class="text" size="20" value="<?php echo $c->parsetag('article_date'); ?>">
- <span class="small"><?php echo prompt_language("la_prompt_DateFormat"); ?></span></td>
- <td>
-<?php
- if(is_object($Org))
- {
- $OrgValue = $Org->parsetag('article_date');
- $NewValue = $c->parsetag('article_date');
- if($OrgValue != $NewValue)
- {
- $class = "error";
- }
- else
- $class = "text";
- echo "<SPAN CLASS=\"$class\">$OrgValue</SPAN>";
- }
-?>
- </td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top"><SPAN id="prompt_news_startdate" class="text"><?php echo prompt_language("la_prompt_StartDate"); ?></span></td>
- <td>
- <input type="text" ValidationType="date" tabindex="16" name="news_startdate" id="news_startdate_selector" datepickerIcon="<?php echo $imagesURL; ?>/ddarrow.gif" class="text" size="20" value="<?php echo $c->parsetag($c->Get('StartDate') > 0 ? 'article_startdate' : 'article_date'); ?>">
- <span class="small"><?php echo prompt_language("la_prompt_DateFormat"); ?></span></td>
- <td>
-<?php
- if(is_object($Org))
- {
- $OrgValue = $Org->parsetag('article_startdate');
- $NewValue = $c->parsetag('article_startdate');
- if($OrgValue != $NewValue)
- {
- $class = "error";
- }
- else
- $class = "text";
- echo "<SPAN CLASS=\"$class\">$OrgValue</SPAN>";
- }
-?>
- </td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top"><SPAN id="prompt_news_enddate" class="text"><?php echo prompt_language("la_prompt_ArchiveDate"); ?></td>
- <td>
- <input type="text" ValidationType="date" tabindex="17" name="news_enddate" id="news_enddate_selector" datepickerIcon="<?php echo $imagesURL; ?>/ddarrow.gif" class="text" size="20" value="<?php echo $c->parsetag('article_enddate'); ?>">
- <span class="small"><?php echo prompt_language("la_prompt_DateFormat"); ?></span></td>
- <td>
-<?php
- if(is_object($Org))
- {
- $OrgValue = $Org->parsetag('article_enddate');
- $NewValue = $c->parsetag('article_enddate');
- if($OrgValue != $NewValue)
- {
- $class = "error";
- }
- else
- $class = "text";
- echo "<SPAN CLASS=\"$class\">$OrgValue</SPAN>";
- }
-?>
- </td>
- </tr>
-
- <?php int_subsection_title(prompt_language("la_Text_Counters")); ?>
- <tr <?php int_table_color(); ?>>
- <td valign="top" class="text"><?php echo prompt_language("la_prompt_Rating"); ?></td>
- <td>
- <input type="text" name="news_rating" class="text" tabindex="18" size="5" value="<?php echo LangNumber($c->Get("CachedRating"),1); ?>">
- <span class="small"><?php echo prompt_language("la_prompt_RatingLimits"); ?></span></td>
- <td>
-<?php
- if(is_object($Org))
- {
- $OrgValue = (int)$Org->Get("CachedRating");
- $NewValue = (int)$c->Get("CachedRating");
- if($OrgValue != $NewValue)
- {
- $class = "error";
- }
- else
- $class = "text";
- echo "<SPAN CLASS=\"$class\">$OrgValue</SPAN>";
- }
-?>
- </td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top" class="text"><?php echo prompt_language("la_prompt_Votes"); ?></td>
- <td>
- <input type="text" name="news_votes" class="text" tabindex="19" size="5" value="<?php echo LangNumber($c->Get("CachedVotesQty",0)); ?>">
- <span class="small"><?php echo prompt_language("la_prompt_VoteLimits"); ?></span></td>
- <td>
-<?php
- if(is_object($Org))
- {
- $OrgValue = (int)$Org->Get("CachedVotesQty");
- $NewValue = (int)$c->Get("CachedVotesQty");
- if($OrgValue != $NewValue)
- {
- $class = "error";
- }
- else
- $class = "text";
- echo "<SPAN CLASS=\"$class\">$OrgValue</SPAN>";
- }
-?>
- </td>
- </tr>
- <tr <?php int_table_color(); ?>>
- <td valign="top" class="text"><?php echo prompt_language("la_prompt_Views"); ?></td>
- <td>
- <input type="text" name="news_hits_show" class="text" tabindex="20" size="5" value="<?php echo LangNumber(round($c->Get("Hits")),0); ?>">
- <input type="hidden" name="news_hits" value="<?php echo LangNumber($c->Get("Hits"),0); ?>">
- <span class="small"><?php echo prompt_language("la_prompt_HitLimits"); ?></span></td>
- <td>
-<?php
- if(is_object($Org))
- {
- $OrgValue = (int)$Org->Get("Views");
- $NewValue = (int)$c->Get("Views");
- if($OrgValue != $NewValue)
- {
- $class = "error";
- }
- else
- $class = "text";
- echo "<SPAN CLASS=\"$class\">$OrgValue</SPAN>";
- }
-?>
- </td>
- </tr>
-<?php
-$CustomFieldUI = $objCustomFields->GetFieldUIList(TRUE);
-if($CustomFieldUI->NumItems()>0)
-{
- $objCustomDataList->SourceTable = $objSession->GetEditTable("CustomMetaData");
- if((int)$c->Get("ResourceId")>0)
- {
- $objCustomDataList->LoadResource($c->Get("ResourceId"));
- }
- $headings = $CustomFieldUI->GetHeadingList();
- //echo "<PRE>";print_r($objCustomFields); echo "</PRE>";
- $tab_index = 21;
- for($i=0;$i<=count($headings);$i++)
- {
- $h = $headings[$i];
- if(strlen($h))
- {
- int_subsection_title(prompt_language($h));
- $Items = $CustomFieldUI->GetHeadingItems($h);
- foreach($Items as $f)
- {
- $n = substr($f->name,1);
- $cfield = $objCustomFields->GetItemByField("FieldName",$n,FALSE);
- if (is_object($cfield)) {
- $f->default_value = $c->GetCustomFieldValue($n, '', 0, true);
- }
- print "<tr ".int_table_color_ret().">\n";
- print " <td valign=\"top\" class=\"text\">".$f->GetPrompt()."</td>\n";
- print " <td nowrap>".$f->ItemFormElement($tab_index++)."</TD>";
- if(is_object($f->NextItem))
- {
- $n = $f->NextItem;
- print " <td>".$n->ItemFormElement($tab_index++)."</TD>";
- }
- else
- print " <td><span class=\"text\">&nbsp;</span></td>\n";
- print "</tr>\n";
- }
- }
- }
-}
-?>
- <input type="hidden" name="CategoryId" value="<?php echo $objCatList->CurrentCategoryID(); ?>">
- <input type="hidden" name="NewsId" value="<?php echo $c->Get("NewsId"); ?>">
- <input type="hidden" name="Action" value="<?php echo $action; ?>">
- <input type="hidden" name="NewsEditStatus" VALUE="0">
-</FORM>
-</table>
-<script src="<?php echo $adminURL; ?>/include/calendar.js"></script>
-<SCRIPT language="JavaScript">
- initCalendar("news_date_selector", CalDateFormat);
- initCalendar("news_startdate_selector", CalDateFormat);
- initCalendar("news_enddate_selector", CalDateFormat);
- function reflect_filename($e)
- {
- var $checked = document.getElementById('auto_filename').checked;
- document.getElementById('filename').readOnly = $checked;
- }
- reflect_filename();
-</SCRIPT>
-
-<?php
- MarkFields('article');
- int_footer();
-?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/addarticle.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.17
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/addimage.php
===================================================================
--- trunk/in-news/admin/addimage.php (revision 12830)
+++ trunk/in-news/admin/addimage.php (nonexistent)
@@ -1,276 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-
-// new startup: begin
-define('REL_PATH', 'in-news/admin');
-$relation_level = count( explode('/', REL_PATH) );
-define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
-require_once FULL_PATH.'/kernel/startup.php';
-// new startup: end
-
-/* set the destination of the image upload, relative to the root path */
-$DestDir = 'kernel/images/';
-
-$pathtolocal = $pathtoroot."kernel/";
-require_once ($pathtoroot.$admin."/include/elements.php");
-require_once ($pathtoroot."kernel/admin/include/navmenu.php");
-require_once($pathtoroot.$admin."/browse/toolbar.php");
-require_once($pathtoroot.$admin."/listview/listview.php");
-
-unset($objEditCat);
-
-$objEditCat = new clsNewsList();
-$objEditCat->SourceTable = $objSession->GetEditTable("News");
-$objEditItems->EnablePaging = FALSE;
-//Multiedit init
-$en = (int)$_GET["en"];
-$objEditCat->Query_Item("SELECT * FROM ".$objEditCat->SourceTable);
-$itemcount=$objEditCat->NumItems();
-$c = $objEditCat->GetItemByIndex($en);
-
-unset($objEditItems);
-
-$objEditItems = new clsImageList();
-$objEditItems->SourceTable = $objSession->GetEditTable("Images");
-
-if(isset($_POST["itemlist"]))
-{
- if(is_array($_POST["itemlist"]))
- {
- $ImageId = $_POST["itemlist"][0];
- }
- else
- {
- $ImageId = $_POST["itemlist"];
- }
- $img = $objEditItems->GetItem($ImageId);
- $action = "m_img_edit";
- $name = $img->Get("Name");
- $img->Pending=TRUE;
-}
-else
-{
- $img = new clsImage();
- $img->Set("ResourceId",$c->Get("ResourceId"));
- $img->Set("ImageId",$img->FieldMin("ImageId")-1);
- $img->Pending=TRUE;
- $img->tablename = $objEditItems->SourceTable;
- $action = "m_img_add";
- $name = "'New Image'";
-}
-
-$envar = "env=" . BuildEnv() . "&en=$en";
-$section = 'in-news:editarticle_image';
-$ado = &GetADODBConnection();
-
-/* page header */
-$charset = GetRegionalOption('Charset');
-print <<<END
-<html>
-<head>
- <title>In-portal</title>
- <meta http-equiv="content-type" content="text/html;charset=$charset">
- <meta http-equiv="Pragma" content="no-cache">
- <script language="JavaScript">
- imagesPath='$imagesURL'+'/';
- </script>
- <script src="$browseURL/common.js"></script>
- <script src="$browseURL/toolbar.js"></script>
- <script src="$browseURL/utility.js"></script>
- <script src="$browseURL/checkboxes_new.js"></script>
- <script language="JavaScript1.2" src="$browseURL/fw_menu.js"></script>
- <link rel="stylesheet" type="text/css" href="$browseURL/checkboxes.css">
- <link rel="stylesheet" type="text/css" href="$cssURL/style.css">
- <link rel="stylesheet" type="text/css" href="$browseURL/toolbar.css">
-END;
-
-
-$title = prompt_language("la_Text_Editing")." ".prompt_language("la_Text_Article")." '".$c->Get("Title")."' - ".prompt_language("la_Text_Image");
-$title .= " '".$name."'";
-$objCatToolBar = new clsToolBar();
-$objCatToolBar->Add("img_save", "la_Save","#","swap('img_save','toolbar/tool_select_f2.gif');", "swap('img_save', 'toolbar/tool_select.gif');","do_image_save('article','in-news/admin/addarticle_images.php',0);",$imagesURL."/toolbar/tool_select.gif");
-
-$objCatToolBar->Add("img_cancel", "la_Cancel","#","swap('img_cancel','toolbar/tool_cancel_f2.gif');", "swap('img_cancel', 'toolbar/tool_cancel.gif');","edit_submit('article','in-news/admin/addarticle_images.php',-1);",$imagesURL."/toolbar/tool_cancel.gif");
-
-int_header($objCatToolBar,NULL,$title);
-if ($objSession->GetVariable("HasChanges") == 1) {
-?>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="toolbar">
- <tr>
- <td valign="top">
- <?php int_hint_red(admin_language("la_Warning_Save_Item")); ?>
- </td>
- </tr>
-</table>
-<?php } ?>
-<TABLE cellSpacing="0" cellPadding="2" width="100%" class="tableborder">
-<FORM enctype="multipart/form-data" ID="article" NAME="article" method="POST" ACTION="">
-<?php int_subsection_title(prompt_language("la_Text_Image")); ?>
-<TR <?php int_table_color(); ?> >
- <TD><?php echo prompt_language("la_prompt_ImageId"); ?></TD>
- <TD><?php if ($img->Get("ImageId") != -1) echo $img->Get("ImageId"); ?></TD>
- <TD></TD>
-</TR>
-
-<TR <?php int_table_color(); ?> >
- <TD><SPAN class="text" id="prompt_imgName"><?php echo prompt_language("la_prompt_Name"); ?></SPAN></TD>
- <TD><input type=text NAME="imgName" ValidationType="exists" tabindex="1" size="30" VALUE="<?php echo inp_htmlize($img->parsetag("image_name")); ?>"></TD>
- <TD></TD>
-</TR>
-
-<TR <?php int_table_color(); ?> >
- <TD><SPAN class="text" id="prompt_imgAlt"><?php echo prompt_language("la_prompt_AltName"); ?></SPAN></TD>
- <TD><input type=text NAME="imgAlt" ValidationType="exists" tabindex="2" size="30" VALUE="<?php echo inp_htmlize($img->parsetag("image_alt")); ?>"></TD>
- <TD></TD>
-</TR>
-
-<TR <?php int_table_color(); ?> >
- <TD><?php echo prompt_language("la_prompt_Status"); ?></TD>
- <TD>
- <input type=RADIO NAME="imgEnabled" tabindex="3" <?php if($img->Get("Enabled")==1) echo "CHECKED"; ?> VALUE="1"><?php echo prompt_language("la_Text_Enabled"); ?>
- <input type=RADIO NAME="imgEnabled" tabindex="3" <?php if($img->Get("Enabled")==0) echo "CHECKED"; ?> VALUE="0"><?php echo prompt_language("la_Text_Disabled"); ?>
- </TD>
- <TD></TD>
-</TR>
-
-<TR <?php int_table_color(); ?> >
- <TD><?php echo prompt_language("la_prompt_Primary"); ?></TD>
- <TD><input type=checkbox NAME="imgDefault" tabindex="4" <?php if($img->Get("DefaultImg")==1) echo "CHECKED"; ?> VALUE="1"></TD>
- <TD></TD>
-</TR>
-
-<TR <?php int_table_color(); ?> >
- <TD><?php echo prompt_language("la_prompt_Priority"); ?></TD>
- <TD><input type=text SIZE="5" NAME="imgPriority" tabindex="5" VALUE="<?php echo $img->Get("Priority"); ?>"></TD>
- <TD></TD>
-</TR>
-
-
-<?php int_subsection_title(prompt_language("la_text_Thumbnail_Image")); ?>
-
-<TR <?php int_table_color(); ?> >
- <TD><?php echo prompt_language("la_prompt_Location"); ?></TD>
- <?php
- if($img->Get("LocalThumb")==1 || strlen($img->Get("LocalThumb"))==0)
- {
- $local="checked";
- $remote = "";
- }
- else
- {
- $remote="checked";
- $local = "";
- }
- ?>
- <TD>
- <TABLE border=0>
- <tr>
- <TD>
- <input type="radio" name="imgLocalThumb" tabindex="6" <?php echo $local; ?> VALUE="1"><?php echo prompt_language("la_prompt_upload"); ?>:
- </td>
- <td>
- <input type=FILE NAME="imgThumbFile" tabindex="7" VALUE=""> <br />
- </td>
- </tr>
- <tr>
- <td>
- <input type="radio" name="imgLocalThumb" tabindex="6" <?php echo $remote; ?> VALUE="0"> <?php echo prompt_language("la_prompt_remote_url"); ?>:
- </td>
- <td>
- <input type=text size=32 tabindex="8" NAME="imgThumbUrl" VALUE="<?php echo $img->Get("ThumbUrl"); ?>"> <br />
- </td>
- </tr>
- </table>
- </TD>
-
-
- <TD ALIGN="RIGHT">
- <IMG SRC="<?php echo $img->ThumbURL(); ?>">
- </TD>
-</TR>
-
-<?php int_subsection_title(prompt_language("la_Text_Full_Size_Image")); ?>
-
-<TR <?php int_table_color(); ?>>
- <TD><?php echo prompt_language("la_text_Same_As_Thumbnail"); ?></TD>
- <?php
- if(($img->Get("SameImages")=="1") || !$img->Get("ImageId") || ($img->Get("ImageId") == "-1"))
- {
- $checked = "CHECKED";
- $disabled = "DISABLED=\"true\"";
- }
- ?>
- <TD><input type=checkbox id="imgSameImages" NAME="imgSameImages" tabindex="9" VALUE="1" <?php echo $checked; ?> ONCLICK="enableFullImage(this);"></TD>
- <TD></TD>
-</TR>
-<TR <?php int_table_color(); ?>>
- <TD><?php echo prompt_language("la_prompt_Location"); ?></TD>
- <?php
- if($img->Get("LocalImage")==1 || strlen($img->Get("LocalImage"))==0)
- {
- $local="checked";
- $remote = "";
- }
- else
- {
- $remote="checked";
- $local = "";
- }
- ?>
- <TD>
- <TABLE border=0>
- <tr>
- <TD>
- <input id="full1" type="radio" tabindex="10" name="imgLocalFull" <?php echo $local; ?> VALUE="1"><?php echo prompt_language("la_prompt_upload"); ?>:
- </td>
- <td>
- <input type=FILE ID="imgFullFile" tabindex="11" NAME="imgFullFile" VALUE=""> <br />
- </td>
- </tr>
- <tr>
- <td>
- <input id="full2" type="radio" tabindex="10" name="imgLocalFull" <?php echo $remote; ?> VALUE="0"> <?php echo prompt_language("la_prompt_remote_url"); ?>:
- </td>
- <td>
- <input type=text size=32 ID="imgFullUrl" tabindex="12" NAME="imgFullUrl" VALUE="<?php echo $img->Get("Url"); ?>"> <br />
- </td>
- </tr>
- </table>
- </td>
- <TD ALIGN="RIGHT">
- <IMG SRC="<?php echo $img->FullURL(); ?>">
- </TD>
-</TR>
- <input type=hidden NAME="Action" VALUE="<?php echo $action; ?>">
- <input type="hidden" name="NewsEditStatus" VALUE="0">
- <input type="hidden" name="DestDir" VALUE="<?php echo $DestDir; ?>">
- <INPUT TYPE="hidden" NAME="ImageId" VALUE="<?php echo $img->Get("ImageId"); ?>">
- <input TYPE="HIDDEN" NAME="ResourceId" VALUE="<?php echo $c->Get("ResourceId"); ?>">
-</FORM>
-</TABLE>
-
-<!-- CODE FOR VIEW MENU -->
-<form method="post" action="user_groups.php?<?php echo $envar; ?>" name="viewmenu">
-<input type="hidden" name="fieldname" value="">
-<input type="hidden" name="varvalue" value="">
-<input type="hidden" name="varvalue2" value="">
-<input type="hidden" name="Action" value="">
-</form>
-<script language="JavaScript">
- enableFullImage(document.getElementById('imgSameImages'));
- MarkAsRequired(document.getElementById("article"));
-</script>
-<!-- END CODE-->
-<?php int_footer(); ?>
Property changes on: trunk/in-news/admin/addimage.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.9
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/addarticle_custom.php
===================================================================
--- trunk/in-news/admin/addarticle_custom.php (revision 12830)
+++ trunk/in-news/admin/addarticle_custom.php (nonexistent)
@@ -1,226 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-
-// new startup: begin
-define('REL_PATH', 'in-news/admin');
-$relation_level = count( explode('/', REL_PATH) );
-define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
-require_once FULL_PATH.'/kernel/startup.php';
-// new startup: end
-
-$pathtolocal = $pathtoroot."in-news/";
-require_once ($pathtoroot.$admin."/include/elements.php");
-require_once ($pathtoroot."kernel/admin/include/navmenu.php");
-require_once ($pathtolocal."admin/include/navmenu.php");
-require_once($pathtoroot.$admin."/toolbar.php");
-require_once($pathtoroot.$admin."/listview/listview.php");
-
-unset($objEditItems);
-
-$application->SetVar('n_mode', 't');
-$objEditItems = new clsNewsList();
-$objEditItems->SourceTable = $objSession->GetEditTable("News");
-$objEditItems->EnablePaging = FALSE;
-//Multiedit init
-$en = (int)$_GET["en"];
-$objEditItems->Query_Item("SELECT * FROM ".$objEditItems->SourceTable);
-$itemcount=$objEditItems->NumItems();
-
-$c = $objEditItems->GetItemByIndex($en);
-
-if($itemcount>1)
-{
- if ($en+1 == $itemcount)
- $en_next = -1;
- else
- $en_next = $en+1;
-
- if ($en == 0)
- $en_prev = -1;
- else
- $en_prev = $en-1;
-}
-$action = "m_edit_link";
-
-$envar = "env=" . BuildEnv() . "&en=$en";
-$saveURL = $admin."/".$objSession->GetVariable('ReturnScript');
-$section = 'in-news:editarticle_custom';
-
-$title = prompt_language("la_Text_Editing")." ".prompt_language("la_Text_Article")." '".$c->Get("Title")."' - ".prompt_language("la_tab_Custom");
-
-//$formaction = $_SERVER["PHP_SELF"]."?".$envar;
-
-//echo $envar."<br>\n";
-
-//Display header
-$sec = $objSections->GetSection($section);
- $objCatToolBar = new clsToolBar();
- $objCatToolBar->Add("img_save", "la_Save","","swap('img_save','toolbar/tool_select_f2.gif');", "swap('img_save', 'toolbar/tool_select.gif');","edit_submit('article','','".$saveURL."',1);","tool_select.gif");
- $objCatToolBar->Add("img_cancel", "la_Cancel","","swap('img_cancel','toolbar/tool_cancel_f2.gif');", "swap('img_cancel', 'toolbar/tool_cancel.gif');","edit_submit('article','','".$saveURL."',2);","tool_cancel.gif");
- if($itemcount == 1) $objCatToolBar->Add("divider");
-
-
-if ( isset($en_prev) || isset($en_next) )
-{
- $url = $RootUrl."in-news/admin/addarticle_custom.php";
- $StatusField = "NewsEditStatus";
- $form = "article";
- MultiEditButtons($objCatToolBar,$en_next,$en_prev,$form,$StatusField,$url,$sec->Get("OnClick"));
- $objCatToolBar->Add("divider");
-}
-
- $objCatToolBar->Add("viewmenubutton", "la_ToolTip_View","#","swap('viewmenubutton','toolbar/tool_view_f2.gif'); ",
- "swap('viewmenubutton', 'toolbar/tool_view.gif');",
- "ShowViewMenu();","tool_view.gif");
-
- $objCatToolBar->AddToInitScript("fwLoadMenus(); \n");
-
- int_header($objCatToolBar,NULL,$title);
-if ($objSession->GetVariable("HasChanges") == 1) {
-?>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="toolbar">
- <tr>
- <td valign="top">
- <?php int_hint_red(admin_language("la_Warning_Save_Item")); ?>
- </td>
- </tr>
-</table>
-<?php } ?>
-<form name="article" ID="article" action="" method=POST>
-<?php
-
- $objCustomFields = new clsCustomFieldList(2);
- $field_list = $objCustomFieldList->Query_CustomField("Type=2");
-
- $objCustomDataList->SourceTable = $objSession->GetEditTable("CustomMetaData");
- $objCustomDataList->LoadResource($c->Get("ResourceId"));
- $tab_index = 1;
- for($i=0;$i<$objCustomFields->NumItems(); $i++)
- {
- $field =& $objCustomFields->GetItemRefByIndex($i);
- $fieldid = $field->Get("CustomFieldId");
-
- $CF = $field->GetAdminUI();
- if (is_object($cfield = $objCustomFields->GetItemByField("FieldName",substr($CF->name,1),FALSE))) {
- $CF->default_value = $c->GetCustomFieldValue(substr($CF->name,1), '', 0, true);
- }
-
- $f = $objCustomDataList->GetDataItem($fieldid);
- $fieldname = "CustomData[$fieldid]";
- if(is_object($f))
- {
- $val_field = "<input type=text tabindex=\"".($i+1)."\" VALUE=\"".inp_htmlize($f->Get("Value"))."\" name=\"$fieldname\">";
- $field->Set("Value", $CF->ItemFormElement($tab_index++));
- if ($field->Get('Prompt') != '') {
- $field->Set("FieldLabel", admin_language($field->Get('Prompt')));
- }
- else {
- $field->Set("FieldLabel", admin_language('lu_fieldcustom__'.strtolower($field->Get('FieldName'))));
- }
- $field->Set("DataId",$f->Get("CustomDataId"));
- }
- else
- {
- $val_field = "<input type=text tabindex=\"".($i+1)."\" VALUE=\"\" name=\"$fieldname\">";
- $field->Set("Value", $CF->ItemFormElement($tab_index++));
- if ($field->Get('Prompt') != '') {
- $field->Set("FieldLabel", admin_language($field->Get('Prompt')));
- }
- else {
- $field->Set("FieldLabel", admin_language('lu_fieldcustom__'.strtolower($field->Get('FieldName'))));
- }
- $field->Set("DataId",0);
- }
- }
- $objCustomFields->SortField = $objConfig->Get("CustomData_LV_Sortfield");;
- $objCustomFields->SortItems($objConfig->Get("CustomData_LV_Sortorder")!="desc");
-
- $objListView = new clsListView($objCatToolBar,$objCustomFields);
- $objListView->IdField = "DataId";
-
- $order = $objConfig->Get("CustomData_LV_Sortfield");
- $SortOrder=0;
- if($objConfig->Get("CustomData_LV_Sortorder")=="asc")
- $SortOrder=1;
-
- $objListView->ColumnHeaders->Add("FieldName",admin_language("la_ColHeader_FieldName"),1,0,$order,"width=\"30%\"","CustomData_LV_Sortfield","CustomData_LV_Sortorder","FieldName");
- $objListView->ColumnHeaders->Add("FieldLabel",admin_language("la_ColHeader_FieldLabel"),1,0,$order,"width=\"30%\"","CustomData_LV_Sortfield","CustomData_LV_Sortorder","FieldLabel");
- $objListView->ColumnHeaders->Add("Value",admin_language("la_ColHeader_Value"),1,0,$order,"width=\"40%\"","CustomData_LV_Sortfield","CustomData_LV_Sortorder","Value");
-
- $objListView->ColumnHeaders->SetSort($objConfig->Get("CustomData_LV_Sortfield"), $objConfig->Get("CustomData_LV_Sortorder"));
-
- $objListView->PrintToolBar = FALSE;
- $objListView->checkboxes = FALSE;
- $objListView->PageURL = "javascript:page_submit('link','in-link/admin/addlink_custom.php',0,'{TargetPage}');";
-
- $objListView->CurrentPageVar = "Page_CustomData";
- $objListView->PerPageVar = "Perpage_CustomData";
- //$objListView->CheckboxName = "itemlist[]";
-
- for($i=0;$i<count($objCustomFields->Items);$i++)
- {
- $objListView->RowIcons[] = $imagesURL."/itemicons/icon16_custom.gif";
- }
-
- $objListView->PageLinks = $objListView->PrintPageLinks();
-
- $objListView->SliceItems();
- print $objListView->PrintList();
-?>
- <input type="hidden" name="ItemId" value="<?php echo $c->Get("ResourceId"); ?>">
- <input type="hidden" name="Action" value="m_edit_custom_data">
- <input type="hidden" name="NewsEditStatus" VALUE="0">
- <input type="hidden" name="CustomType" VALUE="2">
-</FORM>
-
-
-<FORM method="POST" NAME="save_edit" ID="save_edit">
- <input type="hidden" name="Action" value="m_edit_custom_data">
- <input type="hidden" name="NewsEditStatus" VALUE="0">
- <input type="hidden" name="CustomType" VALUE="2">
-</FORM>
-<!-- CODE FOR VIEW MENU -->
-<form ID="viewmenu" method="post" action="<?php echo $_SERVER["PHP_SELF"]."?".$envar; ?>" name="viewmenu">
-<input type="hidden" name="fieldname" value="">
-<input type="hidden" name="varvalue" value="">
-<input type="hidden" name="varvalue2" value="">
-<input type="hidden" name="Action" value="">
-</form>
-<script src="<?php echo $adminURL; ?>/listview/listview.js"></script>
-<script>
-
-function edit_submit(formname,satus_field, targetURL,save_value,env)
-{
- var env_str = '<?php echo $envar; ?>';
- if(env)
- {
- if(env.length>0)
- env_str = env;
- }
- f = document.getElementById(formname);
- if(f)
- {
- f.action = '<?php echo $rootURL; ?>' + targetURL + '?' + env_str;
- f.NewsEditStatus.value = save_value; //0= stay in temp, 1=save to perm, 2 = purge no save
- //alert(f.name+ ' is submitting to '+ f.action + ' action is:' + f.Action.value);
- f.submit();
- }
- else
- alert('Form '+formname+' was not found.');
-}
-
-initSelectiorContainers();
-</script>
-<?php int_footer(); ?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/addarticle_custom.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.12
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/navmenu.php
===================================================================
--- trunk/in-news/admin/include/navmenu.php (revision 12830)
+++ trunk/in-news/admin/include/navmenu.php (nonexistent)
@@ -1,117 +0,0 @@
-<?php
-##############################################################
-## In-news :: Section & Navigation Structure Library ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-
-/*Edit Article toolbar */
-$objSections->AddSection("in-news:editarticle_general","la_tab_General", NULL, "in-news/admin/",
- "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addarticle.php',0);",
- $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_catalog.gif",
- NULL, "in-portal:browse", NULL, "in-news:editarticle_category",-1,"");
-
-$objSections->AddSection("in-news:editarticle_category","la_tab_Categories", NULL, "in-news/admin/",
- "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addarticle_category.php',0);",
- $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif",
- NULL, "in-portal:browse","in-news:editarticle_general", "in-news:editarticle_relations",-1,"");
-
-$objSections->AddSection("in-news:editarticle_relations", "la_tab_Relations", NULL, "in-news/admin/",
- "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addarticle_relations.php',0);",
- $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif",
- NULL, "in-portal:browse", "in-news:editarticle_category","in-news:editarticle_images",-1,"");
-
-$objSections->AddSection("in-news:editarticle_images","la_tab_Images", NULL,"in-news/admin/",
- "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addarticle_images.php',0);",
- "aadmin/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif",
- NULL, "in-portal:browse", "in-news:editarticle_relations", "in-news:editarticle_reviews",-1,"");
-
-$objSections->AddSection("in-news:editarticle_reviews","la_tab_Reviews", NULL,"in-news/admin/",
- "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addarticle_reviews.php',0);",
- $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif",
- NULL, "in-portal:browse",'in-news:editarticle_images', "in-news:editarticle_custom", -1,"");
-
-$objSections->AddSection("in-news:editarticle_custom","la_tab_Custom", NULL, "in-news/admin/",
- "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addarticle_custom.php',0);",
- $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif",
- NULL, "in-portal:browse", 'in-news:editarticle_reviews', NULL, -1);
-
-/* article edit subitems */
-$objSections->AddSection("in-news:editarticle_image","la_tab_Images","la_title_edit_article","in-news/admin/",
- "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addimage.php',0);",
- $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif",
- NULL, NULL, NULL,NULL,-1);
-
-$objSections->AddSection("in-news:editarticle_relation","la_tab_Relations","la_title_edit_article","in-news/admin/",
- "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addrelation.php',0);",
- $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif",
- NULL, NULL, NULL,NULL,-1);
-
-$objSections->AddSection("in-news:editarticle_review","la_tab_Reviews", "la_title_edit_article", "in-news/admin/",
- "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addreview.php',0);",
- $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif",
- NULL, NULL, NULL,NULL,-1);
-/* tree items */
-
-// Load In-News module to get it's version
-$mod = $objModules->GetModule("In-News");
-$ModVersion = $mod ? $mod->Get('Version') : '';
-
-$objSections->AddSection("in-news","la_title_In-News","la_title_In-News",$admin."/","subitems.php",
- "in-news/admin/images/icon46_settings_in-newz.gif","in-news/admin/images/icon24_settings_in-newz.gif",
- NULL,"in-portal:modules",NULL,NULL,0,"",1,
- NULL,NULL,NULL,"in-news/admin/images/icon46_list_settings_in-newz.gif","la_Text_Version"," $ModVersion");
-
-$objSections->AddSection("in-news:innews_general", "la_tab_GeneralSettings","la_tab_General",
- "in-news/admin/","config_general.php",
- $admin."/icons/icon46_settings_general.gif",$admin."/icons/icon24_settings_general.gif",
- NULL,"in-news", NULL,"in-news:configuration_output",0,"",1,
- NULL,NULL,NULL,$admin."/icons/icon46_list_settings_general.gif","la_updating_config");
-
-$objSections->AddSection("in-news:configuration_output", "la_tab_ConfigOutput","la_tab_ConfigOutput",
- $admin.'/index4.php?section=in-news:configuration_output&module=In-News','kernel4:config/config_universal',
- $admin."/icons/icon46_settings_output.gif",$admin."/icons/icon24_settings_output.gif",
- NULL,"in-news", "in-news:innews_general", "in-news:configuration_search",0,"",1,
- NULL,NULL,NULL,$admin."/icons/icon46_list_settings_output.gif","la_updating_config");
-
-$objSections->AddSection("in-news:configuration_search", "la_tab_ConfigSearch","la_tab_ConfigSearch",
- $admin.'/index4.php?module=In-News&section=in-news:configuration_search&module_key=articles',
- 'kernel4:config/config_search',
- $admin."/icons/icon46_settings_search.gif",$admin."/icons/icon24_settings_search.gif",
- NULL,"in-news", "in-news:configuration_output","in-news:configuration_email",0,"",1,
- NULL,NULL,NULL,$admin."/icons/icon46_list_settings_search.gif","la_updating_config");
-
-$objSections->AddSection("in-news:configuration_email", "la_tab_ConfigE-mail", "la_tab_ConfigE-mail", $admin."/config/",
- "module_email.php?&module=In-News&section=in-news:configuration_email&lpn=1",
- $admin."/icons/icon46_settings_email.gif",$admin."/icons/icon24_settings_email.gif",
- NULL, "in-news", "in-news:configuration_search","in-news:configuration_custom",0,"",1,
- NULL,NULL,NULL,$admin."/icons/icon46_list_settings_email.gif","la_updating_config");
-
-$objSections->AddSection("in-news:configuration_custom","la_tab_ConfigCustom","la_tab_ConfigCustom", $admin.'/index4.php',
- "kernel4:custom_fields/custom_fields_list:cf----2-",
- $admin."/icons/icon46_settings_custom.gif",$admin."/icons/icon24_settings_custom.gif",
- NULL, "in-news", "in-news:configuration_email", NULL,0,"",1,
- NULL,NULL,NULL,$admin."/icons/icon46_list_settings_custom.gif","la_updating_config");
-
-$objSections->AddSection("in-news:editarticle_userselect","la_tab_UserSelect","la_title_UserSelect",
- $admin."/users","user_select.php",
- $admin."/icons/icon46_community.gif",$admin."/icons/icon24_usergroups.gif",
- NULL,NULL,NULL,NULL,-1,"",1,0,1,1);
-
-$name = admin_language("lu_btn_NewArticle");
-
-$NewButtons[] = array(
- "ImagePath" => $rootURL."in-news/admin/images/",
- "Action" => "new_news",
- "Alt" => $name,
- "Tab" => "news");
-
-?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/include/navmenu.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.6
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/toolbar/editarticle_custom.php
===================================================================
--- trunk/in-news/admin/include/toolbar/editarticle_custom.php (revision 12830)
+++ trunk/in-news/admin/include/toolbar/editarticle_custom.php (nonexistent)
@@ -1,119 +0,0 @@
-<?php
-
-global $rootURL,$envar, $objConfig;
-
-$Perpage_Custom = (int)$objConfig->Get("Perpage_CustomData");
-if(!$Perpage_Custom)
- $PerPage_Custom = 20;
-
-$SortOrder = $objConfig->Get("CustomData_LV_Sortorder");
-if(!strlen($SortOrder))
- $SortOrder = "desc";
-
-$SortField = $objConfig->Get("CustomData_LV_Sortfield");
-if(!strlen($SortField))
- $SortField = "FieldName";
-
-$lang_FieldName = admin_language("la_ColHeader_FieldName");
-$lang_FieldLabel = admin_language("la_ColHeader_FieldLabel");
-$lang_Value = admin_language("la_ColHeader_Value");
-$lang_Fields = admin_language("la_Text_Fields");
-
-print<<<END
-
-<script language="javascript1.2">
-<!--
-var Custom_Perpage = $Perpage_Custom;
-var Custom_Sortfield = "$SortField";
-var Custom_Sortorder = "$SortOrder";
-var lang_FieldName = "$lang_FieldName";
-var lang_FieldLabel = "$lang_FieldLabel";
-var lang_Fields = "$lang_Fields";
-var lang_Value = "$lang_Value";
-
-function ShowViewMenu()
-{
- button = document.getElementById('viewmenubutton');
-
- x = getRealLeft(button);
- y = getRealTop(button);
-
- fwLoadMenus();
- window.FW_showMenu(window.view_menu,x,y+32);
- return false;
-}
-
-
-function fwLoadMenus()
-{
- window.menu_sorting = new Menu(lang_Sort);
- menu_sorting.imagePath = "$imagesURL"+'/';
- menu_sorting.addMenuItem(lang_Asc,"config_val('CustomData_LV_Sortorder','asc');",RadioIsSelected(Custom_Sortorder,'asc'));
- menu_sorting.addMenuItem(lang_Desc,"config_val('CustomData_LV_Sortorder','desc');",RadioIsSelected(Custom_Sortorder,'desc'));
- menu_sorting.addMenuSeparator();
- menu_sorting.addMenuItem(lang_Default,"config_val('CustomData_LV_Sortfield','FieldName');","");
- menu_sorting.addMenuItem(lang_FieldName,"config_val('CustomData_LV_Sortfield','FieldName');",RadioIsSelected(Custom_Sortfield,'FieldName'));
- menu_sorting.addMenuItem(lang_FieldLabel,"config_val('CustomData_LV_Sortfield','FieldLabel');",RadioIsSelected(Custom_Sortfield,'FieldLabel'));
- menu_sorting.addMenuItem(lang_Value,"config_val('CustomData_LV_Sortfield','Value');",RadioIsSelected(Custom_Sortfield,'Value'));
-
-
- window.menu_results = new Menu(lang_Fields+' '+lang_PerPage);
- menu_results.imagePath = "$imagesURL"+'/';
- menu_results.addMenuItem("10","config_val('Perpage_CustomData', '10');",RadioIsSelected(Custom_Perpage,10));
- menu_results.addMenuItem("20","config_val('Perpage_CustomData', '20');",RadioIsSelected(Custom_Perpage,20));
- menu_results.addMenuItem("50","config_val('Perpage_CustomData', '50');",RadioIsSelected(Custom_Perpage,50));
- menu_results.addMenuItem("100","config_val('Perpage_CustomData', '100');",RadioIsSelected(Custom_Perpage,100));
- menu_results.addMenuItem("500","config_val('Perpage_CustomData', '500');",RadioIsSelected(Custom_Perpage,500));
-
- window.view_menu = new Menu("root");
- view_menu.imagePath = "$imagesURL"+'/';
- window.view_menu.addMenuItem(menu_sorting);
- window.view_menu.addMenuItem(menu_results);
-
- window.triedToWriteMenus = false;
- window.view_menu.writeMenus();
-
-} // fwLoadMenus()
-
-
-function edit_submit(formname, targetURL,save_value,env)
-{
- var env_str = '$envar';
-
- if(env)
- {
- if(env.length>0)
- env_str = env;
- }
-
- f = document.getElementById(formname);
- if(f)
- {
- f.action = '$rootURL' + targetURL + '?' + env_str;
- f.NewsEditStatus.value = save_value; //0= stay in temp, 1=save to perm, 2 = purge no save
- //alert(f.name+ ' is submitting to '+ f.action + ' action is:' + f.Action.value);
- f.submit();
- }
- else
- alert('Form '+formname+' was not found.');
-}
-
-function page_submit(formname,targetURL,save_value,TargetPage)
-{
- var env_str = '$envar';
-
- f = document.getElementById(formname);
- if(f)
- {
- f.action = '$rootURL' + targetURL + '?' + env_str+'&lpn='+TargetPage;
- f.NewsEditStatus.value = save_value; //0= stay in temp, 1=save to perm, 2 = purge no save
- f.submit();
- }
- else
- alert('Form '+formname+' was not found.');
-}
-//-->
-</script>
-
-END;
-?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/include/toolbar/editarticle_custom.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/toolbar/editcategory_relationselect.php
===================================================================
--- trunk/in-news/admin/include/toolbar/editcategory_relationselect.php (revision 12830)
+++ trunk/in-news/admin/include/toolbar/editcategory_relationselect.php (nonexistent)
@@ -1,251 +0,0 @@
-<?php
-global $objConfig,$objArticleList,$objCatList,$SearchType,$ItemTabs,$NewsSearch, $TotalItemCount;
-
-global $Bit_All,$Bit_Pending,$Bit_Disabled,$Bit_New,$Bit_Pop,$Bit_Hot,$Bit_Ed,$DefaultTab;
-
-if(strlen($DefaultTab))
-{
- if($DefaultTab=="topics")
- {
- $m_tab_News_hide = 0;
- }
- else
- $m_tab_News_hide = 1;
-}
-
-$Bit_Archived = 128;
-$Bit_LeadCat = 256;
-$Bit_FontLead = 512;
-
-$News_AllValue = 1023;
-
-$NewsView = $objConfig->Get("News_View");
-if(!is_numeric($NewsView))
-{
- $NewsView = $News_AllValue;
-}
-
-$News_SortField = $objConfig->Get('News_SortField');
-if( !strlen($News_SortField) ) $News_SortField = 'Priority';
-
-$News_SortOrder = $objConfig->Get('News_SortOrder');
-if( !strlen($News_SortOrder) ) $News_SortOrder = 'desc';
-
-$Perpage_News = (int)$objConfig->Get("Perpage_News");
-if(!$Perpage_News)
- $Perpage_News="'all'";
-
-
-if($NewsView == $News_AllValue)
-{
- $News_ShowAll = 1;
-}
-else
- $News_ShowAll = 0;
-
-if($News_ShowAll)
-{
- $News_Filter = "";
- $News_View=127;
-}
-else
-{
- $Status = array();
- $Mod = array();
- if($NewsView & $Bit_Pending)
- $Status[] = STATUS_PENDING;
-
- if($NewsView & $Bit_Active)
- $Status[] = STATUS_ACTIVE;
-
-
- if($NewsView & $Bit_Disabled)
- $Status[] = STATUS_DISABLED;
-
- if(count($Status))
- {
- $NewsFilter .= " AND (Status IN (".implode(",",$Status).") ";
- }
- else
- $NewsFilter .= " AND ((Status=-1) ";
-
- if($NewsView & $Bit_Ed)
- {
- $NewsFilter .= " OR (EditorsPick=1) ";
- }
-
- if($NewsView & $Bit_New)
- {
- $cutoff = adodb_date("U") - ($objConfig->Get("News_NewDays") * 86400);
- $NewsFilter .= " OR (CreatedOn > ".$cutoff.") OR (NewItem=1) ";
- }
- if($NewsView & $Bit_Pop)
- {
- $cutoff = GetPopValue();
- if($cutoff>0)
- $NewsFilter .= " OR (CachedRating >= ".$cutoff.") ";
- $NewsFilter .= "OR (PopItem=1) ";
- }
-
- if($NewsView & $Bit_Hot)
- {
- $cutoff = GetNewsHotValue();
- if($cutoff>0)
- $NewsFilter .= " OR (Hits >= ".$cutoff.") ";
- $NewsFilter .= "OR (HotItem=1) ";
- }
-
- if($NewsView & $Bit_Archived)
- $NewsFilter .= " OR (Archived=1) ";
-
- if($NewsView & $Bit_LeadCat)
- $NewsFilter .= " OR (LeadCatStory=1)";
- if($NewsView & $Bit_FrontLead)
- $NewsFilter .= " OR (LeadStory=1)";
-
- $NewsFilter .= ")";
-}
-
-$list = $objSession->GetVariable("SearchWord");
-$NewsSearch = (strlen($list)>0 && $SearchType =="News" || $SearchType=="all") || (strlen($list)==0);
-$objArticleList->Clear();
-
-if($NewsSearch)
-{
- if(strlen($list)==0)
- {
- $objArticleList->LoadArticles("CategoryId=".$objCatList->CurrentCategoryID().$NewsFilter,$objConfig->Get("News_SortField")." ".$objConfig->Get("News_SortOrder"));
- }
- else
- {
- $SearchQuery = $objArticleList->AdminSearchWhereClause($list);
- if(strlen($SearchQuery))
- {
- $SearchQuery = " (".$SearchQuery.")";
- if(strlen($CatScopeClause))
- $SearchQuery .= " AND ".$CatScopeClause;
- $objArticleList->LoadArticles($SearchQuery.$NewsFilter,$objConfig->Get("News_SortField")." ".$objConfig->Get("News_SortOrder"));
- }
- else
- $objArticleList->LoadArticles("CategoryId=".$objCatList->CurrentCategoryID().$NewsFilter,$objConfig->Get("News_SortField")." ".$objConfig->Get("News_SortOrder"));
- }
- if(strlen($NewsFilter)>0)
- {
- $CatTotal = TableCount($objArticleList->SourceTable," CategoryId=".$objCatList->CurrentCategoryID(),TRUE);
- }
- else
- $CatTotal = $objArticleList->QueryItemCount;
-
- $caption = language("la_ItemTab_News");
- $ItemTabs->AddTab(language("la_ItemTab_News"),"news",$objArticleList->QueryItemCount, $m_tab_News_hide,$CatTotal);
-
-$TotalItemCount += $objLinkList->QueryItemCount;
-
-$lang_Leading = language("la_Text_Leading");
-$lang_Archived = language("la_Text_Archived");
-$lang_Title = language("la_Prompt_Title");
-$lang_Excerpt = language("la_prompt_ArticleExcerpt");
-$lang_Author = language("la_prompt_Author");
-$lang_Body = language("la_prompt_ArticleBody");
-$lang_StartDate = language("la_prompt_StartDate");
-$lang_ArchiveDate = language("la_prompt_ArchiveDate");
-$lang_Catlead = language("la_prompt_LeadCat");
-$lang_FrontLead = language("la_prompt_FrontLead");
-$lang_Articles = language("la_Text_Articles");
-
-}
-print <<<END
-
-<script language="JavaScript">
-var News_SortField = '$News_SortField';
-var News_SortOrder = '$News_SortOrder';
-var News_Perpage = $Perpage_News;
-var NewsView = $NewsView;
-var NewsTitle = '$caption';
-
-//News Related language vars
-var lang_Leading = '$lang_Leading';
-var lang_Archived = '$lang_Archived';
-var lang_Title = '$lang_Title';
-var lang_Author = '$lang_Author';
-var lang_Body = '$lang_Body';
-var lang_Excerpt = '$lang_Excerpt';
-var lang_StartDate = '$lang_StartDate';
-var lang_ArchiveDate = '$lang_ArchiveDate';
-var lang_CatLead = "$lang_Catlead";
-var lang_FrontLead = "$lang_FrontLead";
-var lang_Articles = "$lang_Articles";
-var News_Paste = false;
-
-function News_SortMenu()
-{
- sub_menu_sorting_sub = new Menu(NewsTitle);
- sub_menu_sorting_sub.addMenuItem(lang_Asc,"config_val('News_SortOrder','asc');",RadioIsSelected(News_SortOrder,'asc'));
- sub_menu_sorting_sub.addMenuItem(lang_Desc,"config_val('News_SortOrder','desc');",RadioIsSelected(News_SortOrder,'desc'));
- sub_menu_sorting_sub.addMenuSeparator();
-
- sub_menu_sorting_sub.addMenuItem(lang_Default,"config_val('News_SortField','Title');","");
- sub_menu_sorting_sub.addMenuItem(lang_Title,"config_val('News_SortField','Title');",RadioIsSelected(News_SortField,'Title'));
- sub_menu_sorting_sub.addMenuItem(lang_Author,"config_val('News_SortField','Author');",RadioIsSelected(News_SortField,'Author'));
- sub_menu_sorting_sub.addMenuItem(lang_Body,"config_val('News_SortField','Body');",RadioIsSelected(News_SortField,'Body'));
- sub_menu_sorting_sub.addMenuItem(lang_Excerpt,"config_val('News_SortField','Excerpt');",RadioIsSelected(News_SortField,'Excerpt'));
- sub_menu_sorting_sub.addMenuItem(lang_CreatedOn,"config_val('News_SortField','CreatedOn');",RadioIsSelected(News_SortField,'CreatedOn'));
- sub_menu_sorting_sub.addMenuItem(lang_StartDate,"config_val('News_SortField','StartDate');",RadioIsSelected(News_SortField,'StartDate'));
- sub_menu_sorting_sub.addMenuItem(lang_ArchiveDate,"config_val('News_SortField','EndOn');",RadioIsSelected(News_SortField,'EndOn'));
- sub_menu_sorting_sub.addMenuItem(lang_Rating,"config_val('News_SortField','CachedRating');",RadioIsSelected(News_SortField,'CachedRating'));
- sub_menu_sorting_sub.addMenuItem(lang_Votes,"config_val('News_SortField','CachedVotesQty');",RadioIsSelected(News_SortField,'CachedVotesQty'));
- sub_menu_sorting_sub.addMenuItem(lang_Views,"config_val('News_SortField','CachedHits');",RadioIsSelected(News_SortField,'CachedHits'));
-
- return sub_menu_sorting_sub;
-}
-
-function News_FilterMenu()
-{
- menu_filter = new Menu(NewsTitle);
-
- menu_filter.addMenuItem(lang_All,"config_val('News_View', $News_AllValue);",NewsView==$News_AllValue);
- menu_filter.addMenuItem(lang_None,"config_val('News_View', 0);",NewsView==0);
- menu_filter.addMenuSeparator();
- menu_filter.addMenuItem(lang_Active,"FlipBit('News_View',NewsView,6);",BitStatus(NewsView,6));
- menu_filter.addMenuItem(lang_Pending,"FlipBit('News_View',NewsView,5);", BitStatus(NewsView,5));
- menu_filter.addMenuItem(lang_Disabled,"FlipBit('News_View',NewsView,4);",BitStatus(NewsView,4));
- menu_filter.addMenuSeparator();
- menu_filter.addMenuItem(lang_New,"FlipBit('News_View',NewsView,3);",BitStatus(NewsView,3));
- menu_filter.addMenuItem(lang_Pop,"FlipBit('News_View',NewsView,1);",BitStatus(NewsView,1));
- menu_filter.addMenuItem(lang_Hot,"FlipBit('News_View',NewsView,2);",BitStatus(NewsView,2));
- menu_filter.addMenuItem(lang_EdPick,"FlipBit('News_View',NewsView,0);",BitStatus(NewsView,0));
- menu_filter.addMenuItem(lang_CatLead,"FlipBit('News_View',NewsView,8);",BitStatus(NewsView,8));
- menu_filter.addMenuItem(lang_FrontLead,"FlipBit('News_View',NewsView,9);",BitStatus(NewsView,9));
- menu_filter.addMenuItem(lang_Archived,"FlipBit('News_View',NewsView,7);",BitStatus(NewsView,7));
-
- //menu_filter.addMenuSeparator();
- //menu_filter.addMenuItem(lang_Archived,"FlipBit('News_View',NewsView,7);",BitStatus(NewsView,7));
- return menu_filter;
-}
-
-function News_SelectMenu()
-{
- menu_select = new Menu(NewsTitle);
- menu_select.addMenuItem(lang_All,"javascript:selectAll('"+activeTab.id+"');","");
- menu_select.addMenuItem(lang_Unselect,"javascript:unselectAll('"+activeTab.id+"');","");
- menu_select.addMenuItem(lang_Invert,"javascript:invert('"+activeTab.id+"');","");
-
- return menu_select;
-}
-
-function News_PerPageMenu()
-{
- caption = lang_Articles +" "+lang_PerPage;
-
- menu_results = new Menu(caption);
- menu_results.addMenuItem("10","config_val('Perpage_News', '10');",RadioIsSelected(News_Perpage,10));
- menu_results.addMenuItem("20","config_val('Perpage_News', '20');",RadioIsSelected(News_Perpage,20));
- menu_results.addMenuItem("50","config_val('Perpage_News', '50');",RadioIsSelected(News_Perpage,50));
- menu_results.addMenuItem("100","config_val('Perpage_News', '100');",RadioIsSelected(News_Perpage,100));
- menu_results.addMenuItem("500","config_val('Perpage_News', '500');",RadioIsSelected(News_Perpage,500));
- return menu_results;
-}
-
-</script>
-END;
-?>
Property changes on: trunk/in-news/admin/include/toolbar/editcategory_relationselect.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/toolbar/item_select.php
===================================================================
--- trunk/in-news/admin/include/toolbar/item_select.php (revision 12830)
+++ trunk/in-news/admin/include/toolbar/item_select.php (nonexistent)
@@ -1,19 +0,0 @@
-<?php
-global $section, $pathtoroot, $envar, $g_bb_status, $bb_categories_articles, $n_cat_filter, $bb_pending_category, $bb_disabled_category, $bb_category_sort, $bb_category_sortby;
-global $imagesURL, $rootURL, $objSession, $m_tab_CatTab_hide;
-global $targetform,$targetfield,$formtitle,$formaction, $PHP_SELF;
-
-print <<<END
-
-<script language="Javascript">
-
-NewsChecks = new CheckArray();
-
-NewsChecks.formname='newslistform';
-NewsChecks.envar='$envar';
-
-</script>
-
-END;
-
-?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/include/toolbar/item_select.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/toolbar/reviews.php
===================================================================
--- trunk/in-news/admin/include/toolbar/reviews.php (revision 12830)
+++ trunk/in-news/admin/include/toolbar/reviews.php (nonexistent)
@@ -1,128 +0,0 @@
-<?php
-global $objArticleReviewList,$objConfig,$objSession,$ItemTabs,$TotalItemCount,$Bit_All,$Bit_Pending,$Bit_Disabled,$DefaultTab;
-
-$m_tab_News_hide = isset($DefaultTab)&&($DefaultTab=='link_reviews') ? 0 : 1;
-
-$NewsReview_View = $objConfig->Get('NewsReview_View');
-$NewsReview_AllValue = 112;
-
-if(!is_numeric($NewsReview_View)) $NewsReview_View=112;
-
-$Review_Perpage = (int)$objConfig->Get('Perpage_NewsReviews');
-if(!$Review_Perpage) $Review_Perpage="'all'";
-
-if($NewsReview_View==$NewsReview_AllValue)
-{
- $NewsReview_ShowAll = 1;
- $NewsReview_Filter = '';
-}
-else
-{
- // FILTERING CODE V. 1.2
- $where_clauses = Array(); $q = '';
-
- // Group #1: Link Statuses (active,pending,disabled)
- $Status = Array();
- if($NewsReview_View & $Bit_Pending) $Status[] = STATUS_PENDING;
- if($NewsReview_View & $Bit_Active) $Status[] = STATUS_ACTIVE;
- if($NewsReview_View & $Bit_Disabled) $Status[] = STATUS_DISABLED;
- $where_clauses[] = 'Status IN ('.($Status?implode(',', $Status):'-1').')';
-
- $NewsReview_Filter = count($where_clauses) ? '('.implode(') AND (', $where_clauses).')' : '';
-}
-
-
-$list = $objSession->GetVariable('n_review_direct_search');
-
-$objArticleReviewList = new clsItemReviewList();
-$objArticleReviewList->EnablePaging=true;
-$objArticleReviewList->PerPageVar='Perpage_NewsReviews';
-$objArticleReviewList->PageEnvar='n_var_list';
-$objArticleReviewList->PageEnvarIndex='rp';
-$objArticleReviewList->setPageFromENV();
-
-
-$sql = 'SELECT * FROM '.$objArticleReviewList->SourceTable.' ';
-
-$where = 'WHERE (Module=\'In-News\') AND ';
-
-if( $objSession->HasCatPermission("NEWS.VIEW") )
-{
- if(!$list)
- {
- if($NewsReview_Filter) $where.=$NewsReview_Filter;
- $SearchQuery = '';
- }
- else
- {
- $SearchQuery = $objArticleReviewList->AdminSearchWhereClause($list);
- if($SearchQuery)
- {
- $SearchQuery = ' ('.$SearchQuery.')'.($NewsReview_Filter ? ' AND ('.$NewsReview_Filter.')' : '');
- $where.=$SearchQuery;
- }
- else
- {
- if($NewsReview_Filter) $where.=$NewsReview_Filter;
- }
- }
- $sql.=rtrim($where,' AND ').' ORDER BY Priority DESC';
-
- $objArticleReviewList->Query_Item($sql,false,'set_last');
-
- $tmp=rtrim(ltrim($where,'WHERE '),' AND ');
- $objArticleReviewList->QueryItemCount = TableCount($objArticleReviewList->SourceTable, $tmp, 0);
- $CatTotal = QueryCount('SELECT * FROM '.$objArticleReviewList->SourceTable.' WHERE Module=\'In-News\'');
-
- $caption = language("la_ItemTab_News");
- $ItemTabs->AddTab(language("la_ItemTab_News"),"news_reviews",$objArticleReviewList->QueryItemCount, $m_tab_News_hide,$CatTotal);
-
-}
-
-$lang_Reviews = language("la_Text_Reviews");
-$TotalItemCount += $objArticleReviewList->QueryItemCount;
-
-print <<<END
-
-<script language="JavaScript">
-
-var Review_Perpage = $Review_Perpage;
-var NewsReview_View = $NewsReview_View;
-var NewsTitle = '$caption';
-var lang_Reviews = "$lang_Reviews";
-
-
- \$fw_menus['rev.articles_view_menu'] = function()
- {
- // filtring menu
- \$Menus['rev.articles_filtring_menu'] = new Menu(lang_View);
- \$Menus['rev.articles_filtring_menu'].addMenuItem(lang_All,"config_val('NewsReview_View', $NewsReview_AllValue);",NewsReview_View==$NewsReview_AllValue);
- \$Menus['rev.articles_filtring_menu'].addMenuItem(lang_None,"config_val('NewsReview_View', 0);",NewsReview_View==0);
- \$Menus['rev.articles_filtring_menu'].addMenuSeparator();
- \$Menus['rev.articles_filtring_menu'].addMenuItem(lang_Active,"FlipBit('NewsReview_View',NewsReview_View,6);",BitStatus(NewsReview_View,6));
- \$Menus['rev.articles_filtring_menu'].addMenuItem(lang_Pending,"FlipBit('NewsReview_View',NewsReview_View,5);", BitStatus(NewsReview_View,5));
- \$Menus['rev.articles_filtring_menu'].addMenuItem(lang_Disabled,"FlipBit('NewsReview_View',NewsReview_View,4);",BitStatus(NewsReview_View,4));
-
- // perpage menu
- \$Menus['rev.articles_perpage_menu'] = new Menu(lang_PerPage);
- \$Menus['rev.articles_perpage_menu'].addMenuItem("10","config_val('Perpage_NewsReviews', '10');",RadioIsSelected(Review_Perpage,10));
- \$Menus['rev.articles_perpage_menu'].addMenuItem("20","config_val('Perpage_NewsReviews', '20');",RadioIsSelected(Review_Perpage,20));
- \$Menus['rev.articles_perpage_menu'].addMenuItem("50","config_val('Perpage_NewsReviews', '50');",RadioIsSelected(Review_Perpage,50));
- \$Menus['rev.articles_perpage_menu'].addMenuItem("100","config_val('Perpage_NewsReviews', '100');",RadioIsSelected(Review_Perpage,100));
- \$Menus['rev.articles_perpage_menu'].addMenuItem("500","config_val('Perpage_NewsReviews', '500');",RadioIsSelected(Review_Perpage,500));
-
- // select menu
- \$Menus['rev.articles_select_menu'] = new Menu(lang_Select);
- \$Menus['rev.articles_select_menu'].addMenuItem(lang_All,"javascript:selectAllC('"+activeTab.id+"');","");
- \$Menus['rev.articles_select_menu'].addMenuItem(lang_Unselect,"javascript:unselectAll('"+activeTab.id+"');","");
- \$Menus['rev.articles_select_menu'].addMenuItem(lang_Invert,"javascript:invert('"+activeTab.id+"');","");
-
- // view menu
- \$Menus['rev.articles_view_menu'] = new Menu(NewsTitle);
- \$Menus['rev.articles_view_menu'].addMenuItem( \$Menus['rev.articles_filtring_menu'] );
- \$Menus['rev.articles_view_menu'].addMenuItem( \$Menus['rev.articles_perpage_menu'] );
- \$Menus['rev.articles_view_menu'].addMenuItem( \$Menus['rev.articles_select_menu'] );
- }
-</script>
-END;
-?>
Property changes on: trunk/in-news/admin/include/toolbar/reviews.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/toolbar/editarticle_images.php
===================================================================
--- trunk/in-news/admin/include/toolbar/editarticle_images.php (revision 12830)
+++ trunk/in-news/admin/include/toolbar/editarticle_images.php (nonexistent)
@@ -1,304 +0,0 @@
-<?php
-global $envar,$rootURL,$imagesURL, $objConfig,$imgFilter, $admin, $adminURL;
-
-$group_select = $adminURL."/users/group_select.php";
-//$item_select = $rootURL."admin/relation_select.php";
-$item_select = $adminURL."/relations/item_type.php";
-$cat_select = $adminURL."/cat_select.php";
-
-$Img_AllValue = 3;
-
-$Bit_Enabled=1;
-$Bit_Disabled=2;
-
-$ImgView = $objConfig->Get("NewsImg_View");
-
-if(!is_numeric($ImgView))
-{
- $ImgView = $Img_AllValue;
-}
-else
-{
- if($ImgView & $Bit_Enabled)
- $Filters[] = "img.Enabled=1";
-
- if($ImgView & $Bit_Disabled)
- $Filters[] = "img.Enabled=0";
-
- if(count($Filters))
- {
- $imgFilter = implode(" OR ",$Filters);
- }
- else
- $imgFilter = "ImageId = -1";
-}
-
-$SortField = $objConfig->Get("NewsImage_LV_Sortfield");
-if(!strlen($SortField))
- $SortField = "Name";
-
-$SortOrder = $objConfig->Get("NewsImage_LV_Sortorder");
-if(!strlen($SortOrder))
- $SortOrder = "desc";
-
-$Perpage_Images = (int)$objConfig->Get("Perpage_Images");
-if(!$Perpage_Images)
- $Perpage_Images = 20;
-
-$lang_Alt = admin_language("la_prompt_AltName");
-$lang_Images = admin_language("la_Text_Images");
-$errormsg = admin_language("la_validation_AlertMsg");
-
-
-print<<<END
-
-<script language="JavaScript1.2" src="$adminURL/include/checkarray.js"></script>
-
-<script language="javascript1.2">
-<!--
-
-var ImgView = $ImgView;
-var Img_Perpage = $Perpage_Images;
-var Img_Sortfield = "$SortField";
-var Img_Sortorder = "$SortOrder";
-var lang_Alt = "$lang_Alt";
-var lang_Images = "$lang_Images";
-var doubleClickAction = "PermChecks.check_submit('addimage', '');";
-var ErrorMsg = '$errormsg';
-
-
-
-PermChecks = new CheckArray();
-
-PermChecks.formname='imagelistform';
-PermChecks.envar='$envar';
-
-function SetFieldEnable(el,TargetFieldId)
-{
- t = document.getElementById(TargetFieldId);
- if(el.checked)
- {
- t.disabled = true;
- }
- else
- t.disabled = false;
-}
-
-function enableFullImage(el)
-{
- SetFieldEnable(el,'imgFullFile');
- SetFieldEnable(el,'imgFullUrl');
- SetFieldEnable(el,'full1');
- SetFieldEnable(el,'full2');
-}
-
-//function used by the edit tabs to submit to temp tables
-function edit_submit(formname, targetURL)
-{
- var env_str = '$envar';
-
- document.location = '$rootURL' + targetURL + '?' + env_str;
-}
-
-function do_edit_save(formname, targetURL,save_value)
-{
- var env_str = '$envar';
-
- f = document.getElementById(formname);
- if(f)
- {
- f.action = '$rootURL' + targetURL + '?' + env_str;
- f.NewsEditStatus.value = save_value; //0= stay in temp, 1=save to perm, 2 = purge no save
- f.submit();
- }
- else
- alert('Form '+formname+' was not found.');
-}
-
-
-function DataIsValid(f)
-{
- var result=true;
-
- s = document.getElementById("prompt_imgName");
- if(f.imgName.value.length)
- {
- s.className = "text";
- }
- else
- {
- result = false;
- s.className = "validation_error";
- }
-
- s = document.getElementById("prompt_imgAlt");
- if(f.imgAlt.value.length)
- {
- s.className = "text";
- }
- else
- {
- result = false;
- s.className = "validation_error";
- }
-
- return result;
-}
-
-function do_image_save(formname, targetURL,save_value)
-{
- var env_str = '$envar';
-
- f = document.getElementById(formname);
- if(f)
- {
- valid = DataIsValid(f);
- if(valid || save_value==-1)
- {
- f.action = '$rootURL' + targetURL + '?' + env_str;
- f.NewsEditStatus.value = save_value; //0= stay in temp, 1=save to perm, 2 = purge no save
- f.submit();
- }
- else
- if(!valid)
- alert(ErrorMsg);
-
- }
- else
- alert('Form '+formname+' was not found.');
-}
-
-function ShowViewMenu()
-{
- button = document.getElementById('viewmenubutton');
-
- x = getRealLeft(button);
- y = getRealTop(button);
-
- fwLoadMenus();
-
- window.FW_showMenu(window.view_menu,x,y+32);
- return false;
-}
-
-
-function fwLoadMenus() {
-
- window.menu_filter = new Menu(lang_View);
-
- menu_filter.imagePath = "$imagesURL"+'/';
- menu_filter.addMenuItem(lang_All,"config_val('NewsImg_View',$Img_AllValue);",ImgView==$Img_AllValue);
- menu_filter.addMenuSeparator();
-
- menu_filter.addMenuItem(lang_Enabled,"FlipBit('NewsImg_View',ImgView,0);",BitStatus(ImgView,0));
- menu_filter.addMenuItem(lang_Disabled,"FlipBit('NewsImg_View',ImgView,1);",BitStatus(ImgView,1));
-
-
- window.menu_sorting = new Menu(lang_Sort);
- menu_sorting.imagePath = "$imagesURL"+'/';
- menu_sorting.addMenuItem(lang_Asc,"config_val('NewsImage_LV_Sortorder','asc');",RadioIsSelected(Img_Sortorder,'asc'));
- menu_sorting.addMenuItem(lang_Desc,"config_val('NewsImage_LV_Sortorder','desc');",RadioIsSelected(Img_Sortorder,'desc'));
- menu_sorting.addMenuSeparator();
- menu_sorting.addMenuItem(lang_Default,"config_val('NewsImage_LV_Sortfield','FullName');","");
- menu_sorting.addMenuItem(lang_Name,"config_val('NewsImage_LV_Sortfield','FullName');",RadioIsSelected(Img_Sortfield,'FullName'));
- menu_sorting.addMenuItem(lang_Alt,"config_val('NewsImage_LV_Sortfield','AltName');",RadioIsSelected(Img_Sortfield,'AltName'));
- menu_sorting.addMenuItem(lang_URL,"config_val('NewsImage_LV_Sortfield','ShowURL');",RadioIsSelected(Img_Sortfield,'ShowURL'));
- menu_sorting.addMenuItem(lang_Status,"config_val('NewsImage_LV_Sortfield','Status');",RadioIsSelected(Img_Sortfield,'Status'));
-
-
- window.menu_results = new Menu(lang_Images+' '+lang_PerPage);
- menu_results.imagePath = "$imagesURL"+'/';
- menu_results.addMenuItem("10","config_val('Perpage_Images', '10');",RadioIsSelected(Img_Perpage,10));
- menu_results.addMenuItem("20","config_val('Perpage_Images', '20');",RadioIsSelected(Img_Perpage,20));
- menu_results.addMenuItem("50","config_val('Perpage_Images', '50');",RadioIsSelected(Img_Perpage,50));
- menu_results.addMenuItem("100","config_val('Perpage_Images', '100');",RadioIsSelected(Img_Perpage,100));
- menu_results.addMenuItem("500","config_val('Perpage_Images', '500');",RadioIsSelected(Img_Perpage,500));
-
- window.menu_select = new Menu(lang_Select);
- menu_select.addMenuItem(lang_All,"PermChecks.selectAll(true);","");
- menu_select.addMenuItem(lang_Unselect,"PermChecks.selectAll(false);","");
- menu_select.addMenuItem(lang_Invert,"PermChecks.invertItems();","");
-
- window.view_menu = new Menu("root");
- view_menu.imagePath = "$imagesURL"+'/';
- window.view_menu.addMenuItem(menu_filter);
- window.view_menu.addMenuItem(menu_sorting);
- window.view_menu.addMenuItem(menu_results);
- window.view_menu.addMenuItem(menu_select);
-
- window.triedToWriteMenus = false;
- window.view_menu.writeMenus();
-
-} // fwLoadMenus()
-
-//function called when a listview item is double clicked
-function handleDoubleClick()
-{
- PermChecks.check_submit('addimage', '');
-}
-
-//function called to create the right click popup menu
-function initContextMenu()
-{
- window.contextMenu = new Menu("Context");
- contextMenu.addMenuItem(lang_Edit,"PermChecks.check_submit('addimage', '');","");
- contextMenu.addMenuItem(lang_Delete,"PermChecks.check_submit('addcategory_images', 'm_img_delete');","");
- contextMenu.addMenuSeparator();
- contextMenu.addMenuItem(lang_MoveUp,"PermChecks.check_submit('addcategory_images', 'm_img_move_up');","");
- contextMenu.addMenuItem(lang_MoveDn,"PermChecks.check_submit('addcategory_images', 'm_img_move_down');","");
-
- window.triedToWriteMenus = false;
- window.contextMenu.writeMenus();
- return true;
-}
-
-function toggleTabA(tabId)
-{
- //alert('toggling '+tabId);
- toggleTab(tabId);
- var hl = document.getElementById("hidden_line");
- if (hl)
- hl.style.display = "none";
- tab_hdr = document.getElementById('tab_headers');
- if (!tab_hdr)
- {
- //alert('Cant find tab header container');
- return;
- }
- //alert('Tab header found..');
- for (var i = 0; i < tabIDs.length; i++)
- {
- var tabHeader;
- TDs = tab_hdr.getElementsByTagName("TD");
- for (var j = 0; j < TDs.length; j++)
- if (TDs[j].getAttribute("tabHeaderOf") == tabIDs[i])
- {
- tabHeader = TDs[j];
- break;
- }
- if (!tabHeader)
- {
- //alert('Couldnt find tab header');
- continue;
- }
- var tab = document.getElementById(tabIDs[i]);
- if (!tab)
- {
- //alert('Couldnt find tab!');
- continue;
- }
- tabHeader.setAttribute("background", "$imagesURL/itemtabs/" + ((tab.active) ? "tab_active" : "tab_inactive") + ".gif")
-
- var images = tabHeader.getElementsByTagName("IMG");
- if (images.length < 1) continue;
-
- images[0].src = "$imagesURL/itemtabs/" + ((tab.active) ? "divider_up" : "divider_empty") + ".gif";
- }
-}
-
-
-//-->
-</script>
-
-END;
-?>
Property changes on: trunk/in-news/admin/include/toolbar/editarticle_images.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/toolbar/editarticle_relations.php
===================================================================
--- trunk/in-news/admin/include/toolbar/editarticle_relations.php (revision 12830)
+++ trunk/in-news/admin/include/toolbar/editarticle_relations.php (nonexistent)
@@ -1,293 +0,0 @@
-<?php
-global $envar,$rootURL,$imagesURL, $RelFilter, $adminURL, $admin;
-
-$group_select = $adminURL."/users/group_select.php";
-$item_select = $adminURL."/relation_select.php";
-
-$Rel_AllValue = 255;
-
-$Bit_Categories = 1;
-$Bit_Links = 2;
-$Bit_News = 4;
-$Bit_Topics = 8;
-
-$Bit_OneWay = 16;
-$Bit_Recip = 32;
-
-$Bit_Enabled=64;
-$Bit_Disabled=128;
-
-$RelView = $objConfig->Get("NewsRel_View");
-
-if(!is_numeric($RelView))
-{
- $RelView = $Rel_AllValue;
-}
-else
-{
- $RelTypes = array();
- if($RelView & $Bit_Categories)
- $RelTypes[] = 1;
- if($RelView & $Bit_Links)
- $RelTypes[] = 4;
- if($RelView & $Bit_News)
- $RelTypes[] = 2;
- if($RelView & $Bit_Topics)
- $RelTypes[] = 3;
-
- $RelFilters = array();
-
- if(count($RelTypes))
- {
- $TypeFilter = "rel.TargetType IN (".implode(",",$RelTypes).")";
- }
-
- $RelTypes = array();
- if($RelView & $Bit_OneWay)
- $RelTypes[] = 0;
-
- if($RelView & $Bit_Recip)
- $RelTypes[] = 1;
-
- if(count($RelTypes))
- $RelFilters[] = "rel.Type IN (".implode(",",$RelTypes).")";
-
- if($RelView & $Bit_Enabled)
- $RelFilters[] = "rel.Enabled=1";
-
- if($RelView & $Bit_Disabled)
- $RelFilters[] = "rel.Enabled=0";
-
- if(count($RelFilters))
- {
- $RelFilter = $TypeFilter." AND (". implode(" OR ",$RelFilters).")";
- }
- else
- $RelFilter = $TypeFilter;
-}
-
-$Perpage_Relations = (int)$objConfig->Get("Perpage_Relations");
-if(!$Perpage_Relations)
- $PerPage_Relations = 20;
-
-$SortOrder = $objConfig->Get("NewsRelation_LV_Sortorder");
-if(!strlen($SortOrder))
- $SortOrder = "desc";
-
-$SortField = $objConfig->Get("NewsRelation_LV_Sortfield");
-if(!strlen($SortField))
- $SortField = "ItemName";
-
-$lang_Links = admin_language("la_Text_Links");
-$lang_Articles = admin_language("la_Text_Articles");
-$lang_Topics = admin_language("la_Text_Topics");
-$lang_OneWay = admin_language("la_Text_OneWay");
-$lang_Recip = admin_language("la_Text_Reciprocal");
-$lang_ItemName = admin_language("la_ColHeader_Item");
-$lang_ItemType = admin_language("la_ColHeader_ItemType");
-$lang_RelType = admin_language("la_prompt_RelationType");
-$lang_Relations = admin_language("la_Text_Relations");
-$lang_Categories = admin_language("la_ItemTab_Categories");
-
-
-
-print<<<END
-
-<script language="JavaScript1.2" src="$adminURL/include/checkarray.js"></script>
-
-<script language="javascript1.2">
-<!--
-
-PermChecks = new CheckArray();
-
-PermChecks.formname='permlistform';
-PermChecks.envar='$envar';
-
-
-var RelView = $RelView;
-var Rel_Perpage = $Perpage_Relations;
-var Rel_Sortfield = "$SortField";
-var Rel_Sortorder = "$SortOrder";
-
-var lang_Links = "$lang_Links";
-var lang_Articles = "$lang_Articles";
-var lang_Topics = "$lang_Topics";
-var lang_OneWay = "$lang_OneWay";
-var lang_Recip = "$lang_Recip";
-
-var lang_ItemName = "$lang_ItemName";
-var lang_ItemType = "$lang_ItemType";
-var lang_RelType = "$lang_RelType";
-var lang_Relations = "$lang_Relations";
-var lang_Categories = "$lang_Categories";
-
-
-//function used by the edit tabs to submit to temp tables
-function edit_submit(formname, targetURL)
-{
- var env_str = '$envar';
-
- document.location = '$rootURL' + targetURL + '?' + env_str;
-
-}
-
-function do_edit_save(formname, targetURL,save_value)
-{
- var env_str = '$envar';
-
- f = document.getElementById(formname);
- if(f)
- {
- f.action = '$rootURL' + targetURL + '?' + env_str;
-
- f.NewsEditStatus.value = save_value; //0= stay in temp, 1=save to perm, 2 = purge no save
- f.submit();
- }
- else
- alert('Form '+formname+' was not found.');
-}
-
-function ShowViewMenu()
-{
- button = document.getElementById('viewmenubutton');
-
- x = getRealLeft(button);
- y = getRealTop(button);
-
- fwLoadMenus();
- window.FW_showMenu(window.view_menu,x,y+32);
- return false;
-}
-
-
-function fwLoadMenus() {
-
- window.menu_filter = new Menu(lang_View);
-
- menu_filter.imagePath = "$imagesURL"+'/';
- menu_filter.addMenuItem(lang_All,"config_val('NewsRel_View',$Rel_AllValue);",RelView==$Rel_AllValue);
- menu_filter.addMenuSeparator();
-
- menu_filter.addMenuItem(lang_Categories,"FlipBit('NewsRel_View',RelView,0);",BitStatus(RelView,0));
- menu_filter.addMenuItem(lang_Links,"FlipBit('NewsRel_View',RelView,1);",BitStatus(RelView,1));
- menu_filter.addMenuItem(lang_Articles,"FlipBit('NewsRel_View',RelView,2);",BitStatus(RelView,2));
- menu_filter.addMenuItem(lang_Topics,"FlipBit('NewsRel_View',RelView,3);",BitStatus(RelView,3));
- menu_filter.addMenuSeparator();
-
- menu_filter.addMenuItem(lang_OneWay,"FlipBit('NewsRel_View',RelView,4);",BitStatus(RelView,4));
- menu_filter.addMenuItem(lang_Recip,"FlipBit('NewsRel_View',RelView,5);",BitStatus(RelView,5));
- menu_filter.addMenuSeparator();
- menu_filter.addMenuItem(lang_Enabled,"FlipBit('NewsRel_View',RelView,6);",BitStatus(RelView,6));
- menu_filter.addMenuItem(lang_Disabled,"FlipBit('NewsRel_View',RelView,7);",BitStatus(RelView,7));
-
-
- window.menu_sorting = new Menu(lang_Sort);
- menu_sorting.imagePath = "$imagesURL"+'/';
- menu_sorting.addMenuItem(lang_Asc,"config_val('NewsRelation_LV_Sortorder','asc');",RadioIsSelected(Rel_Sortorder,'asc'));
- menu_sorting.addMenuItem(lang_Desc,"config_val('NewsRelation_LV_Sortorder','desc');",RadioIsSelected(Rel_Sortorder,'desc'));
- menu_sorting.addMenuSeparator();
- menu_sorting.addMenuItem(lang_Default,"config_val('NewsRelation_LV_Sortfield','ItemName');","");
- menu_sorting.addMenuItem(lang_ItemName,"config_val('NewsRelation_LV_Sortfield','ItemName');",RadioIsSelected(Rel_Sortfield,'ItemName'));
- menu_sorting.addMenuItem(lang_ItemType,"config_val('NewsRelation_LV_Sortfield','ItemType');",RadioIsSelected(Rel_Sortfield,'ItemType'));
- menu_sorting.addMenuItem(lang_RelType,"config_val('NewsRelation_LV_Sortfield','RelationType');",RadioIsSelected(Rel_Sortfield,'RelationType'));
-
-
- window.menu_results = new Menu(lang_Relations+' '+lang_PerPage);
- menu_results.imagePath = "$imagesURL"+'/';
- menu_results.addMenuItem("10","config_val('Perpage_Relations', '10');",RadioIsSelected(Rel_Perpage,10));
- menu_results.addMenuItem("20","config_val('Perpage_Relations', '20');",RadioIsSelected(Rel_Perpage,20));
- menu_results.addMenuItem("50","config_val('Perpage_Relations', '50');",RadioIsSelected(Rel_Perpage,50));
- menu_results.addMenuItem("100","config_val('Perpage_Relations', '100');",RadioIsSelected(Rel_Perpage,100));
- menu_results.addMenuItem("500","config_val('Perpage_Relations', '500');",RadioIsSelected(Rel_Perpage,500));
-
- window.menu_select = new Menu(lang_Select);
- menu_select.addMenuItem(lang_All,"PermChecks.selectAll(true);","");
- menu_select.addMenuItem(lang_Unselect,"PermChecks.selectAll(false);","");
- menu_select.addMenuItem(lang_Invert,"PermChecks.invertItems();","");
-
- window.view_menu = new Menu("root");
- view_menu.imagePath = "$imagesURL"+'/';
- window.view_menu.addMenuItem(menu_filter);
- window.view_menu.addMenuItem(menu_sorting);
- window.view_menu.addMenuItem(menu_results);
- window.view_menu.addMenuItem(menu_select);
-
- window.triedToWriteMenus = false;
- window.view_menu.writeMenus();
-
-} // fwLoadMenus()
-
-//function called when a listview item is double clicked
-function handleDoubleClick()
-{
- PermChecks.check_submit('addrelation', '');
-}
-
-//function called to create the right click popup menu
-function initContextMenu()
-{
- window.contextMenu = new Menu("Context");
- contextMenu.addMenuItem(lang_Edit,"PermChecks.check_submit('addrelation', '');","");
- contextMenu.addMenuItem(lang_Delete,"PermChecks.check_submit('addcategory_relations', 'm_rel_delete');","");
- contextMenu.addMenuSeparator();
- contextMenu.addMenuItem(lang_MoveUp,"PermChecks.check_submit('addcategory_relations', 'm_rel_move_up');","");
- contextMenu.addMenuItem(lang_MoveDn,"PermChecks.check_submit('addcategory_relations', 'm_rel_move_down');","");
-
- window.triedToWriteMenus = false;
- window.contextMenu.writeMenus();
- return true;
-}
-
-
-
-
-function toggleTabA(tabId)
-{
- //alert('toggling '+tabId);
- toggleTab(tabId);
- var hl = document.getElementById("hidden_line");
- if (hl)
- hl.style.display = "none";
- tab_hdr = document.getElementById('tab_headers');
- if (!tab_hdr)
- {
- //alert('Cant find tab header container');
- return;
- }
- //alert('Tab header found..');
- for (var i = 0; i < tabIDs.length; i++)
- {
- var tabHeader;
- TDs = tab_hdr.getElementsByTagName("TD");
- for (var j = 0; j < TDs.length; j++)
- if (TDs[j].getAttribute("tabHeaderOf") == tabIDs[i])
- {
- tabHeader = TDs[j];
- break;
- }
- if (!tabHeader)
- {
- //alert('Couldnt find tab header');
- continue;
- }
- var tab = document.getElementById(tabIDs[i]);
- if (!tab)
- {
- //alert('Couldnt find tab!');
- continue;
- }
- tabHeader.setAttribute("background", "$imagesURL/itemtabs/" + ((tab.active) ? "tab_active" : "tab_inactive") + ".gif")
-
- var images = tabHeader.getElementsByTagName("IMG");
- if (images.length < 1) continue;
-
- images[0].src = "$imagesURL/itemtabs/" + ((tab.active) ? "divider_up" : "divider_empty") + ".gif";
- }
-}
-
-
-//-->
-</script>
-
-END;
-?>
Property changes on: trunk/in-news/admin/include/toolbar/editarticle_relations.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/toolbar/editarticle_review.php
===================================================================
--- trunk/in-news/admin/include/toolbar/editarticle_review.php (revision 12830)
+++ trunk/in-news/admin/include/toolbar/editarticle_review.php (nonexistent)
@@ -1,115 +0,0 @@
-<?php
- global $envar,$rootURL;
-
-
-print<<<END
-
-<script language="javascript1.2">
-<!--
-
-
-//function used by the edit tabs to submit to temp tables
-function edit_submit(formname, targetURL)
-{
- var env_str = '$envar';
-
- document.location = '$rootURL' + targetURL + '?' + env_str;
-
-}
-
-function DataIsValid(f)
-{
- var result=true;
-
- s = document.getElementById("prompt_review_body");
- if(f.review_body.value.length==0)
- {
- result = false;
- s.className = "validation_error";
- }
- else
- s.className = "text";
-
- s = document.getElementById("prompt_review_date");
- if(!ValidDate(f.review_date.value))
- {
- result = false;
- s.className = "validation_error";
- }
- else
- s.className = "text";
-
- s = document.getElementById("prompt_review_time");
- if(!ValidTime(f.review_time.value))
- {
- result = false;
- s.className = "validation_error";
- }
- else
- s.className = "text";
-
- return result;
-}
-
-function InitValidation()
-{
- var ValContainers = document.body.getElementsByTagName("SPAN");
-
- for (var i = 0; i < ValContainers.length; i++)
- if (ValContainers[i].className=="validation_error")
- ValContainers[i].style.display="none";
-
-}
-
-function do_save_review(formname, targetURL,save_value)
-{
- var env_str = '$envar';
-
- f = document.getElementById(formname);
- if(f)
- {
- valid = DataIsValid(f);
- if(valid || save_value==-1)
- {
- if(save_value==-1)
- {
- edit_submit(formname,targetURL);
- }
- else
- {
- f.action = '$rootURL' + targetURL + '?' + env_str;
- f.NewsEditStatus.value = save_value; //0= stay in temp, 1=save to perm, 2 = purge no save
- f.submit();
- }
- }
- else
- if(!valid)
- alert(ErrorMsg);
-
- }
- else
- alert('Form '+formname+' was not found.');
-}
-
-
-function do_edit_save(formname, targetURL,save_value)
-{
- var env_str = '$envar';
-
- f = document.getElementById(formname);
- if(f)
- {
- f.action = '$rootURL' + targetURL + '?' + env_str;
-
- f.NewsEditStatus.value = save_value; //0= stay in temp, 1=save to perm, 2 = purge no save
- f.submit();
- }
- else
- alert('Form '+formname+' was not found.');
-}
-
-//-->
-</script>
-
-END;
-?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/include/toolbar/editarticle_review.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/toolbar/browse.php
===================================================================
--- trunk/in-news/admin/include/toolbar/browse.php (revision 12830)
+++ trunk/in-news/admin/include/toolbar/browse.php (nonexistent)
@@ -1,256 +0,0 @@
-<?php
-global $objConfig,$objArticleList,$objCatList,$SearchType,$ItemTabs,$NewsSearch, $TotalItemCount;
-
-global $Bit_All,$Bit_Pending,$Bit_Disabled,$Bit_New,$Bit_Pop,$Bit_Hot,$Bit_Ed,$DefaultTab;
-
-$m_tab_News_hide = 0;
-if(strlen($DefaultTab))
-{
- $m_tab_News_hide = ($DefaultTab=="news") ? 0 : 1;
-}
-
-$Bit_Archived = 128;
-$Bit_LeadCat = 256;
-$Bit_FontLead = 512;
-
-$News_AllValue = 1023;
-
-$NewsView = $objConfig->Get("News_View");
-if(!is_numeric($NewsView))
-{
- $NewsView = $News_AllValue;
-}
-
-// set default sorting parameters
-$News_SortField = $objConfig->Get('News_SortField');
-if( !strlen($News_SortField) ) $News_SortField = 'Priority';
-
-$News_SortOrder = $objConfig->Get('News_SortOrder');
-if( !strlen($News_SortOrder) ) $News_SortOrder = 'desc';
-
-$Perpage_News = (int)$objConfig->Get("Perpage_News");
-
-if(!$Perpage_News)
- $Perpage_News=20;
-
-if($NewsView == $News_AllValue)
-{
- $News_ShowAll = 1;
-}
-else
- $News_ShowAll = 0;
-
-if($News_ShowAll)
-{
- $NewsFilter = "";
- $News_View = 1023;
-}
-else
-{
- $Status = array();
- $Mod = array();
- if($NewsView & $Bit_Pending)
- $Status[] = STATUS_PENDING;
-
- if($NewsView & $Bit_Active)
- $Status[] = STATUS_ACTIVE;
-
-
- if($NewsView & $Bit_Disabled)
- $Status[] = STATUS_DISABLED;
-
- if(count($Status))
- {
- $NewsFilter .= " AND (Status IN (".implode(",",$Status).") ";
- }
- else
- $NewsFilter .= " AND ((Status=-1) ";
-
- if($NewsView & $Bit_Ed)
- {
- $NewsFilter .= " OR (EditorsPick=1) ";
- }
-
- if($NewsView & $Bit_New)
- {
- $cutoff = adodb_date("U") - ($objConfig->Get("News_NewDays") * 86400);
- $NewsFilter .= " OR (CreatedOn > ".$cutoff.") OR (NewItem=1) ";
- }
- if($NewsView & $Bit_Pop)
- {
- $cutoff = $objArticleList->GetPopValue();
- if($cutoff>0)
- $NewsFilter .= " OR (CachedRating >= ".$cutoff.") ";
- $NewsFilter .= "OR (PopItem=1) ";
- }
-
- if($NewsView & $Bit_Hot)
- {
- $cutoff = $objArticleList->GetHotValue();
- if($cutoff>0)
- $NewsFilter .= " OR (Hits >= ".$cutoff.") ";
- $NewsFilter .= "OR (HotItem=1) ";
- }
-
- if($NewsView & $Bit_Archived)
- $NewsFilter .= " OR (Archived=1) ";
-
- if($NewsView & $Bit_LeadCat)
- $NewsFilter .= " OR (LeadCatStory=1)";
- if($NewsView & $Bit_FrontLead)
- $NewsFilter .= " OR (LeadStory=1)";
-
- $NewsFilter .= ")";
-}
-
-$list = $objSession->GetVariable("SearchWord");
-$NewsSearch = (strlen($list)>0 && $SearchType =="News" || $SearchType=="all");// || (strlen($list)==0);
-$objArticleList->Clear();
-$NewsSearch = $NewsSearch && ($objSession->HasCatPermission("NEWS.VIEW"));
-
-$objArticleList->EnablePaging = TRUE;
-
-if($NewsSearch)
-{
- $OrderBy = $objArticleList->QueryOrderByClause(TRUE,TRUE,TRUE);
- if(strlen($list)==0)
- {
- $where = "CategoryId=".$objCatList->CurrentCategoryID().$NewsFilter;
-
- $objArticleList->LoadArticles($where,$OrderBy);
- }
- else
- {
- $SearchQuery = $objArticleList->AdminSearchWhereClause($list);
- if(strlen($SearchQuery))
- {
- $SearchQuery = " (".$SearchQuery.")";
- if(strlen($CatScopeClause))
- $SearchQuery .= " AND ".$CatScopeClause;
-
- $objArticleList->LoadArticles($SearchQuery.$NewsFilter,$OrderBy);
- }
- else
- $objArticleList->LoadArticles("CategoryId=".$objCatList->CurrentCategoryID().$NewsFilter,$OrderBy);
- }
- //if(strlen($NewsFilter)>0)
- //{
- $CatTotal = TableCount($objArticleList->SourceTable," CategoryId=".$objCatList->CurrentCategoryID(),TRUE);
- //}
- //else
- //$CatTotal = $objArticleList->QueryItemCount;
-
-// $where = $objArticleList->AdminSearchWhereClause($list);
-// $objArticleList->QueryItemCount = TableCount($objArticleList->SourceTable, $SearchQuery,TRUE);
- $ItemTabs->AddTab(language("la_ItemTab_News"),"news",$objArticleList->QueryItemCount, $m_tab_News_hide,$CatTotal);
-
- $TotalItemCount += $objArticleList->QueryItemCount;
-
- $News_Paste = "false";
- if($objArticleList->ItemsOnClipboard()>0)
- $News_Paste = "true";
-}
-else
- $News_Paste = "false";
-
-$caption = language("la_ItemTab_News");
-
-$lang_Leading = language("la_Text_Leading");
-$lang_Archived = language("la_Text_Archived");
-$lang_Title = language("la_Prompt_Title");
-$lang_Excerpt = language("la_prompt_ArticleExcerpt");
-$lang_Author = language("la_prompt_Author");
-$lang_Body = language("la_prompt_ArticleBody");
-$lang_StartDate = language("la_prompt_StartDate");
-$lang_ArchiveDate = language("la_prompt_ArchiveDate");
-$lang_Catlead = language("la_prompt_LeadCat");
-$lang_FrontLead = language("la_prompt_FrontLead");
-$lang_Articles = language("la_Text_Articles");
-
-print <<<END
-
-<script language="JavaScript">
-var News_SortField = '$News_SortField';
-var News_SortOrder = '$News_SortOrder';
-var News_Perpage = $Perpage_News;
-var NewsView = $NewsView;
-var NewsTitle = '$caption';
-
-//News Related language vars
-var lang_Leading = '$lang_Leading';
-var lang_Archived = '$lang_Archived';
-var lang_Title = '$lang_Title';
-var lang_Author = '$lang_Author';
-var lang_Body = '$lang_Body';
-var lang_Excerpt = '$lang_Excerpt';
-var lang_StartDate = '$lang_StartDate';
-var lang_ArchiveDate = '$lang_ArchiveDate';
-var lang_CatLead = "$lang_Catlead";
-var lang_FrontLead = "$lang_FrontLead";
-var lang_Articles = "$lang_Articles";
-var News_Paste = $News_Paste;
-
-PasteButton = PasteButton || News_Paste;
-
-
- \$fw_menus['n_view_menu'] = function()
- {
- // filtring menu
- \$Menus['n_filtring_menu'] = new Menu(lang_View);
- \$Menus['n_filtring_menu'].addMenuItem(lang_All,"config_val('News_View', $News_AllValue);",NewsView==$News_AllValue);
- \$Menus['n_filtring_menu'].addMenuItem(lang_None,"config_val('News_View', 0);",NewsView==0);
- \$Menus['n_filtring_menu'].addMenuSeparator();
- \$Menus['n_filtring_menu'].addMenuItem(lang_Active,"FlipBit('News_View',NewsView,6);",BitStatus(NewsView,6));
- \$Menus['n_filtring_menu'].addMenuItem(lang_Pending,"FlipBit('News_View',NewsView,5);", BitStatus(NewsView,5));
- \$Menus['n_filtring_menu'].addMenuItem(lang_Disabled,"FlipBit('News_View',NewsView,4);",BitStatus(NewsView,4));
- \$Menus['n_filtring_menu'].addMenuSeparator();
- \$Menus['n_filtring_menu'].addMenuItem(lang_New,"FlipBit('News_View',NewsView,3);",BitStatus(NewsView,3));
- \$Menus['n_filtring_menu'].addMenuItem(lang_Pop,"FlipBit('News_View',NewsView,1);",BitStatus(NewsView,1));
- \$Menus['n_filtring_menu'].addMenuItem(lang_Hot,"FlipBit('News_View',NewsView,2);",BitStatus(NewsView,2));
- \$Menus['n_filtring_menu'].addMenuItem(lang_EdPick,"FlipBit('News_View',NewsView,0);",BitStatus(NewsView,0));
- \$Menus['n_filtring_menu'].addMenuItem(lang_CatLead,"FlipBit('News_View',NewsView,8);",BitStatus(NewsView,8));
- \$Menus['n_filtring_menu'].addMenuItem(lang_FrontLead,"FlipBit('News_View',NewsView,9);",BitStatus(NewsView,9));
- \$Menus['n_filtring_menu'].addMenuItem(lang_Archived,"FlipBit('News_View',NewsView,7);",BitStatus(NewsView,7));
-
- // sorting menu
- \$Menus['n_sorting_menu'] = new Menu(lang_Sort);
- \$Menus['n_sorting_menu'].addMenuItem(lang_Asc,"config_val('News_SortOrder','asc');",RadioIsSelected(News_SortOrder,'asc'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Desc,"config_val('News_SortOrder','desc');",RadioIsSelected(News_SortOrder,'desc'));
- \$Menus['n_sorting_menu'].addMenuSeparator();
- \$Menus['n_sorting_menu'].addMenuItem(lang_Default,"config_val('News_SortField','Title');","");
- \$Menus['n_sorting_menu'].addMenuItem(lang_Title,"config_val('News_SortField','Title');",RadioIsSelected(News_SortField,'Title'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Author,"config_val('News_SortField','Author');",RadioIsSelected(News_SortField,'Author'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Body,"config_val('News_SortField','Body');",RadioIsSelected(News_SortField,'Body'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Excerpt,"config_val('News_SortField','Excerpt');",RadioIsSelected(News_SortField,'Excerpt'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_CreatedOn,"config_val('News_SortField','CreatedOn');",RadioIsSelected(News_SortField,'CreatedOn'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_StartDate,"config_val('News_SortField','StartDate');",RadioIsSelected(News_SortField,'StartDate'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_ArchiveDate,"config_val('News_SortField','EndOn');",RadioIsSelected(News_SortField,'EndOn'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Rating,"config_val('News_SortField','CachedRating');",RadioIsSelected(News_SortField,'CachedRating'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Votes,"config_val('News_SortField','CachedVotesQty');",RadioIsSelected(News_SortField,'CachedVotesQty'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Views,"config_val('News_SortField','CachedHits');",RadioIsSelected(News_SortField,'CachedHits'));
-
- // perpage menu
- \$Menus['n_perpage_menu'] = new Menu(lang_PerPage);
- \$Menus['n_perpage_menu'].addMenuItem("10","config_val('Perpage_News', '10');",RadioIsSelected(News_Perpage,10));
- \$Menus['n_perpage_menu'].addMenuItem("20","config_val('Perpage_News', '20');",RadioIsSelected(News_Perpage,20));
- \$Menus['n_perpage_menu'].addMenuItem("50","config_val('Perpage_News', '50');",RadioIsSelected(News_Perpage,50));
- \$Menus['n_perpage_menu'].addMenuItem("100","config_val('Perpage_News', '100');",RadioIsSelected(News_Perpage,100));
- \$Menus['n_perpage_menu'].addMenuItem("500","config_val('Perpage_News', '500');",RadioIsSelected(News_Perpage,500));
-
- // select menu
- \$Menus['n_select_menu'] = new Menu(lang_Select);
- \$Menus['n_select_menu'].addMenuItem(lang_All,"javascript:selectAllC('"+activeTab.id+"');","");
- \$Menus['n_select_menu'].addMenuItem(lang_Unselect,"javascript:unselectAll('"+activeTab.id+"');","");
- \$Menus['n_select_menu'].addMenuItem(lang_Invert,"javascript:invert('"+activeTab.id+"');","");
-
- // view menu
- \$Menus['n_view_menu'] = new Menu(NewsTitle);
- \$Menus['n_view_menu'].addMenuItem( \$Menus['n_filtring_menu'] );
- \$Menus['n_view_menu'].addMenuItem( \$Menus['n_sorting_menu'] );
- \$Menus['n_view_menu'].addMenuItem( \$Menus['n_perpage_menu'] );
- \$Menus['n_view_menu'].addMenuItem( \$Menus['n_select_menu'] );
- }
-
-</script>
-END;
-?>
Property changes on: trunk/in-news/admin/include/toolbar/browse.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.7
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/toolbar/editarticle_userselect.php
===================================================================
--- trunk/in-news/admin/include/toolbar/editarticle_userselect.php (revision 12830)
+++ trunk/in-news/admin/include/toolbar/editarticle_userselect.php (nonexistent)
@@ -1,163 +0,0 @@
-<?php
-global $pathtoroot, $envar, $rootURL,$imagesURL,$UserFilter, $adminURL,$admin;
-
-$ViewNormal==1;
-if($objConfig->Get("User_ViewNormal")==0)
- $ViewNormal=0;
-
-
-$ViewDisabled=1;
-if($objConfig->Get("User_ViewDisabled")==0)
- $ViewDisabled=0;
-
-$ViewPending=1;
-if($objConfig->Get("User_ViewPending")==0)
- $ViewPending=0;
-
-if($ViewNormal)
-{
- $UserFilter = "(Enabled=1 AND Pending=0)";
-}
-
-if($ViewDisabled)
-{
- if(strlen($UserFilter))
- $UserFilter .= " OR ";
- $UserFilter = "(Enabled = 0)";
-}
-
-if($ViewPening)
-{
- if(strlen($UserFilter))
- $UserFilter .= " OR ";
- $UserFilter = "(Pending = 0)";
-}
-
-$browseURL = $adminURL."/browse";
-
-$destform = $_GET["destform"];
-$destfield = $_GET["destfield"];
-$ReturnField = $_GET["ReturnField"];
-
-$lang_users = admin_language("la_Text_Users");
-$lang_Username = admin_language("la_prompt_Username");
-$lang_LastName = admin_language("la_prompt_LastName");
-$lang_FirstName = admin_language("la_prompt_FirstName");
-$lang_Email = admin_language("la_prompt_Email");
-$lang_PrimaryGroup = admin_language("la_prompt_PrimaryGroup");
-$lang_Valid = admin_language("la_Text_Valid");
-
-print <<<END
-<script language="Javascript">
-<!--
-
-var lang_Users = "$lang_users";
-var lang_Username = "$lang_Username";
-var lang_LastName = "$lang_LastName";
-var lang_FirstName = "$lang_FirstName";
-var lang_Email = "$lang_Email";
-var lang_PrimaryGroup = "$lang_PrimaryGroup";
-var lang_Valid = "$lang_Valid";
-var ReturnField = '$ReturnField';
-
-function ShowViewMenu()
-{
- button = document.getElementById('viewmenubutton');
-// window.FW_showMenu(window.fw_menu_0,getRealLeft(button),getRealTop(button)+32);
- fwLoadMenus();
- window.FW_showMenu(window.cat_menu,getRealLeft(button),getRealTop(button)+32);
- return false;
-}
-
-
-function fwLoadMenus() {
-
- window.menu_filter = new Menu(lang_Filter);
-
- menu_filter.addMenuItem(lang_Valid+" "+lang_Users,"config_val('User_ViewNormal',flip($ViewNormal));","");
- menu_filter.addMenuItem(lang_Disabled+" "+lang_Users,"config_val('User_ViewDisabled',flip($ViewDisabled));","");
- menu_filter.addMenuItem(lang_Pending+" "+lang_Users,"config_val('User_ViewPending', flip($ViewPending));","");
-
- window.menu_sorting = new Menu(lang_Sort);
- menu_sorting.addMenuItem(lang_Asc,"config_val('User_SortOrder','asc');","");
- menu_sorting.addMenuItem(lang_Desc,"config_val('User_SortOrder','desc');","");
- menu_sorting.addMenuSeparator();
-
- menu_sorting.addMenuItem(lang_Default,"config_val('User_SortField','');","");
-
- menu_sorting.addMenuItem(lang_Username,"config_val('User_SortField', 'Login');","");
- menu_sorting.addMenuItem(lang_LastName,"config_val('User_SortField', 'LastName');","");
- menu_sorting.addMenuItem(lang_FirstName,"config_val('User_SortField', 'FirstName');","");
- menu_sorting.addMenuItem(lang_Email,"config_val('User_SortField', 'Email');","");
- menu_sorting.addMenuItem(lang_CreatedOn,"config_val('User_SortField', 'CreatedOn');","");
-
- window.menu_results = new Menu(lang_Users+' '+lang_PerPage);
- menu_results.addMenuItem("10","config_val('Perpage_User', '10');","");
- menu_results.addMenuItem("20","config_val('Perpage_User', '20');","");
- menu_results.addMenuItem("50","config_val('Perpage_User', '50');","");
- menu_results.addMenuItem("100","config_val('Perpage_User', '100');","");
-
- window.menu_select = new Menu(lang_Select);
- menu_select.addMenuItem(lang_All,"UserChecks.selectAll(true);","");
- menu_select.addMenuItem(lang_Unselect,"UserChecks.selectAll(false);","");
- menu_select.addMenuItem(lang_Invert,"UserChecks.invertItems();","");
-
- window.cat_menu = new Menu("root");
- window.cat_menu.childMenuIcon='$imagesURL'+'/arrow.gif';
- window.cat_menu.addMenuItem(menu_filter);
- window.cat_menu.addMenuItem(menu_sorting);
- window.cat_menu.addMenuItem(menu_results);
- window.cat_menu.addMenuItem(menu_select);
-
- window.triedToWriteMenus = false;
- window.cat_menu.writeMenus();
-} // fwLoadMenus()
-//-->
-</script>
-
-<script language="JavaScript1.2" src="$browseURL/fw_menu.js"></script>
-<script language="JavaScript1.2" src="$adminURL/include/checkarray.js"></script>
-<script language="Javascript">
-
-UserChecks = new CheckArray();
-
-UserChecks.formname='userlistform';
-UserChecks.envar='$envar';
-
-function SelectSubmit()
-{
- var trans = new Array();
-
- bf = window.opener.document.$destform;
- retval = UserChecks.getItemList();
- retval = retval.toString();
-
- if(ReturnField.length>0)
- {
- values = retval.split(",");
- for(i=0;i<values.length;i++)
- {
- field = values[i]+'_col_'+ReturnField;
- el = document.getElementById(field);
- if(el)
- {
- trans[trans.length] = el.innerHTML;
- }
- }
- retval = trans.join(',');
- }
- if(retval.length>0)
- {
- bf.$destfield.value = retval;
- window.close();
- }
-}
-
-function SetStatus()
-{
- self.status=UserChecks.countChecks()+" Groups selected";
-}
-</script>
-
-END;
-?>
Property changes on: trunk/in-news/admin/include/toolbar/editarticle_userselect.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/toolbar/editarticle_reviews.php
===================================================================
--- trunk/in-news/admin/include/toolbar/editarticle_reviews.php (revision 12830)
+++ trunk/in-news/admin/include/toolbar/editarticle_reviews.php (nonexistent)
@@ -1,219 +0,0 @@
-<?php
- global $envar,$rootURL,$imagesURL, $RevFilter;
-
-$Rev_AllValue = 7;
-
-$Bit_Disabled=1;
-$Bit_Enabled=2;
-$Bit_Pending = 4;
-
-$RevView = $objConfig->Get("NewsRev_View");
-
-if(!is_numeric($RevView))
-{
- $RevView = $Rev_AllValue;
-}
-else
-{
- $StatusList = array();
-
- if($RevView & $Bit_Disabled)
- $StatusList[] = 0;
-
- if($RevView & $Bit_Enabled)
- $StatusList[] = 1;
-
- if($RevView & $Bit_Pending)
- $StatusList[] = 2;
-
- if(count($StatusList))
- {
- $status = " r.Status IN (".implode(",",$StatusList).") ";
- }
- else
- $status = " r.Status = -1 ";
-
- $RevFilter = $status;
-}
-
-$Perpage_Reviews = (int)$objConfig->Get("Perpage_Reviews");
-if(!$Perpage_Reviews)
- $PerPage_Reviews = 20;
-
-$SortOrder = $objConfig->Get("NewsReview_LV_Sortorder");
-if(!strlen($SortOrder))
- $SortOrder = "desc";
-
-$SortField = $objConfig->Get("NewsReview_LV_Sortfield");
-if(!strlen($SortField))
- $SortField = "DatePosted";
-
-$lang_ReviewText = admin_language("la_prompt_ReviewText");
-$lang_Reviewer = admin_language("la_Prompt_ReviewedBy");
-$lang_Reviews = admin_language("la_Text_Reviews");
-
-print<<<END
-
-<script language="JavaScript1.2" src="$rootURL/admin/include/checkarray.js"></script>
-
-<script language="javascript1.2">
-<!--
-
-RevChecks = new CheckArray();
-
-RevChecks.formname='article';
-RevChecks.envar='$envar';
-
-var RevView = $RevView;
-var Rev_Perpage = $Perpage_Reviews;
-var Rev_Sortfield = "$SortField";
-var Rev_Sortorder = "$SortOrder";
-var lang_ReviewText = "$lang_ReviewText";
-var lang_Reviewer = "$lang_Reviewer";
-var lang_Reviews = "$lang_Reviews";
-
-
-function ShowViewMenu()
-{
- button = document.getElementById('viewmenubutton');
-
- x = getRealLeft(button);
- y = getRealTop(button);
-
- fwLoadMenus();
- window.FW_showMenu(window.view_menu,x,y+32);
- return false;
-}
-
-
-function fwLoadMenus()
-{
- window.menu_filter = new Menu(lang_View);
-
- menu_filter.imagePath = "$rootURL"+'admin/images/';
- menu_filter.addMenuItem(lang_All,"config_val('NewsRev_View',$Rev_AllValue);",RevView==$Rev_AllValue);
- menu_filter.addMenuSeparator();
-
- menu_filter.addMenuItem(lang_Enabled,"FlipBit('NewsRev_View',RevView,1);",BitStatus(RevView,1));
- menu_filter.addMenuItem(lang_Disabled,"FlipBit('NewsRev_View',RevView,0);",BitStatus(RevView,0));
- menu_filter.addMenuItem(lang_Pending,"FlipBit('NewsRev_View',RevView,2);",BitStatus(RevView,2));
-
- window.menu_sorting = new Menu(lang_Sort);
- menu_sorting.imagePath = "$rootURL"+'admin/images/';
- menu_sorting.addMenuItem(lang_Asc,"config_val('NewsReview_LV_Sortorder','asc');",RadioIsSelected(Rev_Sortorder,'asc'));
- menu_sorting.addMenuItem(lang_Desc,"config_val('NewsReview_LV_Sortorder','desc');",RadioIsSelected(Rev_Sortorder,'desc'));
- menu_sorting.addMenuSeparator();
- menu_sorting.addMenuItem(lang_Default,"config_val('NewsReview_LV_Sortfield','DatePosted');","");
- menu_sorting.addMenuItem(lang_ReviewText,"config_val('NewsReview_LV_Sortfield','ReviewText');",RadioIsSelected(Rev_Sortfield,'ReviewText'));
- menu_sorting.addMenuItem(lang_Reviewer,"config_val('NewsReview_LV_Sortfield','Reviewer');",RadioIsSelected(Rev_Sortfield,'Reviewer'));
- menu_sorting.addMenuItem(lang_CreatedOn,"config_val('NewsReview_LV_Sortfield','CreatedOn');",RadioIsSelected(Rev_Sortfield,'CreatedOn'));
- menu_sorting.addMenuItem(lang_Status,"config_val('NewsReview_LV_Sortfield','ReviewStatus');",RadioIsSelected(Rev_Sortfield,'ReviewStatus'));
-
-
- window.menu_results = new Menu(lang_Reviews+' '+lang_PerPage);
- menu_results.imagePath = "$rootURL"+'admin/images/';
- menu_results.addMenuItem("10","config_val('Perpage_Reviews', '10');",RadioIsSelected(Rev_Perpage,10));
- menu_results.addMenuItem("20","config_val('Perpage_Reviews', '20');",RadioIsSelected(Rev_Perpage,20));
- menu_results.addMenuItem("50","config_val('Perpage_Reviews', '50');",RadioIsSelected(Rev_Perpage,50));
- menu_results.addMenuItem("100","config_val('Perpage_Reviews', '100');",RadioIsSelected(Rev_Perpage,100));
- menu_results.addMenuItem("500","config_val('Perpage_Reviews', '500');",RadioIsSelected(Rev_Perpage,500));
-
- window.menu_select = new Menu(lang_Select);
- menu_select.addMenuItem(lang_All,"RevChecks.selectAll(true);","");
- menu_select.addMenuItem(lang_Unselect,"RevChecks.selectAll(false);","");
- menu_select.addMenuItem(lang_Invert,"RevChecks.invertItems();","");
-
- window.view_menu = new Menu("root");
- view_menu.imagePath = "$rootURL"+'admin/images/';
- window.view_menu.addMenuItem(menu_filter);
- window.view_menu.addMenuItem(menu_sorting);
- window.view_menu.addMenuItem(menu_results);
- window.view_menu.addMenuItem(menu_select);
-
- window.triedToWriteMenus = false;
- window.view_menu.writeMenus();
-
-} // fwLoadMenus()
-
-//function called when a listview item is double clicked
-function handleDoubleClick()
-{
- RevChecks.check_submit('addreview', '');
-}
-
-//function called to create the right click popup menu
-function initContextMenu()
-{
- window.contextMenu = new Menu("Context");
- contextMenu.addMenuItem(lang_Edit,"RevChecks.check_submit('addreview', '');","");
- contextMenu.addMenuItem(lang_Delete,"RevChecks.check_submit('addarticle_reviews', 'm_review_delete');","");
- contextMenu.addMenuSeparator();
- contextMenu.addMenuItem(lang_MoveUp,"RevChecks.check_submit('addarticle_reviews', 'm_review_move_up');","");
- contextMenu.addMenuItem(lang_MoveDn,"RevChecks.check_submit('addarticle_reviews', 'm_review_move_down');","");
-
- window.triedToWriteMenus = false;
- window.contextMenu.writeMenus();
- return true;
-}
-
-//function used by the edit tabs to submit to temp tables
-function edit_submit(formname, targetURL)
-{
- var env_str = '$envar';
-
- document.location = '$rootURL' + targetURL + '?' + env_str;
-
-}
-
-function do_save_review(formname, targetURL,save_value)
-{
- var env_str = '$envar';
-
- f = document.getElementById(formname);
- if(f)
- {
- valid = DataIsValid(f);
- if(valid || save_value==-1)
- {
- if(save_value==-1)
- {
- edit_submit(formname,targetURL);
- }
- else
- {
- f.action = '$rootURL' + targetURL + '?' + env_str;
- f.NewsEditStatus.value = save_value; //0= stay in temp, 1=save to perm, 2 = purge no save
- f.submit();
- }
- }
- else
- if(!valid)
- alert(ErrorMsg);
-
- }
- else
- alert('Form '+formname+' was not found.');
-}
-
-
-function do_edit_save(formname, targetURL,save_value)
-{
- var env_str = '$envar';
-
- f = document.getElementById(formname);
- if(f)
- {
- f.action = '$rootURL' + targetURL + '?' + env_str;
-
- f.NewsEditStatus.value = save_value; //0= stay in temp, 1=save to perm, 2 = purge no save
- f.submit();
- }
- else
- alert('Form '+formname+' was not found.');
-}
-
-//-->
-</script>
-
-END;
-?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/include/toolbar/editarticle_reviews.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/toolbar/advanced_view.php
===================================================================
--- trunk/in-news/admin/include/toolbar/advanced_view.php (revision 12830)
+++ trunk/in-news/admin/include/toolbar/advanced_view.php (nonexistent)
@@ -1,238 +0,0 @@
-<?php
-global $objConfig,$objArticleList,$objCatList, $ItemTabs, $TotalItemCount;
-
-global $Bit_All,$Bit_Pending,$Bit_Disabled,$Bit_New,$Bit_Pop,$Bit_Hot,$Bit_Ed,$DefaultTab;
-
-if(strlen($DefaultTab))
-{
- if($DefaultTab=="topics")
- {
- $m_tab_News_hide = 0;
- }
- else
- $m_tab_News_hide = 1;
-}
-
-$Bit_Archived = 128;
-$Bit_LeadCat = 256;
-$Bit_FontLead = 512;
-
-$News_AllValue = 1023;
-
-$NewsView = $objConfig->Get("News_View");
-if(!is_numeric($NewsView))
-{
- $NewsView = $News_AllValue;
-}
-
-$News_SortField = $objConfig->Get('News_SortField');
-if( !strlen($News_SortField) ) $News_SortField = 'Priority';
-
-$News_SortOrder = $objConfig->Get('News_SortOrder');
-if( !strlen($News_SortOrder) ) $News_SortOrder = 'desc';
-
-$Perpage_News = (int)$objConfig->Get("Perpage_News");
-
-if(!$Perpage_News)
- $Perpage_News=20;
-
-if($NewsView == $News_AllValue)
-{
- $News_ShowAll = 1;
-}
-else
- $News_ShowAll = 0;
-
-if($News_ShowAll)
-{
- $News_Filter = "";
- $News_View=127;
-}
-else
-{
- // FILTERING CODE V. 1.2
- $where_clauses = Array(); $q = '';
-
- // Group #1: Article Statuses (active,pending,disabled)
- $Status = array(-1);
- if($NewsView & $Bit_Pending) $Status[] = STATUS_PENDING;
- if($NewsView & $Bit_Active) $Status[] = STATUS_ACTIVE;
- if($NewsView & $Bit_Disabled) $Status[] = STATUS_DISABLED;
- if( count($Status) ) $where_clauses[] = 'Status IN ('.implode(',', $Status).')';
-
- // Group #2: Article Statistics (new,popular,hot,pick)
- $Status = array();
- if(!($NewsView & $Bit_New))
- {
- $cutoff = adodb_date("U") - ($objConfig->Get("News_NewDays") * 86400);
- if($cutoff > 0) $q = 'CreatedOn > '.$cutoff;
- $q .= ' AND CachedVotesQty >= '.$objConfig->Get('News_MinPopVotes');
- $q .= (!empty($q) ? ' OR ' : '').'NewItem = 1';
- $Status[] = "NOT ($q)";
- }
-
- if(!($NewsView & $Bit_Pop))
- {
- $cutoff = $objArticleList->GetPopValue();
- if($cutoff > 0) $q = 'CachedRating >= '.$cutoff;
- $q .= (!empty($q) ? ' OR ' : '').'PopItem = 1';
- $Status[] = "NOT ($q)";
- }
-
- if(!($NewsView & $Bit_Hot))
- {
- $cutoff = $objArticleList->GetHotValue();
- if($cutoff > 0) $q = 'Hits >= '.$cutoff;
- $q .= (!empty($q) ? ' OR ' : '').'HotItem = 1';
- $Status[] = "NOT ($q)";
- }
-
- if(!($NewsView & $Bit_Archived)) $Status[] = 'NOT (Archived = 1)';
- if(!($NewsView & $Bit_LeadCat)) $Status[] = 'NOT (LeadCatStory = 1)';
- if(!($NewsView & $Bit_FontLead)) $Status[] = 'NOT (LeadStory = 1)';
- if(!($NewsView & $Bit_Ed)) $Status[] = 'NOT (EditorsPick = 1)';
-
- if( count($Status) )
- $where_clauses[] = '('.implode(') AND (', $Status).')';
-
- $NewsFilter = count($where_clauses) ? '('.implode(') AND (', $where_clauses).')' : '';
-}
-
-$list = $objSession->GetVariable("n_adv_view_search");
-$objArticleList->Clear();
-
-$objArticleList->EnablePaging = TRUE;
-
-
- $OrderBy = $objArticleList->QueryOrderByClause(TRUE,TRUE,TRUE);
-
- if(strlen($list)==0)
- {
- $where = $NewsFilter;
- $SearchQuery = '';
- $objArticleList->LoadArticles($where,$OrderBy,false,false,'set_last');
- }
- else
- {
- $SearchQuery = $objArticleList->AdminSearchWhereClause($list);
-
- if(strlen($SearchQuery))
- {
- $SearchQuery = " (".$SearchQuery.")".($NewsFilter ? 'AND ('.$NewsFilter.')' : '');
- $objArticleList->LoadArticles($SearchQuery,$OrderBy, false,false,'set_last');
- }
- else
- $objArticleList->LoadArticles($NewsFilter,$OrderBy, false,false,'set_last');
- }
-
- $objArticleList->QueryItemCount = TableCount($objArticleList->SourceTable,($SearchQuery ? $SearchQuery : $NewsFilter),0);
- $CatTotal = TableCount($objArticleList->SourceTable,null,0);
-
-
- $caption = language("la_ItemTab_News");
- $ItemTabs->AddTab(language("la_ItemTab_News"),"news",$objArticleList->QueryItemCount, $m_tab_News_hide,$CatTotal);
-
- $TotalItemCount += $objArticleList->QueryItemCount;
-
- $News_Paste = "false";
- if($objArticleList->ItemsOnClipboard()>0)
- $News_Paste = "true";
-
-$lang_Leading = language("la_Text_Leading");
-$lang_Archived = language("la_Text_Archived");
-$lang_Title = language("la_Prompt_Title");
-$lang_Excerpt = language("la_prompt_ArticleExcerpt");
-$lang_Author = language("la_prompt_Author");
-$lang_Body = language("la_prompt_ArticleBody");
-$lang_StartDate = language("la_prompt_StartDate");
-$lang_ArchiveDate = language("la_prompt_ArchiveDate");
-$lang_Catlead = language("la_prompt_LeadCat");
-$lang_FrontLead = language("la_prompt_FrontLead");
-$lang_Articles = language("la_Text_Articles");
-
-print <<<END
-
-<script language="JavaScript">
-var News_SortField = '$News_SortField';
-var News_SortOrder = '$News_SortOrder';
-var News_Perpage = $Perpage_News;
-var NewsView = $NewsView;
-var NewsTitle = '$caption';
-
-//News Related language vars
-var lang_Leading = '$lang_Leading';
-var lang_Archived = '$lang_Archived';
-var lang_Title = '$lang_Title';
-var lang_Author = '$lang_Author';
-var lang_Body = '$lang_Body';
-var lang_Excerpt = '$lang_Excerpt';
-var lang_StartDate = '$lang_StartDate';
-var lang_ArchiveDate = '$lang_ArchiveDate';
-var lang_CatLead = "$lang_Catlead";
-var lang_FrontLead = "$lang_FrontLead";
-var lang_Articles = "$lang_Articles";
-var News_Paste = $News_Paste;
-
-PasteButton = PasteButton || News_Paste;
-
- \$fw_menus['n_view_menu'] = function()
- {
- // filtring menu
- \$Menus['n_filtring_menu'] = new Menu(lang_View);
- \$Menus['n_filtring_menu'].addMenuItem(lang_All,"config_val('News_View', $News_AllValue);",NewsView==$News_AllValue);
- \$Menus['n_filtring_menu'].addMenuItem(lang_None,"config_val('News_View', 0);",NewsView==0);
- \$Menus['n_filtring_menu'].addMenuSeparator();
- \$Menus['n_filtring_menu'].addMenuItem(lang_Active,"FlipBit('News_View',NewsView,6);",BitStatus(NewsView,6));
- \$Menus['n_filtring_menu'].addMenuItem(lang_Pending,"FlipBit('News_View',NewsView,5);", BitStatus(NewsView,5));
- \$Menus['n_filtring_menu'].addMenuItem(lang_Disabled,"FlipBit('News_View',NewsView,4);",BitStatus(NewsView,4));
- \$Menus['n_filtring_menu'].addMenuSeparator();
- \$Menus['n_filtring_menu'].addMenuItem(lang_New,"FlipBit('News_View',NewsView,3);",BitStatus(NewsView,3));
- \$Menus['n_filtring_menu'].addMenuItem(lang_Pop,"FlipBit('News_View',NewsView,2);",BitStatus(NewsView,2));
- \$Menus['n_filtring_menu'].addMenuItem(lang_Hot,"FlipBit('News_View',NewsView,1);",BitStatus(NewsView,1));
- \$Menus['n_filtring_menu'].addMenuItem(lang_EdPick,"FlipBit('News_View',NewsView,0);",BitStatus(NewsView,0));
- \$Menus['n_filtring_menu'].addMenuItem(lang_CatLead,"FlipBit('News_View',NewsView,8);",BitStatus(NewsView,8));
- \$Menus['n_filtring_menu'].addMenuItem(lang_FrontLead,"FlipBit('News_View',NewsView,9);",BitStatus(NewsView,9));
- \$Menus['n_filtring_menu'].addMenuItem(lang_Archived,"FlipBit('News_View',NewsView,7);",BitStatus(NewsView,7));
-
- // sorting menu
- \$Menus['n_sorting_menu'] = new Menu(lang_Sort);
- \$Menus['n_sorting_menu'].addMenuItem(lang_Asc,"config_val('News_SortOrder','asc');",RadioIsSelected(News_SortOrder,'asc'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Desc,"config_val('News_SortOrder','desc');",RadioIsSelected(News_SortOrder,'desc'));
- \$Menus['n_sorting_menu'].addMenuSeparator();
- \$Menus['n_sorting_menu'].addMenuItem(lang_Default,"config_val('News_SortField','Title');","");
- \$Menus['n_sorting_menu'].addMenuItem(lang_Title,"config_val('News_SortField','Title');",RadioIsSelected(News_SortField,'Title'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Author,"config_val('News_SortField','Author');",RadioIsSelected(News_SortField,'Author'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Body,"config_val('News_SortField','Body');",RadioIsSelected(News_SortField,'Body'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Excerpt,"config_val('News_SortField','Excerpt');",RadioIsSelected(News_SortField,'Excerpt'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_CreatedOn,"config_val('News_SortField','CreatedOn');",RadioIsSelected(News_SortField,'CreatedOn'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_StartDate,"config_val('News_SortField','StartDate');",RadioIsSelected(News_SortField,'StartDate'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_ArchiveDate,"config_val('News_SortField','EndOn');",RadioIsSelected(News_SortField,'EndOn'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Rating,"config_val('News_SortField','CachedRating');",RadioIsSelected(News_SortField,'CachedRating'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Votes,"config_val('News_SortField','CachedVotesQty');",RadioIsSelected(News_SortField,'CachedVotesQty'));
- \$Menus['n_sorting_menu'].addMenuItem(lang_Views,"config_val('News_SortField','Hits');",RadioIsSelected(News_SortField,'Hits'));
-
- // perpage menu
- \$Menus['n_perpage_menu'] = new Menu(lang_PerPage);
- \$Menus['n_perpage_menu'].addMenuItem("10","config_val('Perpage_News', '10');",RadioIsSelected(News_Perpage,10));
- \$Menus['n_perpage_menu'].addMenuItem("20","config_val('Perpage_News', '20');",RadioIsSelected(News_Perpage,20));
- \$Menus['n_perpage_menu'].addMenuItem("50","config_val('Perpage_News', '50');",RadioIsSelected(News_Perpage,50));
- \$Menus['n_perpage_menu'].addMenuItem("100","config_val('Perpage_News', '100');",RadioIsSelected(News_Perpage,100));
- \$Menus['n_perpage_menu'].addMenuItem("500","config_val('Perpage_News', '500');",RadioIsSelected(News_Perpage,500));
-
- // select menu
- \$Menus['n_select_menu'] = new Menu(lang_Select);
- \$Menus['n_select_menu'].addMenuItem(lang_All,"javascript:selectAllC('"+activeTab.id+"');","");
- \$Menus['n_select_menu'].addMenuItem(lang_Unselect,"javascript:unselectAll('"+activeTab.id+"');","");
- \$Menus['n_select_menu'].addMenuItem(lang_Invert,"javascript:invert('"+activeTab.id+"');","");
-
- // view menu
- \$Menus['n_view_menu'] = new Menu(NewsTitle);
- \$Menus['n_view_menu'].addMenuItem( \$Menus['n_filtring_menu'] );
- \$Menus['n_view_menu'].addMenuItem( \$Menus['n_sorting_menu'] );
- \$Menus['n_view_menu'].addMenuItem( \$Menus['n_perpage_menu'] );
- \$Menus['n_view_menu'].addMenuItem( \$Menus['n_select_menu'] );
- }
-
-</script>
-END;
-?>
Property changes on: trunk/in-news/admin/include/toolbar/advanced_view.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.9
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/toolbar/editarticle_image.php
===================================================================
--- trunk/in-news/admin/include/toolbar/editarticle_image.php (revision 12830)
+++ trunk/in-news/admin/include/toolbar/editarticle_image.php (nonexistent)
@@ -1,304 +0,0 @@
-<?php
-global $envar,$rootURL,$imagesURL, $objConfig,$imgFilter, $admin, $adminURL;
-
-$group_select = $adminURL."/users/group_select.php";
-//$item_select = $rootURL."admin/relation_select.php";
-$item_select = $adminURL."/relations/item_type.php";
-$cat_select = $adminURL."/cat_select.php";
-
-$Img_AllValue = 3;
-
-$Bit_Enabled=1;
-$Bit_Disabled=2;
-
-$ImgView = $objConfig->Get("NewsImg_View");
-
-if(!is_numeric($ImgView))
-{
- $ImgView = $Img_AllValue;
-}
-else
-{
- if($ImgView & $Bit_Enabled)
- $Filters[] = "img.Enabled=1";
-
- if($ImgView & $Bit_Disabled)
- $Filters[] = "img.Enabled=0";
-
- if(count($Filters))
- {
- $imgFilter = implode(" OR ",$Filters);
- }
- else
- $imgFilter = "ImageId = -1";
-}
-
-$SortField = $objConfig->Get("NewsImage_LV_Sortfield");
-if(!strlen($SortField))
- $SortField = "Name";
-
-$SortOrder = $objConfig->Get("NewsImage_LV_Sortorder");
-if(!strlen($SortOrder))
- $SortOrder = "desc";
-
-$Perpage_Images = (int)$objConfig->Get("Perpage_Images");
-if(!$Perpage_Images)
- $Perpage_Images = 20;
-
-$lang_Alt = admin_language("la_prompt_AltName");
-$lang_Images = admin_language("la_Text_Images");
-$errormsg = admin_language("la_validation_AlertMsg");
-
-
-print<<<END
-
-<script language="JavaScript1.2" src="$adminURL/include/checkarray.js"></script>
-
-<script language="javascript1.2">
-<!--
-
-var ImgView = $ImgView;
-var Img_Perpage = $Perpage_Images;
-var Img_Sortfield = "$SortField";
-var Img_Sortorder = "$SortOrder";
-var lang_Alt = "$lang_Alt";
-var lang_Images = "$lang_Images";
-var doubleClickAction = "PermChecks.check_submit('addimage', '');";
-var ErrorMsg = '$errormsg';
-
-
-
-PermChecks = new CheckArray();
-
-PermChecks.formname='imagelistform';
-PermChecks.envar='$envar';
-
-function SetFieldEnable(el,TargetFieldId)
-{
- t = document.getElementById(TargetFieldId);
- if(el.checked)
- {
- t.disabled = true;
- }
- else
- t.disabled = false;
-}
-
-function enableFullImage(el)
-{
- SetFieldEnable(el,'imgFullFile');
- SetFieldEnable(el,'imgFullUrl');
- SetFieldEnable(el,'full1');
- SetFieldEnable(el,'full2');
-}
-
-//function used by the edit tabs to submit to temp tables
-function edit_submit(formname, targetURL)
-{
- var env_str = '$envar';
-
- document.location = '$rootURL' + targetURL + '?' + env_str;
-}
-
-function do_edit_save(formname, targetURL,save_value)
-{
- var env_str = '$envar';
-
- f = document.getElementById(formname);
- if(f)
- {
- f.action = '$rootURL' + targetURL + '?' + env_str;
- f.NewsEditStatus.value = save_value; //0= stay in temp, 1=save to perm, 2 = purge no save
- f.submit();
- }
- else
- alert('Form '+formname+' was not found.');
-}
-
-
-function DataIsValid(f)
-{
- var result=true;
-
- s = document.getElementById("prompt_imgName");
- if(f.imgName.value.length)
- {
- s.className = "text";
- }
- else
- {
- result = false;
- s.className = "validation_error";
- }
-
- s = document.getElementById("prompt_imgAlt");
- if(f.imgAlt.value.length)
- {
- s.className = "text";
- }
- else
- {
- result = false;
- s.className = "validation_error";
- }
-
- return result;
-}
-
-function do_image_save(formname, targetURL,save_value)
-{
- var env_str = '$envar';
-
- f = document.getElementById(formname);
- if(f)
- {
- valid = DataIsValid(f);
- if(valid || save_value==-1)
- {
- f.action = '$rootURL' + targetURL + '?' + env_str;
- f.NewsEditStatus.value = save_value; //0= stay in temp, 1=save to perm, 2 = purge no save
- f.submit();
- }
- else
- if(!valid)
- alert(ErrorMsg);
-
- }
- else
- alert('Form '+formname+' was not found.');
-}
-
-function ShowViewMenu()
-{
- button = document.getElementById('viewmenubutton');
-
- x = getRealLeft(button);
- y = getRealTop(button);
-
- fwLoadMenus();
-
- window.FW_showMenu(window.view_menu,x,y+32);
- return false;
-}
-
-
-function fwLoadMenus() {
-
- window.menu_filter = new Menu(lang_View);
-
- menu_filter.imagePath = "$imagesURL"+'/';
- menu_filter.addMenuItem(lang_All,"config_val('NewsImg_View',$Img_AllValue);",ImgView==$Img_AllValue);
- menu_filter.addMenuSeparator();
-
- menu_filter.addMenuItem(lang_Enabled,"FlipBit('NewsImg_View',ImgView,0);",BitStatus(ImgView,0));
- menu_filter.addMenuItem(lang_Disabled,"FlipBit('NewsImg_View',ImgView,1);",BitStatus(ImgView,1));
-
-
- window.menu_sorting = new Menu(lang_Sort);
- menu_sorting.imagePath = "$imagesURL"+'/';
- menu_sorting.addMenuItem(lang_Asc,"config_val('NewsImage_LV_Sortorder','asc');",RadioIsSelected(Img_Sortorder,'asc'));
- menu_sorting.addMenuItem(lang_Desc,"config_val('NewsImage_LV_Sortorder','desc');",RadioIsSelected(Img_Sortorder,'desc'));
- menu_sorting.addMenuSeparator();
- menu_sorting.addMenuItem(lang_Default,"config_val('NewsImage_LV_Sortfield','FullName');","");
- menu_sorting.addMenuItem(lang_Name,"config_val('NewsImage_LV_Sortfield','FullName');",RadioIsSelected(Img_Sortfield,'FullName'));
- menu_sorting.addMenuItem(lang_Alt,"config_val('NewsImage_LV_Sortfield','AltName');",RadioIsSelected(Img_Sortfield,'AltName'));
- menu_sorting.addMenuItem(lang_URL,"config_val('NewsImage_LV_Sortfield','ShowURL');",RadioIsSelected(Img_Sortfield,'ShowURL'));
- menu_sorting.addMenuItem(lang_Status,"config_val('NewsImage_LV_Sortfield','Status');",RadioIsSelected(Img_Sortfield,'Status'));
-
-
- window.menu_results = new Menu(lang_Images+' '+lang_PerPage);
- menu_results.imagePath = "$imagesURL"+'/';
- menu_results.addMenuItem("10","config_val('Perpage_Images', '10');",RadioIsSelected(Img_Perpage,10));
- menu_results.addMenuItem("20","config_val('Perpage_Images', '20');",RadioIsSelected(Img_Perpage,20));
- menu_results.addMenuItem("50","config_val('Perpage_Images', '50');",RadioIsSelected(Img_Perpage,50));
- menu_results.addMenuItem("100","config_val('Perpage_Images', '100');",RadioIsSelected(Img_Perpage,100));
- menu_results.addMenuItem("500","config_val('Perpage_Images', '500');",RadioIsSelected(Img_Perpage,500));
-
- window.menu_select = new Menu(lang_Select);
- menu_select.addMenuItem(lang_All,"PermChecks.selectAll(true);","");
- menu_select.addMenuItem(lang_Unselect,"PermChecks.selectAll(false);","");
- menu_select.addMenuItem(lang_Invert,"PermChecks.invertItems();","");
-
- window.view_menu = new Menu("root");
- view_menu.imagePath = "$imagesURL"+'/';
- window.view_menu.addMenuItem(menu_filter);
- window.view_menu.addMenuItem(menu_sorting);
- window.view_menu.addMenuItem(menu_results);
- window.view_menu.addMenuItem(menu_select);
-
- window.triedToWriteMenus = false;
- window.view_menu.writeMenus();
-
-} // fwLoadMenus()
-
-//function called when a listview item is double clicked
-function handleDoubleClick()
-{
- PermChecks.check_submit('addimage', '');
-}
-
-//function called to create the right click popup menu
-function initContextMenu()
-{
- window.contextMenu = new Menu("Context");
- contextMenu.addMenuItem(lang_Edit,"PermChecks.check_submit('addimage', '');","");
- contextMenu.addMenuItem(lang_Delete,"PermChecks.check_submit('addcategory_images', 'm_img_delete');","");
- contextMenu.addMenuSeparator();
- contextMenu.addMenuItem(lang_MoveUp,"PermChecks.check_submit('addcategory_images', 'm_img_move_up');","");
- contextMenu.addMenuItem(lang_MoveDn,"PermChecks.check_submit('addcategory_images', 'm_img_move_down');","");
-
- window.triedToWriteMenus = false;
- window.contextMenu.writeMenus();
- return true;
-}
-
-function toggleTabA(tabId)
-{
- //alert('toggling '+tabId);
- toggleTab(tabId);
- var hl = document.getElementById("hidden_line");
- if (hl)
- hl.style.display = "none";
- tab_hdr = document.getElementById('tab_headers');
- if (!tab_hdr)
- {
- //alert('Cant find tab header container');
- return;
- }
- //alert('Tab header found..');
- for (var i = 0; i < tabIDs.length; i++)
- {
- var tabHeader;
- TDs = tab_hdr.getElementsByTagName("TD");
- for (var j = 0; j < TDs.length; j++)
- if (TDs[j].getAttribute("tabHeaderOf") == tabIDs[i])
- {
- tabHeader = TDs[j];
- break;
- }
- if (!tabHeader)
- {
- //alert('Couldnt find tab header');
- continue;
- }
- var tab = document.getElementById(tabIDs[i]);
- if (!tab)
- {
- //alert('Couldnt find tab!');
- continue;
- }
- tabHeader.setAttribute("background", "$imagesURL/itemtabs/" + ((tab.active) ? "tab_active" : "tab_inactive") + ".gif")
-
- var images = tabHeader.getElementsByTagName("IMG");
- if (images.length < 1) continue;
-
- images[0].src = "$imagesURL/itemtabs/" + ((tab.active) ? "divider_up" : "divider_empty") + ".gif";
- }
-}
-
-
-//-->
-</script>
-
-END;
-?>
Property changes on: trunk/in-news/admin/include/toolbar/editarticle_image.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/summary/site.php
===================================================================
--- trunk/in-news/admin/include/summary/site.php (revision 12830)
+++ trunk/in-news/admin/include/summary/site.php (nonexistent)
@@ -1,114 +0,0 @@
-<?php
-$lang_Search = admin_language("la_prompt_Search");
-$lang_Users = admin_language("la_Text_Users");
-$lang_Active = admin_language("la_Text_Active");
-$lang_Disabled = admin_language("la_Text_Disabled");
-$lang_Pending = admin_language("la_Text_Pending");
-$lang_Denied = admin_language("la_Text_Denied");
-$lang_PendingItems = admin_language("la_prompt_PendingItems");
-$lang_Categories = admin_language("la_tab_Categories");
-$lang_Posts = admin_language("la_Text_Posts");
-
-$lang_New = admin_language("la_Text_New");
-$lang_Hot = admin_language("la_Text_Hot");
-$lang_EdPick = admin_language("la_prompt_EditorsPick");
-$lang_Pop = admin_language("la_Text_Pop");
-
-global $rootURL,$adminURL,$admin,$imagesURL,$objArticleList;
-
-$UserURL = $adminURL."/users/user_list.php?env=".BuildEnv();
-$browseURL = $adminURL."/browse.php?env=".BuildEnv();
-
-$topicURL = $rootURL."in-bulletin";
-$newsURL = $rootURL."in-news";
-$linkURL = $rootURL."in-link";
-
-$table = $objArticleList->SourceTable;
-$Total = TableCount($table,"",0);
-$Active = TableCount($table,"Status=1",0);
-$Pending = TableCount($table,"Status=2",0);
-$Disabled = TableCount($table,"Status=0",0);
-$Pick = TableCount($table,"EditorsPick=1",0);
-
-$PopVal = $objArticleList->GetPopValue();
-$Pop = TableCount($table,"CachedVotesQty >=".$PopVal.' OR PopItem = 1',0);
-
-$HotVal = $objArticleList->GetHotValue();
-$Hot = TableCount($table,"Hits >=".$HotVal.' OR HotItem = 1',0);
-
-$NewVal = adodb_date("U") - ($objConfig->Get("News_NewDays") * 86400);
-$where = "(CreatedOn > ".$NewVal." AND NewItem=".AUTO.") OR NewItem=".ALWAYS;
-$New = TableCount($table,$where ,0);
-
-$ConfigVar = "News_View";
-$CurrentVal = $objConfig->Get($ConfigVar);
-$TabName = "news";
-$iconURL = $rootURL."in-news/admin/images";
-
-$icon_basename = $iconURL."/icon16_article";
-$activeicon = $icon_basename.".gif";
-$newicon = $icon_basename."_new.gif";
-$pendingicon = $icon_basename."_pending.gif";
-$hoticon = $icon_basename."_hot.gif";
-$disabledicon = $icon_basename."_disabled.gif";
-$popicon = $icon_basename."_top.gif";
-$pickicon = $icon_basename."_pick.gif";
-print <<<END
-
- <div isBox="true" id="news" SortValue="3">
- <div class="usersbox_header" func="header" STYLE="background:url($imagesURL/summary/usersbox_header.gif);">
- <img src="$imagesURL/spacer.gif" width="1" height="4"><br />
- <table cellspacing="0" cellpadding="0">
- <tr>
- <td><img isEI="true" src="$imagesURL/summary/usersbox_cl.gif" width="8" height="8" align="absMiddle" hSpace="4"><b>$lang_Articles</b></td>
- <td class="info" valign="top">&nbsp;($Total)</td>
- </tr>
- </table>
- </div>
- <div class="usersbox_body" func="body" STYLE="background:url($imagesURL/summary/usersbox_bg.gif);">
- <div style="padding:8px; width:100%">
- <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr>
- <td class="lTDi" width="50%">
- <a href="javascript:FilterLink('$TabName','$ConfigVar',975);" class="userslink">
- <img src="$activeicon" border="0" align="absMiddle"> $lang_Active <span class="info">($Active)</span></a>
- </td>
- <td class="rTDi">
- <a href="javascript:FilterLink('$TabName','$ConfigVar',120);" class="userslink">
- <img src="$newicon" border="0" align="absMiddle"> $lang_New <span class="info">($New)</span></a>
- </td>
- </tr>
- <tr>
- <td class="lTDi" width="50%">
- <a href="javascript:FilterLink('$TabName','$ConfigVar',943);" class="userslink">
- <img src="$pendingicon" border="0" align="absMiddle"> $lang_Pending <span class="info">($Pending)</span></a>
- </td>
- <td class="rTDi" >
- <a href="javascript:FilterLink('$TabName','$ConfigVar',114);" class="userslink">
- <img src="$hoticon" border="0" align="absMiddle"> $lang_Hot <span class="info">($Hot)</span></a>
- </td>
- </tr>
- <tr>
- <td class="lTDi" width="50%">
- <a href="javascript:FilterLink('$TabName','$ConfigVar',927);" class="userslink">
- <img src="$disabledicon" border="0" align="absMiddle"> $lang_Disabled <span class="info">($Disabled)</span></a>
- </td>
- <td class="rTDi">
- <a href="javascript:FilterLink('$TabName','$ConfigVar',116);" class="userslink">
- <img src="$popicon" border="0" align="absMiddle"> $lang_Pop <span class="info">($Pop)</span></a>
- </td>
- </tr>
- <tr>
- <td class="lTD" width="50%">&nbsp;</td>
- <td>
- <a href="javascript:FilterLink('$TabName','$ConfigVar',113);" class="userslink">
- <img src="$pickicon" border="0" align="absMiddle"> $lang_EdPick <span class="info">($Pick)</span></a>
- </td>
- </tr>
- </table>
- </div>
- <img src="images/spacer.gif" height="21" width="1">
- </div>
- </DIV>
-END;
-?>
Property changes on: trunk/in-news/admin/include/summary/site.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/backup.php
===================================================================
--- trunk/in-news/admin/include/backup.php (revision 12830)
+++ trunk/in-news/admin/include/backup.php (nonexistent)
@@ -1,10 +0,0 @@
-<?php
- global $tables;
-
-//List of tables to include
-//$tables["NAME OF THE TABLE"],[!!!THIS CELL ALWAYS EMPTY]="WHERE CLAUSE";
-
-$tables["News"][]="";
-
-
-?>
Property changes on: trunk/in-news/admin/include/backup.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/style.css
===================================================================
--- trunk/in-news/admin/include/style.css (revision 12830)
+++ trunk/in-news/admin/include/style.css (nonexistent)
@@ -1,31 +0,0 @@
-
-.news_rate {
- FONT-SIZE: 12px; COLOR: #006600; FONT-FAMILY: arial, helvetica, sans-serif; TEXT-DECORATION: none
-}
-.news_review {
- FONT-SIZE: 12px; COLOR: #a27900; FONT-FAMILY: arial, helvetica, sans-serif; TEXT-DECORATION: none
-}
-.news_modify {
- FONT-SIZE: 12px; COLOR: #800000; FONT-FAMILY: arial, helvetica, sans-serif; TEXT-DECORATION: none
-}
-.news_div {
- FONT-SIZE: 12px; COLOR: #000000; FONT-FAMILY: arial, helvetica, sans-serif; TEXT-DECORATION: none
-}
-.news_desc {
- FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: arial,verdana,sans-serif
-}
-.news_detail {
- FONT-SIZE: 11px; COLOR: #707070; FONT-FAMILY: arial,verdana,sans-serif
-}
-.news_new {
- FONT-SIZE: 12px; VERTICAL-ALIGN: super; COLOR: blue; FONT-FAMILY: arial, verdana, sans-serif
-}
-.news_top {
- FONT-SIZE: 12px; VERTICAL-ALIGN: super; COLOR: red; FONT-FAMILY: arial, verdana, sans-serif
-}
-.news_pop {
- FONT-SIZE: 12px; VERTICAL-ALIGN: super; COLOR: orange; FONT-FAMILY: arial, verdana, sans-serif
-}
-.news_pick {
- FONT-SIZE: 12px; VERTICAL-ALIGN: super; COLOR: #009900; FONT-FAMILY: arial, helvetica, sans-serif
-}
\ No newline at end of file
Property changes on: trunk/in-news/admin/include/style.css
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/parser.php
===================================================================
--- trunk/in-news/admin/include/parser.php (revision 12830)
+++ trunk/in-news/admin/include/parser.php (nonexistent)
@@ -1,60 +0,0 @@
-<?php
- function adListArticles($template)
- {
- global $objArticleList;
- $news_count = $objArticleList->NumItems();
- if($news_count == 0) return '';
- $o = '';
- foreach($objArticleList->Items as $news)
- $o.= $news->AdminParseTemplate($template);
-
- return $o;
- }
-
- function n_GetModuleInfo($info_type)
- {
- // get information for building sql in
- switch($info_type)
- {
- case 'module_name':
- return 'in-news';
- break;
-
- case 'review_section':
- return 'in-news:editarticle_review';
- break;
-
- case 'rel_list': // Edit Category -> Relations List
- return Array( 'MainTable' => 'News', 'ItemNameField' => 'Title',
- 'ItemNamePhrase' => 'la_Text_Article', 'TargetType' => 2,
- 'EditFile'=>'addarticle.php','EnvIDField'=>'id');
- break;
-
- case 'summary_pending':
- global $rootURL;
- $imagesURL = $rootURL.n_GetModuleInfo('module_name').'/admin/images'; // don't globalize
- $ret = Array();
- $ret[] = Array( 'link' => "PendingLink('news','News_View',943)",
- 'icon_image' => $imagesURL.'/icon16_article_pending.gif',
- 'phrase' => 'la_Text_Articles', 'list_var_name' => 'objArticleList');
- return $ret;
- break;
-
- case 'all_bitmask': // return bitmask value equals to "all" for module filter
- return Array('VarName' => 'News_View', 'Bits' => 1023);
- break;
-
- case 'dupe_resourceids':
- $ret=Array();
- $ret[]=Array('Table'=>'News','IDField'=>'NewsId');
- return $ret;
- break;
-
- case 'filenames':
- return Array('prefix' => 'n', 'table' => 'News', 'id_field' => 'NewsId', 'title_field' => 'Title');
- break;
- }
- return false;
- }
-
-?>
Property changes on: trunk/in-news/admin/include/parser.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.8
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/include/help/dummy
===================================================================
Index: trunk/in-news/admin/include/help/dummy
===================================================================
--- trunk/in-news/admin/include/help/dummy (revision 12830)
+++ trunk/in-news/admin/include/help/dummy (nonexistent)
Property changes on: trunk/in-news/admin/include/help/dummy
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/addarticle_category.php
===================================================================
--- trunk/in-news/admin/addarticle_category.php (revision 12830)
+++ trunk/in-news/admin/addarticle_category.php (nonexistent)
@@ -1,236 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-
-// new startup: begin
-define('REL_PATH', 'in-news/admin');
-$relation_level = count( explode('/', REL_PATH) );
-define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
-require_once FULL_PATH.'/kernel/startup.php';
-// new startup: end
-
-$pathtolocal = $pathtoroot."in-news/";
-require_once ($pathtoroot.$admin."/include/elements.php");
-require_once ($pathtoroot."kernel/admin/include/navmenu.php");
-require_once ($pathtolocal."admin/include/navmenu.php");
-require_once($pathtoroot.$admin."/toolbar.php");
-require_once($pathtoroot.$admin."/listview/listview.php");
-
-
-unset($objEditItems);
-$objEditItems = new clsNewsList();
-$objEditItems->SourceTable = $objSession->GetEditTable("News");
-$objEditItems->EnablePaging = FALSE;
-
-$en = (int)$_GET["en"];
-$objEditItems->Query_Item("SELECT * FROM ".$objEditItems->SourceTable);
-$itemcount=$objEditItems->NumItems();
-$c = $objEditItems->GetItemByIndex($en);
-
-if($itemcount>1)
-{
- if ($en+1 == $itemcount)
- $en_next = -1;
- else
- $en_next = $en+1;
-
- if ($en == 0)
- $en_prev = -1;
- else
- $en_prev = $en-1;
-}
-$action = "m_edit_article";
-
-$envar = "env=" . BuildEnv() . "&en=$en";
-$saveURL = $admin."/".$objSession->GetVariable('ReturnScript');
-$section = 'in-news:editarticle_category';
-
-$formaction = $rootURL."in-news/admin/addarticle_category.php?".$envar;
-
-//echo $envar."<br>\n";
-$objListToolBar = new clsToolBar();
-
-$objListToolBar->Add("img_save", "la_Save","","swap('img_save','toolbar/tool_select_f2.gif');", "swap('img_save', 'toolbar/tool_select.gif');","do_edit_save('article','NewsEditStatus','".$saveURL."',1);","tool_select.gif");
-$objListToolBar->Add("img_cancel", "la_Cancel","","swap('img_cancel','toolbar/tool_cancel_f2.gif');", "swap('img_cancel', 'toolbar/tool_cancel.gif');","do_edit_save('article','NewsEditStatus','".$saveURL."',2);","tool_cancel.gif");
-if($itemcount == 1) $objListToolBar->Add("divider");
-
-$objListToolBar->Set("section",$section);
-$objListToolBar->Set("load_menu_func","");
-$objListToolBar->Set("CheckClass","PermChecks");
-$objListToolBar->Set("CheckForm","article");
-
-//Display header
-$sec = $objSections->GetSection($section);
-
-
-if ( isset($en_prev) || isset($en_next) )
-{
- $url = $RootUrl."in-news/admin/addarticle_category.php";
- $StatusField = "NewsEditStatus";
- $form = "article";
- MultiEditButtons($objListToolBar,$en_next,$en_prev,$form,$StatusField,$url,$sec->Get("OnClick"));
- $objListToolBar->Add("divider");
-}
-
- $listImages = array();
- //$img, $alt, $link, $onMouseOver, $onMouseOut, $onClick
-
- $objListToolBar->Add("new_cat", "la_ToolTip_New_Category","#".$envar,"swap('new_cat','toolbar/tool_new_cat_f2.gif');",
- "swap('new_cat', 'toolbar/tool_new_cat.gif');",
- "OpenCatSelector('$envar&source=addarticle_category&destform=popup&destfield=CatList');",
- "tool_new_cat.gif");
-
- $objListToolBar->Add("cat_del","la_ToolTip_Delete","#", "if (PermChecks.itemChecked()) swap('cat_del','toolbar/tool_delete_f2.gif');",
- "if (PermChecks.itemChecked()) swap('cat_del', 'toolbar/tool_delete.gif');","if (PermChecks.itemChecked()) PermChecks.check_submit('addarticle_category', 'n_cat_delete');",
- "tool_delete.gif");
- $listImages[] = "PermChecks.addImage('cat_del','$imagesURL/toolbar/tool_delete.gif','$imagesURL/toolbar/tool_delete_f3.gif',1); ";
-
- // Set Primary Category
- $objListToolBar->Add("cat_primary","la_ToolTip_SetPrimary","#", "if (PermChecks.itemChecked()) swap('cat_primary','toolbar/tool_primary_cat_f2.gif');",
- "if (PermChecks.itemChecked()) swap('cat_primary', 'toolbar/tool_primary_cat.gif');","if (PermChecks.itemChecked()) PermChecks.check_submit('addarticle_category', 'n_primary_cat');",
- "tool_primary_cat.gif");
-
- $listImages[] = "PermChecks.addImage('cat_primary','$imagesURL/toolbar/tool_primary_cat.gif','$imagesURL/toolbar/tool_primary_cat_f3.gif',1); ";
-
- //$objListToolBar->Add("divider");
-
- $objListToolBar->AddToInitScript($listImages);
-
-
-$title = prompt_language("la_Text_Editing")." ".prompt_language("la_Text_Article")." '".$c->Get("Title")."' - ".prompt_language("la_tab_Categories");
-int_header($objListToolBar,NULL,$title);
-if ($objSession->GetVariable("HasChanges") == 1) {
-?>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="toolbar">
- <tr>
- <td valign="top">
- <?php int_hint_red(admin_language("la_Warning_Save_Item")); ?>
- </td>
- </tr>
-</table>
-<?php } ?>
-<form name="article" id="article" action="" method=POST>
-<?php
-
- $objCats = new clsCatList();
- $objCatList = new clsCatList();
- //$objCats->UpdateMissingCacheData();
- $CatList = $c->CategoryMemberList($objSession->GetEditTable("CategoryItems"));
- $Primary = $c->GetPrimaryCategory($objSession->GetEditTable("CategoryItems"));
- $catlist = array();
- if(strlen($CatList))
- {
- $cats = explode(",",$CatList);
-
- $per_page = $objConfig->Get('Perpage_LV_Catlist');
-
- $current_page = GetVar('lpn') ? GetVar('lpn') : $objSession->GetVariable('Page_LV_CatList');
- $start_from = $current_page ? ($current_page - 1) * $per_page : 0;
- if( !getArrayValue($cats, $start_from) )
- {
- $current_page = 1;
- $start_from = 0;
- $objSession->SetVariable('Page_LV_CatList', $current_page);
- }
-
- for($i=$start_from; $i < $start_from+$per_page; $i++)
- {
- if( getArrayValue($cats, $i) === false ) break;
-
- $cat =& $objCatList->GetItem($cats[$i]);
- $Status = $cat->get("Status");
- $catlist[$i] = $cat->Get("CachedNavbar");
- if(!strlen($catlist[$i]))
- {
- $cat->UpdateCachedPath();
- $catlist[$i] = $cat->Get("CachedNavbar");
- }
-
- if(strlen($catlist[$i]))
- {
- $catlist[$i] = prompt_language($objConfig->Get("Root_Name"))."&gt;".$catlist[$i];
- }
- else
- {
- $catlist[$i] = prompt_language($objConfig->Get("Root_Name"));
- $Status=1;
- }
- if($cats[$i]==$Primary)
- {
- $catlist[$i] .= "(".prompt_language("la_Text_Primary").")";
- }
- $attr = array();
- $attr["CachedNavbar"] = $catlist[$i];
- $attr["CategoryId"]=$cats[$i];
- $attr["Status"]=$Status;
- $objCats->AddItemFromArray($attr);
- }
- }
-
-
- $objListView = new clsListView($objListToolBar,$objCats);
-
- $objListView->IdField = "CategoryId";
-
- $order = $objConfig->Get("Category_LV_Sortfield");
- $SortOrder=0;
- if($objConfig->Get("Category_LV_Sortorder")=="asc")
- $SortOrder=1;
-
- $objListView->ColumnHeaders->Add("CachedNavbar",prompt_language("la_Text_Category"),1,0,$order,"width=\"30%\"","Category_LV_Sortfield","Category_LV_Sortorder","CachedNavbar");
-
- $objListView->ColumnHeaders->SetSort($objConfig->Get("Category_LV_Sortfield"), $objConfig->Get("Category_LV_Sortorder"));
-
- $objListView->PrintToolBar = FALSE;
- $objListView->checkboxes = TRUE;
-
- $objListView->CurrentPageVar = "Page_LV_CatList";
- $objListView->PerPageVar = "Perpage_LV_Catlist";
- $objListView->CheckboxName = "itemlist[]";
- $objListView->TotalItemCount = count($cats);
-
- for($i=0;$i<count($objCats->Items);$i++)
- {
- $objListView->RowIcons[] = $objCats->Items[$i]->StatusIcon();
- }
- print $objListView->PrintList();
-?>
- <input type="hidden" name="ResourceId" value="<?php echo $c->Get("ResourceId"); ?>">
- <input type="hidden" name="Action" value="n_edit_category_list">
- <input type="hidden" name="NewsEditStatus" VALUE="0">
-</FORM>
-<FORM NAME="popup" ID="popup" METHOD="POST" ACTION="<?php echo $formaction; ?>">
- <INPUT TYPE="hidden" NAME="CatList">
- <INPUT TYPE="hidden" NAME="ResourceId" VALUE="<?php echo $c->Get("ResourceId"); ?>">
- <INPUT TYPE="hidden" NAME="Action" value="n_add_category">
-</FORM>
-
-<FORM method="POST" NAME="save_edit" ID="save_edit">
- <input type="hidden" name="Action" value="">
- <input type="hidden" name="NewsEditStatus" VALUE="0">
-</FORM>
-<!-- CODE FOR VIEW MENU -->
-<form ID="viewmenu" method="post" action="<?php echo $_SERVER["PHP_SELF"]."?".$envar; ?>" name="viewmenu">
-<input type="hidden" name="fieldname" value="">
-<input type="hidden" name="varvalue" value="">
-<input type="hidden" name="varvalue2" value="">
-<input type="hidden" name="Action" value="">
-</form>
-<script src="<?php echo $adminURL; ?>/listview/listview.js"></script>
-<script>
- initSelectiorContainers();
-<?php echo $objListToolBar->Get("CheckClass").".setImages();"; ?>
-</script>
-<?php int_footer(); ?>
-
Property changes on: trunk/in-news/admin/addarticle_category.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.11
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/prerequisit.php
===================================================================
--- trunk/in-news/admin/install/prerequisit.php (revision 12830)
+++ trunk/in-news/admin/install/prerequisit.php (nonexistent)
@@ -1,43 +0,0 @@
-<?php
-$PreRequisitErrors = Array();
-$path = $pathtoroot."in-news";
-
-$result = true;
-
-if( !function_exists('ConvertVersion') )
-{
- function ConvertVersion($version)
- {
- $parts = explode('.', $version);
-
- $bin = '';
- foreach ($parts as $part) {
- $bin .= str_pad(decbin($part), 8, '0', STR_PAD_LEFT);
- }
-
- $dec = bindec($bin);
-
- return $dec;
- }
-}
-
-$min_version = Array('module' => 'In-Portal', 'version' => '1.1.0');
-
-$db =& GetADODBConnection();
-
-$query = 'SELECT Version FROM '.GetTablePrefix().'Modules WHERE Name = '.$db->qstr( $min_version['module'] );
-$inp_version = $db->GetOne($query);
-
-if( ConvertVersion($inp_version) < ConvertVersion($min_version['version']) )
-{
- $PreRequisitErrors[] = 'Please upgrade '.$min_version['module'].' to version '.$min_version['version'].' or above';
- $result = false;
-}
-
-if (isset($show_errors) && $show_errors)
-{
- foreach ($PreRequisitErrors as $error) {
- echo '<b><font color="#FF0000">'.$error.'</font></b><br />';
- }
-}
-?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/prerequisit.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/langpacks/english.lang
===================================================================
--- trunk/in-news/admin/install/langpacks/english.lang (revision 12830)
+++ trunk/in-news/admin/install/langpacks/english.lang (nonexistent)
@@ -1,49 +0,0 @@
-<LANGUAGES>
- <LANGUAGE PackName="English" Encoding="base64"><DATEFORMAT>m/d/Y</DATEFORMAT><TIMEFORMAT>g:i:s A</TIMEFORMAT><INPUTDATEFORMAT>m/d/Y</INPUTDATEFORMAT><INPUTTIMEFORMAT>g:i:s A</INPUTTIMEFORMAT><DECIMAL>.</DECIMAL><THOUSANDS>,</THOUSANDS><CHARSET>iso-8859-1</CHARSET><UNITSYSTEM>2</UNITSYSTEM>
- <PHRASES>
- <PHRASE Label="la_col_Author" Module="In-News" Type="1">QXV0aG9y</PHRASE>
- <PHRASE Label="la_col_EndOn" Module="In-News" Type="1">QXJjaGl2YXRpb24gRGF0ZQ==</PHRASE>
- <PHRASE Label="la_col_LeadCatStory" Module="In-News" Type="1">Q2F0ZWdvcnkgTGVhZA==</PHRASE>
- <PHRASE Label="la_col_LeadStory" Module="In-News" Type="1">U2l0ZSBMZWFk</PHRASE>
- <PHRASE Label="la_col_StartDate" Module="In-News" Type="1">U3RhcnQgRGF0ZQ==</PHRASE>
- <PHRASE Label="la_fld_Author" Module="In-News" Type="1">QXV0aG9y</PHRASE>
- <PHRASE Label="la_fld_Body" Module="In-News" Type="1">QXJ0aWNsZSBCb2R5</PHRASE>
- <PHRASE Label="la_fld_cust_n_ItemTemplate" Module="In-News" Type="1">TmV3cyBJdGVtIFRlbXBsYXRl</PHRASE>
- <PHRASE Label="la_fld_EndOn" Module="In-News" Type="1">QXJjaGl2YXRpb24gRGF0ZQ==</PHRASE>
- <PHRASE Label="la_fld_Excerpt" Module="In-News" Type="1">QXJ0aWNsZSBFeGNlcnB0</PHRASE>
- <PHRASE Label="la_fld_LeadCatStory" Module="In-News" Type="1">Q2F0ZWdvcnkgTGVhZCBTdG9yeQ==</PHRASE>
- <PHRASE Label="la_fld_LeadStory" Module="In-News" Type="1">U2l0ZSBMZWFkIFN0b3J5</PHRASE>
- <PHRASE Label="la_fld_News_MaxHotNumber" Module="In-News" Type="1">TWF4aW11bSBudW1iZXIgb2YgSE9UIGFydGljbGVz</PHRASE>
- <PHRASE Label="la_fld_News_MinPopRating" Module="In-News" Type="1">TWluaW11bSByYXRpbmcgdG8gY29uc2lkZXIgYXJ0aWNsZSBQT1A=</PHRASE>
- <PHRASE Label="la_fld_News_MinPopVotes" Module="In-News" Type="1">TWluaW11bSBudW1iZXIgb2Ygdm90ZXMgdG8gY29uc2lkZXIgYXJ0aWNsZSBQT1A=</PHRASE>
- <PHRASE Label="la_fld_RssDefaultExpiration" Module="In-News" Type="1">RGVmYXVsdCBFeHBpcmF0aW9u</PHRASE>
- <PHRASE Label="la_fld_RssDeleteExpired" Module="In-News" Type="1">RGVsZXRlIEV4cGlyZWQ=</PHRASE>
- <PHRASE Label="la_fld_RssExpireInterval" Module="In-News" Type="1">RXhwaXJhdGlvbiBDaGVjayBJbnRlcnZhbA==</PHRASE>
- <PHRASE Label="la_fld_RssOriginalURL" Module="In-News" Type="1">RmVlZCBPcmlnaW5hbCBVUkw=</PHRASE>
- <PHRASE Label="la_fld_RssSource" Module="In-News" Type="1">U291cmNlIFVSTA==</PHRASE>
- <PHRASE Label="la_fld_RssUpdateInterval" Module="In-News" Type="1">VXBkYXRlIEludGVydmFs</PHRASE>
- <PHRASE Label="la_fld_StartDate" Module="In-News" Type="1">U3RhcnQgRGF0ZQ==</PHRASE>
- <PHRASE Label="la_In-news" Module="In-News" Type="1">SW4tbmV3eg==</PHRASE>
- <PHRASE Label="la_section_Article" Module="In-News" Type="1">QXJ0aWNsZQ==</PHRASE>
- <PHRASE Label="la_section_RssExpiration" Module="In-News" Type="1">UlNTIEZlZWQgQXJ0aWNsZSBFeHBpcmF0aW9u</PHRASE>
- <PHRASE Label="la_section_RssProperties" Module="In-News" Type="1">UlNTIEZlZWQgUHJvcGVydGllcw==</PHRASE>
- <PHRASE Label="la_title_AddingArticle" Module="In-News" Type="1">QWRkaW5nIEFydGljbGU=</PHRASE>
- <PHRASE Label="la_title_Articles" Module="In-News" Type="1">QXJ0aWNsZXM=</PHRASE>
- <PHRASE Label="la_title_EditingArticle" Module="In-News" Type="1">RWRpdGluZyBBcnRpY2xl</PHRASE>
- <PHRASE Label="la_title_NewArticle" Module="In-News" Type="1">TmV3IEFydGljbGU=</PHRASE>
- <PHRASE Label="la_ToolTip_NewArticle" Module="In-News" Type="1">TmV3IEFydGljbGU=</PHRASE>
- <PHRASE Label="lu_fld_RssOriginalURL" Module="In-News" Type="0">RmVlZCBPcmlnaW5hbCBVUkw=</PHRASE>
- <PHRASE Label="lu_rss_feed" Module="In-News" Type="0">UlNTIEZlZWQ=</PHRASE>
- <PHRASE Label="lu_PermName_News.Modify.Pending_desc" Module="In-News" Type="0">TW9kaWZ5IEFydGljbGUgUGVuZGluZw==</PHRASE>
- <PHRASE Label="lu_PermName_News.Owner.Delete_desc" Module="In-News" Type="0">QXJ0aWNsZSBEZWxldGUgYnkgT3duZXI=</PHRASE>
- <PHRASE Label="lu_PermName_News.Owner.Modify.Pending_desc" Module="In-News" Type="0">QXJ0aWNsZSBNb2RpZnkgUGVuZGluZyBieSBPd25lcg==</PHRASE>
- <PHRASE Label="lu_PermName_News.Owner.Modify_desc" Module="In-News" Type="0">QXJ0aWNsZSBNb2RpZnkgYnkgT3duZXI=</PHRASE>
- </PHRASES>
- <EVENTS>
- <EVENT MessageType="text" Event="ARTICLE.ADD" Type="0">U3ViamVjdDogQXJ0aWNsZSBhZGRlZAoKWW91ciBhcnRpY2xlIGhhcyBiZWVuIGFkZGVk</EVENT>
- <EVENT MessageType="text" Event="ARTICLE.ADD" Type="1">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogQXJ0aWNsZSBhZGRlZAoKQW4gYXJ0aWNsZSBoYXMgYmVlbiBhZGRlZA==</EVENT>
- <EVENT MessageType="text" Event="ARTICLE.APPROVE" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogQXJ0aWNsZSBhcHByb3ZlZAoKWW91ciBzdWJtaXR0ZWQgYXJ0aWNsZSBoYXMgYmVlbiBhcHByb3ZlZA==</EVENT>
- <EVENT MessageType="text" Event="ARTICLE.DENY" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogQXJ0aWNsZSBkZWNsaW5lZAoKWW91ciBzdWJtaXR0ZWQgYXJ0aWNsZSBoYXMgYmVlbiBkZWNsaW5lZA==</EVENT>
- </EVENTS>
- </LANGUAGE>
-</LANGUAGES>
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/langpacks/english.lang
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.10
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/inportal_data.sql
===================================================================
--- trunk/in-news/admin/install/inportal_data.sql (revision 12830)
+++ trunk/in-news/admin/install/inportal_data.sql (nonexistent)
@@ -1,237 +0,0 @@
-INSERT INTO ConfigurationAdmin VALUES ('News_Search_Id', 'la_Text_Search', 'la_prompt_for_Id', 'checkbox', '', '', 1, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_SortField', 'la_Text_Articles', 'la_news_sortfield_pompt', 'select', '', 'Title=la_Article_Title,Excerpt=la_Article_Excerpt,Author=la_Article_Author,CreatedOn=la_Article_Date,Hits=la_Article_Hits,CachedRating=la_Article_Rating,<SQL>SELECT Prompt AS OptionName, CONCAT("cust_", FieldName) AS OptionValue FROM <PREFIX>CustomField WHERE (Type = 2) AND (IsSystem = 0)</SQL>', 10.01, 1, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_SortOrder', 'la_Text_Articles', 'la_news_sortfield_pompt', 'select', '', 'asc=la_common_ascending,desc=la_common_descending', 10.01, 2, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_SortField2', 'la_Text_Articles', 'la_news_sortfield2_pompt', 'select', '', 'Title=la_Article_Title,Excerpt=la_Article_Excerpt,Author=la_Article_Author,CreatedOn=la_Article_Date,Hits=la_Article_Hits,CachedRating=la_Article_Rating,<SQL>SELECT Prompt AS OptionName, CONCAT("cust_", FieldName) AS OptionValue FROM <PREFIX>CustomField WHERE (Type = 2) AND (IsSystem = 0)</SQL>', 10.02, 1, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_SortOrder2', 'la_Text_Articles', 'la_news_sortfield2_pompt', 'select', '', 'asc=la_common_ascending,desc=la_common_descending', 10.02, 2, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_CatNewDays', 'la_Text_Articles', 'la_news_newdays_prompt', 'text', '', '', 10.05, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('Perpage_News', 'la_Text_Articles', 'la_news_perpage_prompt', 'text', '', '', 10.03, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('Perpage_News_Short', 'la_Text_Articles', 'la_news_perpage_short_prompt', 'text', '', '', 10.04, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_MinPopRating', 'la_Text_Articles', 'la_fld_News_MinPopRating', 'text', '', '', 10.06, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_MaxHotNumber', 'la_Text_Articles', 'la_fld_News_MaxHotNumber', 'text', '', '', 10.08, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_ShowPick', 'la_Text_Articles', 'la_news_editorpicksabove_prompt', 'checkbox', '', '', 10.1, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_Archive', 'la_Text_Articles', 'la_news_daysarchive_prompt', 'text', '', '', 10.09, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_SortReviews', 'la_Text_Reviews', 'la_news_sortreviews_prompt', 'select', '', 'ReviewText=la_common_ReviewText,CreatedOn=la_common_CreatedOn', 20.01, 1, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_SortReviewsOrder', 'la_Text_Reviews', 'la_news_sortreviews_prompt', 'select', '', 'asc=la_common_ascending,desc=la_common_descending', 20.01, 2, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_SortReviews2', 'la_Text_Reviews', 'la_news_sortreviews2_prompt', 'select', '', 'ReviewText=la_common_ReviewText,CreatedOn=la_common_CreatedOn', 20.02, 1, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_SortReviewsOrder2', 'la_Text_Reviews', 'la_news_sortreviews2_prompt', 'select', '', 'asc=la_common_ascending,desc=la_common_descending', 20.02, 2, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_MinPopVotes', 'la_Text_Articles', 'la_fld_News_MinPopVotes', 'text', '', '', 10.07, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('Perpage_NewsReviews', 'la_Text_Reviews', 'la_review_perpage_prompt', 'text', NULL, NULL, 20.03, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('Perpage_NewsReviews_Short', 'la_Text_Reviews', 'la_review_perpage_short_prompt', 'text', NULL, NULL, 20.03, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_RatingDelay_Interval', 'la_Text_Articles', 'la_prompt_DupRating', 'select', '', '1=la_Text_Second,60=la_Text_Minute,3600=la_Text_Hour,86400=la_Text_Day,604800=la_Text_Week,2419200=la_Text_Month,29030400=la_text_Year', 10.12, 2, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_RatingDelay_Value', 'la_Text_Articles', 'la_prompt_DupRating', 'text', '', '', 10.12, 1, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_ReviewDelay_Interval', 'la_Text_Articles', 'la_prompt_DupReviews', 'select', '', '1=la_Text_Second,60=la_Text_Minute,3600=la_Text_Hour,86400=la_Text_Day,604800=la_Text_Week,2419200=la_Text_Month,29030400=la_text_Year', 10.11, 2, 1);
-INSERT INTO ConfigurationAdmin VALUES ('News_ReviewDelay_Value', 'la_Text_Articles', 'la_prompt_DupReviews', 'text', '', '', 10.11, 1, 1);
-INSERT INTO ConfigurationAdmin VALUES ('n_CategoryTemplate', 'la_section_Templates', 'la_fld_CategoryTemplate', 'text', '', '', 30.01, 0, 0);
-INSERT INTO ConfigurationAdmin VALUES ('n_ItemTemplate', 'la_section_Templates', 'la_fld_ItemTemplate', 'text', '', '', 30.02, 0, 0);
-INSERT INTO ConfigurationAdmin VALUES ('n_MaxImageCount', 'la_section_ImageSettings', 'la_config_MaxImageCount', 'text', '', '', 40.01, 0, 0);
-INSERT INTO ConfigurationAdmin VALUES ('n_ThumbnailImageWidth', 'la_section_ImageSettings', 'la_config_ThumbnailImageWidth', 'text', '', '', 40.02, 0, 0);
-INSERT INTO ConfigurationAdmin VALUES ('n_ThumbnailImageHeight', 'la_section_ImageSettings', 'la_config_ThumbnailImageHeight', 'text', '', '', 40.03, 0, 0);
-INSERT INTO ConfigurationAdmin VALUES ('n_FullImageWidth', 'la_section_ImageSettings', 'la_config_FullImageWidth', 'text', '', '', 40.04, 0, 0);
-INSERT INTO ConfigurationAdmin VALUES ('n_FullImageHeight', 'la_section_ImageSettings', 'la_config_FullImageHeight', 'text', '', '', 40.05, 0, 0);
-
-INSERT INTO ConfigurationAdmin VALUES ('SearchRel_Keyword_articles', 'la_config_SearchRel_DefaultKeyword', 'la_text_keyword', 'text', NULL, NULL, 0, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('SearchRel_Pop_articles', 'la_config_DefaultPop', 'la_text_popularity', 'text', NULL, NULL, 0, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('SearchRel_Rating_articles', 'la_config_DefaultRating', 'la_prompt_Rating', 'text', NULL, NULL, 0, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('SearchRel_Increase_articles', 'la_config_DefaultIncreaseImportance', 'la_text_increase_importance', 'text', NULL, NULL, 0, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('Search_ShowMultiple_articles', 'la_config_ShowMultiple', 'la_Text_MultipleShow', 'text', NULL, NULL, 0, 0, 1);
-
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Perpage_News', '8', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_PopCount', '4', 'inportal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_ArticleSort', 'CreatedOn desc, Title asc', 'inportal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_CatSort', 'cat_date desc, cat_name asc', 'inportal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_MinPopRating', '4', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_Archive', '0', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_ShowPick', '1', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_CatNewDays', '5', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_ShowMulti', '1', 'inportal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_Admin_Notice_New', '1', 'inportal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_Admin_Notice_Modify', '1', 'inportal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_Admin_Notice_Suggest', '1', 'inportal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_User_Notice_New', '1', 'inportal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_User_Notice_Approve', '1', 'inportal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_User_Notice_Deny', '1', 'inportal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_User_Notice_Modify', '1', 'inportal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_User_Notice_Modify_Approve', '1', 'inportal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_User_Notice_Modify_Deny', '1', 'inportal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_SortField', 'CreatedOn', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_SortOrder', 'desc', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_MaxHotNumber', '5', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_SortReviews', 'ReviewText', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_SortReviews2', 'ReviewText', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_SortReviewsOrder', 'desc', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_SortReviewsOrder2', 'asc', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_SortField2', 'Title', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_SortOrder2', 'desc', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_MinPopVotes', '20', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_RatingDelay_Value', '1', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_RatingDelay_Interval', '86400', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Article_Root', '{NewsCatId}', 'In-Portal', '')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Perpage_News_Short', '3', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Perpage_NewsReviews_Short', '3', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Perpage_NewsReviews', '10', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_ReviewDelay_Interval', '3600', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_ReviewDelay_Value', '12', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_Highlight_OpenTag', '<span class="match">', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'News_Highlight_CloseTag', '</span>', 'In-News', 'in-news:configuration_output')
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'n_CategoryTemplate', 'innews/index', 'In-News', 'in-news:configuration_output');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'n_ItemTemplate', 'innews/detail', 'In-News', 'in-news:configuration_output');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'n_MaxImageCount', 5, 'In-News', 'in-news:configuration_output');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'n_ThumbnailImageWidth', 120, 'In-News', 'in-news:configuration_output');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'n_ThumbnailImageHeight', 120, 'In-News', 'in-news:configuration_output');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'n_FullImageWidth', 450, 'In-News', 'in-news:configuration_output');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'n_FullImageHeight', 450, 'In-News', 'in-news:configuration_output');
-
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'SearchRel_Keyword_articles', '90', 'In-News', 'in-news:configuration_search');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'SearchRel_Pop_articles', '10', 'In-News', 'in-news:configuration_search');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'SearchRel_Rating_articles', '10', 'In-News', 'in-news:configuration_search');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'SearchRel_Increase_articles', '30', 'In-News', 'in-news:configuration_search');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_ShowMultiple_articles', '0', 'In-News', 'in-news:configuration_search');
-
-INSERT INTO Events VALUES (DEFAULT, 'ARTICLE.ADD', NULL, 2, 0, 'In-News', 'la_event_article.add', 1);
-INSERT INTO Events VALUES (DEFAULT, 'ARTICLE.MODIFY', NULL, 2, 0, 'In-News', 'la_event_article.modify', 1);
-INSERT INTO Events VALUES (DEFAULT, 'ARTICLE.REVIEW.ADD', NULL, 2, 0, 'In-News', 'la_event_article.review.add', 1);
-INSERT INTO Events VALUES (DEFAULT, 'ARTICLE.ADD', NULL, 1, 0, 'In-News', 'la_event_article.add', 0);
-INSERT INTO Events VALUES (DEFAULT, 'ARTICLE.APPROVE', NULL, 1, 0, 'In-News', 'la_event_article.approve', 0);
-INSERT INTO Events VALUES (DEFAULT, 'ARTICLE.DENY', NULL, 1, 0, 'In-News', 'la_event_article.deny', 0);
-INSERT INTO Events VALUES (DEFAULT, 'ARTICLE.MODIFY', NULL, 1, 0, 'In-News', 'la_event_article.modify', 0);
-INSERT INTO Events VALUES (DEFAULT, 'ARTICLE.MODIFY.APPROVE', NULL, 1, 0, 'In-News', 'la_event_article.modify.approve', 0);
-INSERT INTO Events VALUES (DEFAULT, 'ARTICLE.MODIFY.DENY', NULL, 1, 0, 'In-News', 'la_event_article.modify.deny', 0);
-INSERT INTO Events VALUES (DEFAULT, 'ARTICLE.REVIEW.ADD', NULL, 1, 0, 'In-News', 'la_event_article.review.add', 0);
-INSERT INTO Events VALUES (DEFAULT, 'ARTICLE.REVIEW.APPROVE', NULL, 1, 0, 'In-News', 'la_event_article.review.approve', 0);
-INSERT INTO Events VALUES (DEFAULT, 'ARTICLE.REVIEW.DENY', NULL, 1, 0, 'In-News', 'la_event_article.review.deny', 0);
-INSERT INTO Events VALUES (DEFAULT, 'ARTICLE.REVIEW.ADD.PENDING', NULL, 1, 0, 'In-News', 'la_event_article.review.add.pending', 0);
-
-INSERT INTO ItemTypes VALUES (2, 'In-News', 'n', 'News', 'Title', 'CreatedById', 'Hits', 'CachedRating', 'la_ItemTab_News', 1, 'in-news/admin/addarticle.php', 'clsNews', 'Article');
-
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.ADD', 'lu_PermName_News.Add_desc', 'lu_PermName_News.Add_desc', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.VIEW', 'lu_PermName_News.View_desc', 'lu_PermName_News.View_desc', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.ADD.PENDING', 'lu_PermName_News.Add.Pending_desc', 'lu_PermName_News.Add.Pending_error', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.MODIFY', 'lu_PermName_News.Modify_desc', 'lu_PermName_News.Modify_error', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.DELETE', 'lu_PermName_News.Delete_desc', 'lu_PermName_News.Delete_error', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.RATE', 'lu_PermName_News.Rate_desc', 'lu_PermName_News.Rate_error', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.REVIEW', 'lu_PermName_News.Review_desc', 'lu_PermName_News.Review_error', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.REVIEW.PENDING', 'lu_PermName_News.Review.Pending_desc', 'lu_PermName_News.Review.Pending_error', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.MODIFY.PENDING', 'lu_PermName_News.Modify.Pending_desc', 'lu_PermName_News.Modify.Pending_desc', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.OWNER.MODIFY', 'lu_PermName_News.Owner.Modify_desc', 'lu_PermName_News.Owner.Modify_error', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.OWNER.MODIFY.PENDING', 'lu_PermName_News.Owner.Modify.Pending_desc', 'lu_PermName_News.Owner.Modify.Pending_error', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.OWNER.DELETE', 'lu_PermName_News.Owner.Delete_desc', 'lu_PermName_News.Owner.Delete_error', 'In-News');
-
-INSERT INTO SearchConfig VALUES ('News', 'Title', 1, 1, 'lu_fielddesc_news_title', 'lu_field_title', 'In-News', 'la_text_article', 2, DEFAULT, 2, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'Excerpt', 1, 1, 'lu_fielddesc_news_excerpt', 'lu_field_excerpt', 'In-News', 'la_text_article', 3, DEFAULT, 1, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'Author', 1, 1, 'lu_fielddesc_news_author', 'lu_field_author', 'In-News', 'la_text_article', 4, DEFAULT, 1, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'Body', 1, 1, 'lu_fielddesc_news_body', 'lu_field_body', 'In-News', 'la_text_article', 5, DEFAULT, 1, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'CreatedOn', 0, 1, 'lu_fielddesc_news_createdon', 'lu_field_createdon', 'In-News', 'la_text_article', 6, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'EndOn', 0, 1, 'lu_fielddesc_news_endon', 'lu_field_endon', 'In-News', 'la_text_article', 7, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'Hits', 0, 1, 'lu_fielddesc_news_hits', 'lu_field_hits', 'In-News', 'la_text_article', 8, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'CachedRating', 0, 1, 'lu_fielddesc_news_cachedrating', 'lu_field_cachedrating', 'In-News', 'la_text_article', 9, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'CachedVotesQty', 0, 1, 'lu_fielddesc_news_cachedvotesqty', 'lu_field_cachedvotesqty', 'In-News', 'la_text_article', 10, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'CreatedById', 0, 1, 'lu_fielddesc_news_createdbyid', 'lu_field_createdbyid', 'In-News', 'la_text_article', 11, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'Priority', 0, 1, 'lu_fielddesc_news_priority', 'lu_field_priority', 'In-News', 'la_text_article', 12, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'Status', 0, 1, 'lu_fielddesc_news_status', 'lu_field_status', 'In-News', 'la_text_article', 13, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'EditorsPick', 0, 1, 'lu_fielddesc_news_editorspick', 'lu_field_editorspick', 'In-News', 'la_text_article', 14, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'LeadStory', 0, 1, 'lu_fielddesc_news_leadstory', 'lu_field_leadstory', 'In-News', 'la_text_article', 15, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'LeadCatStory', 0, 1, 'lu_fielddesc_news_leadcatstory', 'lu_field_leadcatstory', 'In-News', 'la_text_article', 16, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'ResourceId', 0, 1, 'lu_fielddesc_news_resourceid', 'lu_field_resourceid', 'In-News', 'la_text_article', 17, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'CachedReviewsQty', 0, 1, 'lu_fielddesc_news_cachedreviewsqty', 'lu_field_cachedreviewsqty', 'In-News', 'la_text_article', 18, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'StartDate', 0, 1, 'lu_fielddesc_news_startdate', 'lu_field_startdate', 'In-News', 'la_text_article', 19, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'NewItem', 0, 1, 'lu_fielddesc_news_newitem', 'lu_field_newitem', 'In-News', 'la_text_article', 20, DEFAULT, 0, 'boolean', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'PopItem', 0, 1, 'lu_fielddesc_news_popitem', 'lu_field_popitem', 'In-News', 'la_text_article', 21, DEFAULT, 0, 'boolean', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'HotItem', 0, 1, 'lu_fielddesc_news_hotitem', 'lu_field_hotitem', 'In-News', 'la_text_article', 22, DEFAULT, 0, 'boolean', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'Archived', 0, 1, 'lu_fielddesc_news_archived', 'lu_field_archived', 'In-News', 'la_text_article', 23, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'Modified', 0, 1, 'lu_fielddesc_news_modified', 'lu_field_modified', 'In-News', 'la_text_article', 24, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'ModifiedById', 0, 1, 'lu_fielddesc_news_modifiedbyid', 'lu_field_modifiedbyid', 'In-News', 'la_text_article', 25, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'OrgId', 0, 0, 'lu_fielddesc_news_orgid', 'lu_field_orgid', 'In-News', 'la_text_article', 26, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('News', 'NewsId', 0, 1, 'lu_fielddesc_news_newsid', 'lu_field_newsid', 'In-News', 'la_text_article', 0, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-INSERT INTO SearchConfig VALUES ('CustomField', 'RssOriginalURL', 1, 0, 'la_fld_RssOriginalURL', 'lu_fld_RssOriginalURL', 'In-News', 'la_section_CustomFields', 0, DEFAULT, 1, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-
-INSERT INTO CustomField VALUES (DEFAULT, 1, 'RssExpireInterval', 'RssExpireInterval', 0, 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField VALUES (DEFAULT, 1, 'RssUpdateInterval', 'RssUpdateInterval', 0, 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField VALUES (DEFAULT, 1, 'RssLastUpdated', 'RssLastUpdated', 0, 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField VALUES (DEFAULT, 1, 'RssDeleteExpired', 'RssDeleteExpired', 0, 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField VALUES (DEFAULT, 2, 'RssOriginalURL', 'lu_fld_RssOriginalURL', 0, 'la_section_CustomFields', 'la_fld_RssOriginalURL', 'label', 'cut_first="100"', 0, 1, 0);
-INSERT INTO CustomField VALUES (DEFAULT, 1, 'RssUpdateIntervalType', 'RssUpdateIntervalType', 0, 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField VALUES (DEFAULT, 1, 'RssSource', 'RssSource', 0, 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField VALUES (DEFAULT, 1, 'RssExpireIntervalType', 'RssExpireIntervalType', 0, 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField VALUES (DEFAULT, 1, 'RssDefaultExpiration', 'RssDefaultExpiration', 0, 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField VALUES (DEFAULT, 1, 'RssDefaultExpirationType', 'RssDefaultExpirationType', 0, 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField VALUES (DEFAULT, 1, 'RssLastExpired', 'RssLastExpired', 0, 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField VALUES (DEFAULT, 2, 'RssArticleCRC', 'RssArticleCRC', 0, 'la_section_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField VALUES (DEFAULT, 1, 'n_ItemTemplate', 'n_ItemTemplate', 0, 'la_title_SystemCF', 'n_ItemTemplate', 'text', NULL, 0, 0, 1);
-
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT count(*) FROM <%prefix%>News WHERE Status=1', NULL, 'la_prompt_ActiveArticles', 0, 1);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT COUNT(*) AS TotalArticles FROM <%prefix%>News', NULL, 'la_prompt_ArticlesTotal', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT COUNT(*) AS ActiveArticles FROM <%prefix%>News WHERE Status = 1', NULL, 'la_prompt_ArticlesActive', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT COUNT(*) AS PendingArticles FROM <%prefix%>News WHERE Status = 2', NULL, 'la_prompt_ArticlesPending', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT COUNT(*) AS DisabledArticles FROM <%prefix%>News WHERE Status = 0', NULL, 'la_prompt_DisabledArticles', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT COUNT(*) AS ArchivedArticles FROM <%prefix%>News WHERE Archived = 1', NULL, 'la_prompt_ArticlesArchived', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT COUNT(*) AS NewArticles FROM <%prefix%>News WHERE (NewItem = 1) OR ( (UNIX_TIMESTAMP() - CreatedOn) <= <%m:config name="News_CatNewDays"%>*86400 AND (NewItem = 2) )', NULL, 'la_prompt_NewArticles', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT COUNT(*) FROM <%prefix%>News WHERE EditorsPick = 1', NULL, 'la_prompt_EditorsPickArticles', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT COUNT(*) AS HotArticles FROM <%prefix%>News WHERE (HotItem = 1) OR (Hits >= <%m:config name="News_MaxHotNumber"%> AND (HotItem = 2) )', NULL, 'la_prompt_HotArticles', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT COUNT(*) FROM <%prefix%>News WHERE LeadStory = 1', NULL, 'la_prompt_LeadStoryArticles', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT COUNT(*) FROM <%prefix%>News WHERE LeadCatStory = 1', NULL, 'la_prompt_CategoryLeadStoryArticles', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT <%m:post_format field="AVG(CachedRating)" type="currency" precision="2"%> FROM <%prefix%>News WHERE CachedRating > 0', NULL, 'la_prompt_ArticleAverageRating', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT COUNT(*) AS PopularArticles FROM <%prefix%>News WHERE (PopItem = 1) OR ( (CachedRating >= <%article:hit_count type="top"%>) AND <%article:hit_count type="top"%> AND (PopItem = 2) )', NULL, '(*) la_prompt_PopularArticles', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT MAX(Hits) AS MaxHitsArticles FROM <%prefix%>News', NULL, 'la_prompt_MaxHitsArticles', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT MAX(CachedVotesQty) AS MaxVotesArticles FROM <%prefix%>News', NULL, 'la_prompt_MaxVotesArticles', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT <%m:post_format field="MAX(CreatedOn)" type="date"%> FROM <%prefix%>News', NULL, 'la_prompt_NewestArticleDate', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT <%m:post_format field="MAX(Modified)" type="date"%> FROM <%prefix%>News', NULL, 'la_prompt_LastArticleUpdate', 0, 2);
-INSERT INTO StatItem VALUES (DEFAULT, 'In-News', 'SELECT COUNT(*) FROM <%prefix%>ItemReview WHERE Module = \'<%modules:get_current%>\'', NULL, 'la_prompt_ArticleReviews', 0, 2);
-
-INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.VIEW', 14, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.VIEW', 14, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.VIEW', 13, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.ADD.PENDING', 13, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'FAVORITES', 13, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.VIEW', 13, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.RATE', 13, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.REVIEW', 13, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.ADD', 13, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.MODIFY', 13, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.MODIFY.PENDING', 13, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.DELETE', 13, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.VIEW', 11, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.ADD', 11, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.DELETE', 11, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.MODIFY', 11, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'FAVORITES', 11, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.VIEW', 11, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.ADD', 11, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.DELETE', 11, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.MODIFY', 11, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.RATE', 11, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.REVIEW', 11, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.VIEW', 12, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'FAVORITES', 12, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.VIEW', 12, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.RATE', 12, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.REVIEW.PENDING', 12, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.ADD.PENDING', 12, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.MODIFY', 12, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.MODIFY.PENDING', 12, 1, 0, {NewsCatId});
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.VIEW', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.ADD', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.DELETE', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.MODIFY', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.RATE', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.REVIEW', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.REVIEW.PENDING', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.ADD.PENDING', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.MODIFY.PENDING', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.MODIFY', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.MODIFY.PENDING', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.DELETE', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'in-news.view', 11, 1, 1, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'in-news:innews_general.view', 11, 1, 1, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'in-news:innews_general.edit', 11, 1, 1, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'in-news:configuration_output.view', 11, 1, 1, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'in-news:configuration_output.edit', 11, 1, 1, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'in-news:configuration_search.view', 11, 1, 1, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'in-news:configuration_search.edit', 11, 1, 1, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'in-news:configuration_email.view', 11, 1, 1, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'in-news:configuration_email.edit', 11, 1, 1, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'in-news:configuration_custom.view', 11, 1, 1, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'in-news:configuration_custom.add', 11, 1, 1, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'in-news:configuration_custom.edit', 11, 1, 1, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'in-news:configuration_custom.delete', 11, 1, 1, 0);
-
-INSERT INTO Modules VALUES ('In-News', 'in-news/', 'n', '4.2.0', 1, 2, 'innews/', {NewsCatId}, '1054738405');
Property changes on: trunk/in-news/admin/install/inportal_data.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.45
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/inportal_schema.sql
===================================================================
--- trunk/in-news/admin/install/inportal_schema.sql (revision 12830)
+++ trunk/in-news/admin/install/inportal_schema.sql (nonexistent)
@@ -1,40 +0,0 @@
-CREATE TABLE News (
- NewsId int(11) NOT NULL auto_increment,
- Title varchar(255) NOT NULL default '',
- AutomaticFilename tinyint(3) unsigned NOT NULL default '1',
- Excerpt text NOT NULL,
- Author varchar(255) NOT NULL default '',
- Body text NOT NULL,
- CreatedOn int(11) NOT NULL default '0',
- TextFormat int(11) NOT NULL default '0',
- EndOn INT(11) NULL DEFAULT NULL,
- Hits double(20,6) NOT NULL default '0.000000',
- CachedRating varchar(10) default '0',
- CachedVotesQty int(11) NOT NULL default '0',
- CreatedById int(11) NOT NULL default '-1',
- Priority INT(11) NOT NULL DEFAULT '0',
- `Status` tinyint(4) NOT NULL default '2',
- EditorsPick tinyint(4) NOT NULL default '0',
- LeadStory tinyint(4) NOT NULL default '0',
- LeadCatStory tinyint(4) NOT NULL default '0',
- ResourceId int(11) default NULL,
- CachedReviewsQty int(11) NOT NULL default '0',
- StartDate int(11) NOT NULL default '0',
- NewItem tinyint(4) NOT NULL default '2',
- PopItem tinyint(4) NOT NULL default '2',
- HotItem tinyint(4) NOT NULL default '2',
- Archived int(11) NOT NULL default '0',
- Modified int(11) NOT NULL default '0',
- ModifiedById int(11) NOT NULL default '-1',
- OrgId int(11) default NULL,
- PRIMARY KEY (NewsId),
- UNIQUE KEY ResourceId (ResourceId)
-)
-# --------------------------------------------------------
-CREATE TABLE NewsCustomData (
- CustomDataId int(11) NOT NULL auto_increment,
- ResourceId int(10) unsigned NOT NULL default '0',
- KEY ResourceId (ResourceId),
- PRIMARY KEY (CustomDataId)
-)
-# --------------------------------------------------------
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/inportal_schema.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.14
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.2.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.2.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.2.sql (nonexistent)
@@ -1,4 +0,0 @@
-ALTER TABLE News ADD Filename varchar(255) NOT NULL AFTER Title;
-ALTER TABLE News ADD AutomaticFilename TINYINT UNSIGNED NOT NULL AFTER Filename;
-
-UPDATE Modules SET Version = '1.1.2' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.2.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.5.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.5.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.5.sql (nonexistent)
@@ -1,2 +0,0 @@
-DELETE FROM SearchConfig WHERE ModuleName = 'In-News' AND TableName = 'News' AND FieldName = 'TextFormat';
-UPDATE Modules SET Version = '1.0.5' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.5.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.4.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.4.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.4.sql (nonexistent)
@@ -1 +0,0 @@
-UPDATE Modules SET Version = '1.0.4' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.4.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.3.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.3.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.3.sql (nonexistent)
@@ -1 +0,0 @@
-UPDATE Modules SET Version = '1.1.3' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.3.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.0.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.0.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.0.sql (nonexistent)
@@ -1,34 +0,0 @@
-ALTER TABLE NewsCustomData ADD INDEX (ResourceId);
-
-INSERT INTO SearchConfig VALUES ('CustomField', 'RssOriginalURL', 1, 0, 'la_fld_RssOriginalURL', 'lu_fld_RssOriginalURL', 'In-News', 'la_section_CustomFields', 0, 283, 1, 'text', '', '', '', '', '', '', 0);
-
-INSERT INTO CustomField (Type, FieldName, FieldLabel, Heading, Prompt, ElementType, ValueList, DisplayOrder, OnGeneralTab, IsSystem) VALUES (1, 'RssExpireInterval', 'RssExpireInterval', 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField (Type, FieldName, FieldLabel, Heading, Prompt, ElementType, ValueList, DisplayOrder, OnGeneralTab, IsSystem) VALUES (1, 'RssUpdateInterval', 'RssUpdateInterval', 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField (Type, FieldName, FieldLabel, Heading, Prompt, ElementType, ValueList, DisplayOrder, OnGeneralTab, IsSystem) VALUES (1, 'RssLastUpdated', 'RssLastUpdated', 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField (Type, FieldName, FieldLabel, Heading, Prompt, ElementType, ValueList, DisplayOrder, OnGeneralTab, IsSystem) VALUES (1, 'RssDeleteExpired', 'RssDeleteExpired', 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField (Type, FieldName, FieldLabel, Heading, Prompt, ElementType, ValueList, DisplayOrder, OnGeneralTab, IsSystem) VALUES (2, 'RssOriginalURL', 'lu_fld_RssOriginalURL', 'la_section_CustomFields', 'la_fld_RssOriginalURL', 'label', 'cut_first="100"', 0, 1, 0);
-INSERT INTO CustomField (Type, FieldName, FieldLabel, Heading, Prompt, ElementType, ValueList, DisplayOrder, OnGeneralTab, IsSystem) VALUES (1, 'RssUpdateIntervalType', 'RssUpdateIntervalType', 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField (Type, FieldName, FieldLabel, Heading, Prompt, ElementType, ValueList, DisplayOrder, OnGeneralTab, IsSystem) VALUES (1, 'RssSource', 'RssSource', 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField (Type, FieldName, FieldLabel, Heading, Prompt, ElementType, ValueList, DisplayOrder, OnGeneralTab, IsSystem) VALUES (1, 'RssExpireIntervalType', 'RssExpireIntervalType', 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField (Type, FieldName, FieldLabel, Heading, Prompt, ElementType, ValueList, DisplayOrder, OnGeneralTab, IsSystem) VALUES (1, 'RssDefaultExpiration', 'RssDefaultExpiration', 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField (Type, FieldName, FieldLabel, Heading, Prompt, ElementType, ValueList, DisplayOrder, OnGeneralTab, IsSystem) VALUES (1, 'RssDefaultExpirationType', 'RssDefaultExpirationType', 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField (Type, FieldName, FieldLabel, Heading, Prompt, ElementType, ValueList, DisplayOrder, OnGeneralTab, IsSystem) VALUES (1, 'RssLastExpired', 'RssLastExpired', 'la_title_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-INSERT INTO CustomField (Type, FieldName, FieldLabel, Heading, Prompt, ElementType, ValueList, DisplayOrder, OnGeneralTab, IsSystem) VALUES (2, 'RssArticleCRC', 'RssArticleCRC', 'la_section_SystemCF', NULL, 'text', NULL, 0, 0, 1);
-
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-news.view', 11, 1, 1, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-news:innews_general.view', 11, 1, 1, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-news:innews_general.edit', 11, 1, 1, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-news:configuration_output.view', 11, 1, 1, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-news:configuration_output.edit', 11, 1, 1, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-news:configuration_search.view', 11, 1, 1, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-news:configuration_search.edit', 11, 1, 1, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-news:configuration_email.view', 11, 1, 1, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-news:configuration_email.edit', 11, 1, 1, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-news:configuration_custom.view', 11, 1, 1, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-news:configuration_custom.add', 11, 1, 1, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-news:configuration_custom.edit', 11, 1, 1, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('in-news:configuration_custom.delete', 11, 1, 1, 0);
-
-UPDATE ConfigurationAdmin SET ValueList = 'Title=la_Article_Title,Excerpt=la_Article_Excerpt,Author=la_Article_Author,CreatedOn=la_Article_Date,Hits=la_Article_Hits,CachedRating=la_Article_Rating,<SQL>SELECT Prompt AS OptionName, CONCAT("cust_", FieldName) AS OptionValue FROM <PREFIX>CustomField WHERE (Type = 2) AND (IsSystem = 0)</SQL>' WHERE VariableName IN ('News_SortField', 'News_SortField2');
-
-UPDATE Modules SET Version = '1.2.0' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.0.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.1.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.1.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.1.sql (nonexistent)
@@ -1,42 +0,0 @@
-UPDATE ConfigurationAdmin SET VariableName = 'News_MinPopVotes', prompt = 'la_fld_News_MinPopVotes' WHERE VariableName = 'News_MinVotes';
-UPDATE ConfigurationAdmin SET VariableName = 'News_MinPopRating', prompt = 'la_fld_News_MinPopRating' WHERE VariableName = 'News_TopCount';
-UPDATE ConfigurationAdmin SET VariableName = 'News_MaxHotNumber', prompt = 'la_fld_News_MaxHotNumber' WHERE VariableName = 'News_VotesToHot';
-
-UPDATE ConfigurationValues SET VariableName = 'News_MinPopVotes' WHERE VariableName = 'News_MinVotes';
-UPDATE ConfigurationValues SET VariableName = 'News_MinPopRating' WHERE VariableName = 'News_TopCount';
-UPDATE ConfigurationValues SET VariableName = 'News_MaxHotNumber' WHERE VariableName = 'News_VotesToHot';
-
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.01', GroupDisplayOrder = 1 WHERE VariableName = 'News_SortField';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.01', GroupDisplayOrder = 2 WHERE VariableName = 'News_SortOrder';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.02', GroupDisplayOrder = 1 WHERE VariableName = 'News_SortField2';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.02', GroupDisplayOrder = 2 WHERE VariableName = 'News_SortOrder2';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.03' WHERE VariableName = 'Perpage_News';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.04' WHERE VariableName = 'Perpage_News_Short';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.05' WHERE VariableName = 'News_CatNewDays';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.06' WHERE VariableName = 'News_MinPopRating';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.07' WHERE VariableName = 'News_MinPopVotes';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.08' WHERE VariableName = 'News_MaxHotNumber';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.09' WHERE VariableName = 'News_Archive';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.10' WHERE VariableName = 'News_ShowPick';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.11', GroupDisplayOrder = 1 WHERE VariableName = 'News_ReviewDelay_Value';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.11', GroupDisplayOrder = 2 WHERE VariableName = 'News_ReviewDelay_Interval';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.12', GroupDisplayOrder = 1 WHERE VariableName = 'News_RatingDelay_Value';
-UPDATE ConfigurationAdmin SET DisplayOrder = '10.12', GroupDisplayOrder = 2 WHERE VariableName = 'News_RatingDelay_Interval';
-UPDATE ConfigurationAdmin SET DisplayOrder = '20.01', GroupDisplayOrder = 1 WHERE VariableName = 'News_SortReviews';
-UPDATE ConfigurationAdmin SET DisplayOrder = '20.01', GroupDisplayOrder = 2 WHERE VariableName = 'News_SortReviewsOrder';
-UPDATE ConfigurationAdmin SET DisplayOrder = '20.02', GroupDisplayOrder = 1 WHERE VariableName = 'News_SortReviews2';
-UPDATE ConfigurationAdmin SET DisplayOrder = '20.02', GroupDisplayOrder = 2 WHERE VariableName = 'News_SortReviewsOrder2';
-UPDATE ConfigurationAdmin SET DisplayOrder = '20.03' WHERE VariableName = 'Perpage_NewsReviews';
-UPDATE ConfigurationAdmin SET DisplayOrder = '20.03' WHERE VariableName = 'Perpage_NewsReviews_Short';
-UPDATE ConfigurationAdmin SET DisplayOrder = '30.01' WHERE VariableName = 'n_CategoryTemplate';
-UPDATE ConfigurationAdmin SET DisplayOrder = '30.02' WHERE VariableName = 'n_ItemTemplate';
-
-UPDATE ConfigurationValues SET VariableValue = 0 WHERE VariableName = 'News_Archive';
-ALTER TABLE News CHANGE EditorsPick EditorsPick TINYINT(4) NOT NULL DEFAULT '0';
-ALTER TABLE News CHANGE EndOn EndOn INT NOT NULL DEFAULT '0';
-ALTER TABLE News CHANGE CreatedOn CreatedOn INT NOT NULL DEFAULT '0';
-ALTER TABLE News CHANGE Modified Modified INT NOT NULL DEFAULT '0';
-
-INSERT INTO CustomField (Type, FieldName, FieldLabel, Heading, Prompt, ElementType, ValueList, DisplayOrder, OnGeneralTab, IsSystem) VALUES (1, 'n_ItemTemplate', 'n_ItemTemplate', 'la_title_SystemCF', 'n_ItemTemplate', 'text', NULL, 0, 0, 1);
-
-UPDATE Modules SET Version = '1.2.1' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.1.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.0.1.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.0.1.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.0.1.sql (nonexistent)
@@ -1 +0,0 @@
-UPDATE Modules SET Version = '4.0.1' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.0.1.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_4_1_0.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_4_1_0.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_4_1_0.txt (nonexistent)
@@ -1,12 +0,0 @@
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/inportal_schema.sql changed
-File in-news/in-news/admin/install/upgrades/changelog_4_0_1.txt changed
-File in-news/in-news/admin/install/upgrades/changelog_4_1_0.txt is new; release_4_1_0 revision 1.1.2.6
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v4.0.1.sql changed
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v4.1.0.sql is new; release_4_1_0 revision 1.1.2.1
-File in-news/in-news/admin/install/upgrades/readme_4_1_0.txt is new; release_4_1_0 revision 1.1.2.1
-File in-news/in-news/admin_templates/catalog_tab.tpl changed
-File in-news/in-news/admin_templates/category_properties.tpl changed
-File in-news/in-news/admin_templates/articles/articles_edit.tpl changed
-File in-news/in-news/units/articles/articles_config.php changed
-File in-news/in-news/units/articles/articles_event_handler.php changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_4_1_0.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_3_0.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_3_0.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_3_0.txt (nonexistent)
@@ -1,11 +0,0 @@
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/upgrades/changelog_1_3_0.txt is new; release_1_3_0 revision 1.1.2.12
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.3.0.sql is new; release_1_3_0 revision 1.1.2.1
-File in-news/in-news/admin_templates/catalog_tab.tpl changed
-File in-news/in-news/admin_templates/articles/articles_custom.tpl changed
-File in-news/in-news/admin_templates/articles/articles_edit.tpl changed
-File in-news/in-news/admin_templates/articles/articles_images.tpl changed
-File in-news/in-news/admin_templates/articles/images_edit.tpl changed
-File in-news/in-news/admin_templates/articles/relations_edit.tpl changed
-File in-news/in-news/units/articles/articles_config.php changed
-File in-news/themes/default/innews/index.tpl changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_3_0.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_0_6.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_0_6.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_0_6.txt (nonexistent)
@@ -1,28 +0,0 @@
-File in-news/in-news/action.php changed
-File in-news/in-news/frontaction.php changed
-File in-news/in-news/news.php changed
-File in-news/in-news/parser.php changed
-File in-news/in-news/admin/addarticle.php changed
-File in-news/in-news/admin/addarticle_category.php changed
-File in-news/in-news/admin/addarticle_custom.php changed
-File in-news/in-news/admin/addarticle_images.php changed
-File in-news/in-news/admin/addarticle_relations.php changed
-File in-news/in-news/admin/addarticle_reviews.php changed
-File in-news/in-news/admin/addimage.php changed
-File in-news/in-news/admin/addrelation.php changed
-File in-news/in-news/admin/addreview.php changed
-File in-news/in-news/admin/advanced_view.php changed
-File in-news/in-news/admin/browse.php changed
-File in-news/in-news/admin/config_general.php changed
-File in-news/in-news/admin/install.php changed
-File in-news/in-news/admin/include/navmenu.php changed
-File in-news/in-news/admin/include/parser.php changed
-File in-news/in-news/admin/include/toolbar/browse.php changed
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/upgrades/changelog_1_0_6.txt is new
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.0.6.sql is new
-File in-news/in-news/admin/install/upgrades/readme_1_0_6.txt is new
-File in-news/in-news/admin/templates/news_tab_element.tpl is new
-File in-news/themes/default/innews/index.tpl changed
-File in-news/themes/default/innews/detail/right/actionbox.tpl changed
-File in-news/themes/default/innews/index/article_element.tpl changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_0_6.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_0_7.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_0_7.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_0_7.txt (nonexistent)
@@ -1,22 +0,0 @@
-File in-news/in-news/action.php changed
-File in-news/in-news/news.php changed
-File in-news/in-news/parser.php changed
-File in-news/in-news/admin/addarticle.php changed
-File in-news/in-news/admin/addarticle_custom.php changed
-File in-news/in-news/admin/addarticle_reviews.php changed
-File in-news/in-news/admin/addimage.php changed
-File in-news/in-news/admin/addrelation.php changed
-File in-news/in-news/admin/addreview.php changed
-File in-news/in-news/admin/advanced_view.php changed
-File in-news/in-news/admin/install.php changed
-File in-news/in-news/admin/include/toolbar/advanced_view.php changed
-File in-news/in-news/admin/include/toolbar/browse.php changed
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/upgrades/changelog_1_0_7.txt is new
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.0.7.sql is new
-File in-news/in-news/admin/install/upgrades/readme_1_0_7.txt is new
-File in-news/themes/default/innews/catindex/catindex.tpl changed
-File in-news/themes/default/innews/index/articles.tpl changed
-File in-news/themes/default/innews/index/right/actionbox.tpl changed
-File in-news/themes/default/innews/search_results/item_results.tpl changed
-File in-news/themes/default/innews/search_results/search_result_element.tpl changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_0_7.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_1_4.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_1_4.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_1_4.txt (nonexistent)
@@ -1,13 +0,0 @@
-File in-news/in-news/news.php changed
-File in-news/in-news/parser.php changed
-File in-news/in-news/admin/addarticle_reviews.php changed
-File in-news/in-news/admin/browse.php changed
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/inportal_schema.sql changed
-File in-news/in-news/admin/install/langpacks/english.lang changed
-File in-news/in-news/admin/install/upgrades/changelog_1_1_4.txt is new; release_1_1_4 revision 1.7
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.1.4.sql is new; release_1_1_4 revision 1.2
-File in-news/in-news/admin/install/upgrades/readme_1_1_3.txt changed
-File in-news/in-news/admin/install/upgrades/readme_1_1_4.txt is new; release_1_1_4 revision 1.1
-File in-news/in-news/units/articles/articles_config.php changed
-File in-news/in-news/units/articles/articles_tag_processor.php is new; release_1_1_4 revision 1.2
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_1_4.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.8
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_1_5.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_1_5.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_1_5.txt (nonexistent)
@@ -1,14 +0,0 @@
-File in-news/in-news/action.php changed
-File in-news/in-news/frontaction.php changed
-File in-news/in-news/module_init.php changed
-File in-news/in-news/news.php changed
-File in-news/in-news/admin/addarticle.php changed
-File in-news/in-news/admin/addreview.php changed
-File in-news/in-news/admin/include/toolbar/editarticle_reviews.php changed
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/langpacks/english.lang changed
-File in-news/in-news/admin/install/upgrades/changelog_1_1_5.txt is new; release_1_1_5 revision 1.1.2.9
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.1.5.sql is new; release_1_1_5 revision 1.1
-File in-news/in-news/units/articles/articles_config.php changed
-File in-news/in-news/units/articles/articles_event_handler.php is new; release_1_1_5 revision 1.2
-File in-news/in-news/units/articles/articles_tag_processor.php changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_1_5.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_2_2.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_2_2.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_2_2.txt (nonexistent)
@@ -1,7 +0,0 @@
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/upgrades/changelog_1_2_2.txt is new; release_1_2_2 revision 1.1.2.4
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.2.2.sql is new; release_1_2_2 revision 1.1.2.1
-File in-news/in-news/admin/install/upgrades/readme_1_2_2.txt is new; release_1_2_2 revision 1.1.2.1
-File in-news/in-news/admin_templates/catalog_tab.tpl changed
-File in-news/in-news/units/articles/articles_config.php changed
-File in-news/in-news/units/articles/articles_tag_processor.php changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_2_2.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.10.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.10.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.10.sql (nonexistent)
@@ -1,9 +0,0 @@
-ALTER TABLE News DROP INDEX ResourceId, ADD UNIQUE ResourceId (ResourceId);
-
-UPDATE ConfigurationValues SET VariableName = 'News_SortField' WHERE VariableName = 'News_Sortfield' LIMIT 1;
-UPDATE ConfigurationValues SET VariableName = 'News_SortField2' WHERE VariableName = 'News_Sortfield2' LIMIT 1;
-
-UPDATE ConfigurationAdmin SET VariableName = 'News_SortField' WHERE VariableName = 'News_Sortfield' LIMIT 1;
-UPDATE ConfigurationAdmin SET VariableName = 'News_SortField2' WHERE VariableName = 'News_Sortfield2' LIMIT 1;
-
-UPDATE Modules SET Version = '1.0.10' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.10.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.1.php
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.1.php (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.1.php (nonexistent)
@@ -1,21 +0,0 @@
-<?php
- linkCustomFields('In-News', 'n', 2);
-
- linkCustomFields('KERNEL', 'c', 1);
-
- $query = 'REPLACE INTO '.TABLE_PREFIX.'CategoryItems (CategoryId, ItemResourceid, Primarycat, ItemPrefix, Filename)
- SELECT
- ci.CategoryId,
- ci.ItemResourceId,
- ci.PrimaryCat,
- \'n\' AS ItemPrefix,
- i.Filename as Filename
- FROM `'.TABLE_PREFIX.'News` as i
- LEFT JOIN '.TABLE_PREFIX.'CategoryItems as ci
- ON ci.ItemResourceId = i.ResourceId;';
-
- $application->Conn->Query($query);
-
- moveItemTemplatesToCustom('In-News', 'n');
-
-?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.1.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.0.php
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.0.php (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.0.php (nonexistent)
@@ -1,5 +0,0 @@
-<?php
- linkCustomFields('In-News', 'n', 2);
-
- linkCustomFields('KERNEL', 'c', 1);
-?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.0.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.2.php
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.2.php (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.2.php (nonexistent)
@@ -1,25 +0,0 @@
-<?php
-
- $module_prefix = 'n';
- $table_prefix = GetTablePrefix();
- $inst_ado =& inst_GetADODBConnection();
-
- $modules_list = GetModuleArray();
- $path = $pathtoroot.$modules_list[$module_prefix].'admin/include/parser.php';
- if ( file_exists($path) ) include_once($path);
-
- $module_info = n_GetModuleInfo('filenames');
- $sql = 'SELECT '.$module_info['title_field'].', '.$module_info['id_field'].' FROM '.$table_prefix.$module_info['table'];
- $items_rs = $inst_ado->Execute($sql);
- while(!$items_rs->EOF)
- {
- $module_info['item_id'] = $items_rs->fields[ $module_info['id_field'] ];
- $filename = StripDisallowed($items_rs->fields[ $module_info['title_field'] ], $module_info);
- $sql = 'UPDATE '.$table_prefix.$module_info['table'].'
- SET AutomaticFilename = 1, Filename = '.$inst_ado->qstr($filename).'
- WHERE '.$module_info['id_field'].' = '.$module_info['item_id'];
- $inst_ado->Execute($sql);
- $items_rs->MoveNext();
- }
-
-?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.2.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.2.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.2.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.2.sql (nonexistent)
@@ -1 +0,0 @@
-UPDATE Modules SET Version = '1.0.2' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.2.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.3.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.3.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.3.sql (nonexistent)
@@ -1 +0,0 @@
-UPDATE Modules SET Version = '1.0.3' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.3.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.0.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.0.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.0.sql (nonexistent)
@@ -1 +0,0 @@
-UPDATE Modules SET Version = '1.1.0' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.0.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.1.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.1.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.1.sql (nonexistent)
@@ -1,9 +0,0 @@
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('NEWS.VIEW', -1, 0, 0, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('NEWS.ADD', -1, 0, 0, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('NEWS.DELETE', -1, 0, 0, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('NEWS.MODIFY', -1, 0, 0, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('NEWS.RATE', -1, 0, 0, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('NEWS.REVIEW', -1, 0, 0, 0);
-INSERT INTO Permissions (Permission, GroupId, PermissionValue, Type, CatId) VALUES ('NEWS.REVIEW.PENDING', -1, 0, 0, 0);
-
-UPDATE Modules SET Version = '1.1.1' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.1.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_4_2_0.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_4_2_0.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_4_2_0.txt (nonexistent)
@@ -1,9 +0,0 @@
-Readme notes for In-newz 4.2.0
-Intechnic Corporation, July 26, 2007
-
-
-Fixes:
-
-
-
-Please refer to the release notes for In-portal Platform 4.2.0 for more information.
Property changes on: trunk/in-news/admin/install/upgrades/readme_4_2_0.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_4_1_0.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_4_1_0.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_4_1_0.txt (nonexistent)
@@ -1,11 +0,0 @@
-Readme notes for In-newz 4.1.0
-Intechnic Corporation, May 23, 2007
-
-
-****** MySQL 5 database server is fully supported starting with this release ******
-
-Fixes:
-
-- Improved List Articles mechanism
-
-Please refer to the release notes for In-portal Platform 4.1.0 for more information.
Property changes on: trunk/in-news/admin/install/upgrades/readme_4_1_0.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_0_5.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_0_5.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_0_5.txt (nonexistent)
@@ -1,2 +0,0 @@
-In-newz fixes:
-Removed unused field in the search configuration
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_0_5.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_0_6.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_0_6.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_0_6.txt (nonexistent)
@@ -1,5 +0,0 @@
-Readme for In-newz 1.0.6
-
-In-newz fixes:
-- News counter
-
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_0_6.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_0_7.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_0_7.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_0_7.txt (nonexistent)
@@ -1,6 +0,0 @@
-Readme for In-newz 1.0.7
-Intechnic Corporation, Janurary 06, 2005
-
-In-newz fixes:
-- Article page navigation
-
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_0_7.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_0_8.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_0_8.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_0_8.txt (nonexistent)
@@ -1,13 +0,0 @@
-Readme for In-newz 1.0.8
-Intechnic Corporation, April 14, 2005
-
-New features:
-- Hot & Top articles (tags)
- Added tags that could display a list of hot and top articles
-- New since last visit
- Added a section showing the articles that have been added since a user logged in last time
-- Editor's pick separate template
- Added a separate template for Editor's Pick articles that allows for a different design.
-
-Fixes:
-Article display in multiple categories
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_0_8.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_1_0.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_1_0.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_1_0.txt (nonexistent)
@@ -1,16 +0,0 @@
-Readme notes for In-portal Platform 1.1.0
-Intechnic Corporation, August 25, 2005
-
-New Features:
-
-Intechnic Corporation is pleased to announce the release of the next
-generation of In-portal Platform – version 1.1.0. The new Platform
-supports a more robust and easier to modify system of templates,
-combined with a new style sheet manager in the Administrative Console.
-The new Platform also features improved performance and enhanced ability of
-interaction between the modules.
-
-Please BACK UP all of your files and databases before upgrading.
-Refer to our the upgrade instructions on our support forum
-for more details:
-http://support.intechnic.com/forum/index.php?env=-inbulletin/post_list:m38-1-1-1:bb3620-0-1-1-1-0-1
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_1_0.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_1_1.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_1_1.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_1_1.txt (nonexistent)
@@ -1,6 +0,0 @@
-Readme notes for In-newz 1.1.1
-Intechnic Corporation, November 1, 2005
-
-Bug Fixes:
-
-- Fixed minor article pagination problem on the front end
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_1_1.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_4_0_1.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_4_0_1.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_4_0_1.txt (nonexistent)
@@ -1,6 +0,0 @@
-Readme notes for In-newz 4.0.1
-Intechnic Corporation, Apr 5, 2007
-
-
-This is a maintenance release of In-newz.
-Please refer to the release notes for In-portal Platform 4.0.1 for more information.
Property changes on: trunk/in-news/admin/install/upgrades/readme_4_0_1.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_3_0.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_3_0.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_3_0.txt (nonexistent)
@@ -1,8 +0,0 @@
-Readme notes for In-newz 1.3.0
-Intechnic Corporation, Feb 23, 2007
-
-Fixes:
-
-- Shortcuts on Summary page to Advanced View section fixed
-
-This release is a maintenance release. Please refer to the release notes for In-portal Platform 1.4.0 for more information.
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_3_0.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_2_2.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_2_2.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_2_2.txt (nonexistent)
@@ -1,8 +0,0 @@
-Readme notes for In-newz 1.2.2
-Intechnic Corporation, Nov 10, 2006
-
-
-Mainly a maintenance release with a few bug fixes:
-
-- Language encodings in Ajax Admin Catalog were fixed
-- Shortcuts on Summary page to Advanced View section fixed
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_2_2.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_2_1.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_2_1.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_2_1.txt (nonexistent)
@@ -1,5 +0,0 @@
-Readme notes for In-newz 1.2.1
-Intechnic Corporation, July 25, 2006
-
-This release is necessary to support the new features introduced in In-portal Platform 1.2.1 (such as Section Permissions in the Administrative Console).
-Please refer to the release notes for In-portal Platform 1.2.1 for more information.
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_2_1.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_2_0.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_2_0.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_2_0.txt (nonexistent)
@@ -1,8 +0,0 @@
-Readme notes for In-newz 1.2.0
-Intechnic Corporation, July 4, 2006
-
-This release is necessary to support the new features introduced in In-portal Platform 1.2.0 (such as Section Permissions in the Administrative Console).
-Please refer to the release notes for In-portal Platform 1.2.0 for more information.
-
-New In-newz features:
- - Added RSS support - importing and exporting In-newz articles into the RSS format
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_2_0.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_1_6.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_1_6.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_1_6.txt (nonexistent)
@@ -1,5 +0,0 @@
-Readme notes for In-newz 1.1.6
-Intechnic Corporation, May 4, 2006
-
-This is a maintenance release to support new features introduced in In-portal Platform 1.1.8 such as Category and Item Templates and custom field mechanism refactoring.
-Please refer to the release notes for In-portal Platform 1.1.8
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_1_6.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_1_5.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_1_5.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_1_5.txt (nonexistent)
@@ -1,4 +0,0 @@
-Readme notes for In-newz 1.1.5
-Intechnic Corporation, April 4, 2006
-
-Please refer to release notes for In-portal Platform 1.1.7.
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_1_5.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_1_4.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_1_4.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_1_4.txt (nonexistent)
@@ -1,5 +0,0 @@
-Readme notes for In-newz 1.1.4
-Intechnic Corporation, February 28, 2006
-
-Bug fixes:
- - Minor performance improvment when using mod_rewrite
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_1_4.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_1_3.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_1_3.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_1_3.txt (nonexistent)
@@ -1,5 +0,0 @@
-Readme notes for In-newz 1.1.3
-Intechnic Corporation, January 10, 2006
-
-Bug fixes:
- - Various pagionation fixes for categories, relations, images and reviews
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_1_3.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_1_2.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_1_2.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_1_2.txt (nonexistent)
@@ -1,17 +0,0 @@
-Readme notes for In-newz 1.1.2
-Intechnic Corporation, December 23, 2005
-
-This release has been solely focused on integrating In-portal with mod_rewrite.
-The integration allows In-portal to generate and parse meaningful,
-friendly URLs with no query string. Please consult the product manual
-section 4.2.12. "URLs Structure & Mod_Rewrite" for more information.
-A number of bug-fixes have also been included in this release.
-
-IMPORTANT:
-Upgrade Notes
-
-After upgrading to this version, please open Administrative Console,
-Structure & Data -> Catalog section and click
-the 'Rebuild Category Cache' button (an icon with a folder and blue arrows between Approve and Cut icons).
-Then go to Configuration -> Themes and click 'Rescan Themes' button (the last one in the toolbar).
-These operations are critical before enabling mod_rewrite functionality.
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_1_2.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_4_0_1.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_4_0_1.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_4_0_1.txt (nonexistent)
@@ -1,4 +0,0 @@
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/upgrades/changelog_1_3_0.txt changed
-File in-news/in-news/admin/install/upgrades/changelog_4_0_1.txt is new; release_4_0_1 revision 1.1.2.4
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v4.0.1.sql is new; release_4_0_1 revision 1.1.2.1
Property changes on: trunk/in-news/admin/install/upgrades/changelog_4_0_1.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_0_5.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_0_5.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_0_5.txt (nonexistent)
@@ -1,25 +0,0 @@
-File in-news/in-news/action.php changed
-File in-news/in-news/frontaction.php changed
-File in-news/in-news/news.php changed
-File in-news/in-news/parser.php changed
-File in-news/in-news/searchaction.php is new
-File in-news/in-news/admin/addarticle.php changed
-File in-news/in-news/admin/addarticle_category.php changed
-File in-news/in-news/admin/addarticle_custom.php changed
-File in-news/in-news/admin/addarticle_images.php changed
-File in-news/in-news/admin/addarticle_relations.php changed
-File in-news/in-news/admin/addarticle_reviews.php changed
-File in-news/in-news/admin/advanced_view.php is new
-File in-news/in-news/admin/browse.php changed
-File in-news/in-news/admin/install.php changed
-File in-news/in-news/admin/images/icon16_article_pop.gif is new
-File in-news/in-news/admin/include/parser.php changed
-File in-news/in-news/admin/include/help/editarticle_category.txt changed
-File in-news/in-news/admin/include/summary/site.php changed
-File in-news/in-news/admin/include/toolbar/advanced_view.php is new
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/upgrades/changelog_1_0_5.txt is new
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.0.5.sql is new
-File in-news/in-news/admin/install/upgrades/readme_1_0_5.txt is new
-File in-news/in-news/admin/templates/news_element.tpl changed
-File in-news/themes/default/innews/pick.tpl changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_0_5.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_1_2.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_1_2.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_1_2.txt (nonexistent)
@@ -1,26 +0,0 @@
-File in-news/in-news/action.php changed
-File in-news/in-news/in-news_config.php changed
-File in-news/in-news/news.php changed
-File in-news/in-news/parser.php changed
-File in-news/in-news/rssparser.php changed
-File in-news/in-news/admin/addarticle.php changed
-File in-news/in-news/admin/addarticle_category.php changed
-File in-news/in-news/admin/addarticle_images.php changed
-File in-news/in-news/admin/install.php changed
-File in-news/in-news/admin/include/parser.php changed
-File in-news/in-news/admin/include/help/editarticle_general.txt changed
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/inportal_schema.sql changed
-File in-news/in-news/admin/install/prerequisit.php changed
-File in-news/in-news/admin/install/langpacks/english.lang is new
-File in-news/in-news/admin/install/upgrades/changelog_1_1_2.txt is new
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.1.2.php is new
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.1.2.sql is new
-File in-news/in-news/admin/install/upgrades/readme_1_1_2.txt is new
-File in-news/in-news/units/articles/articles_config.php is new
-File in-news/themes/default/innews/detail/article.tpl changed
-File in-news/themes/default/innews/detail/right/actionbox.tpl changed
-File in-news/themes/default/innews/index/sitemap_cat_element.tpl changed
-File in-news/themes/default/innews/index/sitemap_subcat_element.tpl changed
-File in-news/themes/default/innews/index/subcat_element.tpl changed
-File in-news/themes/default/innews/main/edpick/articles.tpl changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_1_2.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.8
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_1_3.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_1_3.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_1_3.txt (nonexistent)
@@ -1,10 +0,0 @@
-File in-news/in-news/parser.php changed
-File in-news/in-news/admin/addarticle_category.php changed
-File in-news/in-news/admin/addarticle_images.php changed
-File in-news/in-news/admin/addarticle_relations.php changed
-File in-news/in-news/admin/addarticle_reviews.php changed
-File in-news/in-news/admin/include/toolbar/editarticle_relations.php changed
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/upgrades/changelog_1_1_3.txt is new
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.1.3.sql is new
-File in-news/in-news/admin/install/upgrades/readme_1_1_3.txt is new
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_1_3.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_2_0.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_2_0.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_2_0.txt (nonexistent)
@@ -1,40 +0,0 @@
-File in-news/in-news/action.php changed
-File in-news/in-news/parser.php changed
-File in-news/in-news/admin/addarticle.php changed
-File in-news/in-news/admin/addimage.php changed
-File in-news/in-news/admin/addreview.php changed
-File in-news/in-news/admin/advanced_view.php changed
-File in-news/in-news/admin/config_general.php is removed; release_1_1_6 revision 1.6
-File in-news/in-news/admin/install.php changed
-File in-news/in-news/admin/images/icon24_settings_in-newz.gif is removed; release_1_1_6 revision 1.1
-File in-news/in-news/admin/images/icon46_list_settings_in-newz.gif is removed; release_1_1_6 revision 1.1
-File in-news/in-news/admin/images/icon46_settings_in-newz.gif is removed; release_1_1_6 revision 1.1
-File in-news/in-news/admin/include/toolbar/advanced_view.php changed
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/inportal_schema.sql changed
-File in-news/in-news/admin/install/langpacks/english.lang changed
-File in-news/in-news/admin/install/upgrades/changelog_1_2_0.txt is new; release_1_2_0 revision 1.1.2.9
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.1.6.php changed
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.2.0.php is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.2.0.sql is new; release_1_2_0 revision 1.3.2.1
-File in-news/in-news/admin/install/upgrades/readme_1_2_0.txt is new; release_1_2_0 revision 1.1.2.2
-File in-news/in-news/admin_templates/category_items.tpl is new; release_1_2_0 revision 1.3
-File in-news/in-news/admin_templates/img/icons/icon24_settings_custom.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/icons/icon24_settings_email.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/icons/icon24_settings_general.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/icons/icon24_settings_in-link.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/icons/icon24_settings_in-newz.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/icons/icon24_settings_output.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/icons/icon24_settings_search.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/icons/icon46_list_settings_custom.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/icons/icon46_list_settings_email.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/icons/icon46_list_settings_general.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/icons/icon46_list_settings_in-newz.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/icons/icon46_list_settings_output.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/icons/icon46_list_settings_search.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/icons/icon46_settings_in-newz.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/admin_templates/img/itemicons/icon16_article_pending.gif is new; release_1_2_0 revision 1.1
-File in-news/in-news/units/articles/articles_config.php changed
-File in-news/in-news/units/articles/articles_event_handler.php changed
-File in-news/themes/default/innews/index.tpl changed
-File in-news/themes/default/innews/rss_feed.tpl is new; release_1_2_0 revision 1.2
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_2_0.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_2_1.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_2_1.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_2_1.txt (nonexistent)
@@ -1,61 +0,0 @@
-File in-news/in-news/action.php changed
-File in-news/in-news/news.php changed
-File in-news/in-news/admin/install.php changed
-File in-news/in-news/admin/include/help/configuration_custom.txt is removed; release_1_2_0 revision 1.1
-File in-news/in-news/admin/include/help/configuration_email.txt is removed; release_1_2_0 revision 1.1
-File in-news/in-news/admin/include/help/dummy is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/admin/include/help/editarticle_category.txt is removed; release_1_2_0 revision 1.2
-File in-news/in-news/admin/include/help/editarticle_custom.txt is removed; release_1_2_0 revision 1.1
-File in-news/in-news/admin/include/help/editarticle_general.txt is removed; release_1_2_0 revision 1.3
-File in-news/in-news/admin/include/help/editarticle_image.txt is removed; release_1_2_0 revision 1.1
-File in-news/in-news/admin/include/help/editarticle_images.txt is removed; release_1_2_0 revision 1.1
-File in-news/in-news/admin/include/help/editarticle_relation.txt is removed; release_1_2_0 revision 1.1
-File in-news/in-news/admin/include/help/editarticle_relations.txt is removed; release_1_2_0 revision 1.1
-File in-news/in-news/admin/include/help/editarticle_review.txt is removed; release_1_2_0 revision 1.1
-File in-news/in-news/admin/include/help/editarticle_reviews.txt is removed; release_1_2_0 revision 1.1
-File in-news/in-news/admin/include/help/innews_general.txt is removed; release_1_2_0 revision 1.1
-File in-news/in-news/admin/include/toolbar/advanced_view.php changed
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/inportal_schema.sql changed
-File in-news/in-news/admin/install/langpacks/english.lang changed
-File in-news/in-news/admin/install/upgrades/changelog_1_2_1.txt is new; release_1_2_1 revision 1.1.2.6
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.2.1.php is new; release_1_2_1 revision 1.1.2.2
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.2.1.sql is new; release_1_2_1 revision 1.4.2.1
-File in-news/in-news/admin/install/upgrades/readme_1_2_1.txt is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/admin_templates/catalog_tab.tpl is new; release_1_2_1 revision 1.5.2.7
-File in-news/in-news/admin_templates/category_items.tpl is removed; release_1_2_0 revision 1.3
-File in-news/in-news/admin_templates/category_properties.tpl is new; release_1_2_1 revision 1.1
-File in-news/in-news/admin_templates/articles/articles_categories.tpl is new; release_1_2_1 revision 1.1.2.6
-File in-news/in-news/admin_templates/articles/articles_custom.tpl is new; release_1_2_1 revision 1.2.2.4
-File in-news/in-news/admin_templates/articles/articles_edit.tpl is new; release_1_2_1 revision 1.1.2.4
-File in-news/in-news/admin_templates/articles/articles_images.tpl is new; release_1_2_1 revision 1.2.2.2
-File in-news/in-news/admin_templates/articles/articles_relations.tpl is new; release_1_2_1 revision 1.1.2.5
-File in-news/in-news/admin_templates/articles/articles_reviews.tpl is new; release_1_2_1 revision 1.1.2.2
-File in-news/in-news/admin_templates/articles/articles_tabs.tpl is new; release_1_2_1 revision 1.1
-File in-news/in-news/admin_templates/articles/images_edit.tpl is new; release_1_2_1 revision 1.2.2.3
-File in-news/in-news/admin_templates/articles/relations_edit.tpl is new; release_1_2_1 revision 1.1.2.3
-File in-news/in-news/admin_templates/articles/review_edit.tpl is new; release_1_2_1 revision 1.1.2.2
-File in-news/in-news/admin_templates/img/icons/icon46_articles.gif is new; release_1_2_1 revision 1.1
-File in-news/in-news/admin_templates/img/itemicons/icon16_article.gif is new; release_1_2_1 revision 1.1
-File in-news/in-news/admin_templates/img/itemicons/icon16_article_disabled.gif is new; release_1_2_1 revision 1.1
-File in-news/in-news/admin_templates/img/itemicons/icon16_article_hot.gif is new; release_1_2_1 revision 1.1
-File in-news/in-news/admin_templates/img/itemicons/icon16_article_new.gif is new; release_1_2_1 revision 1.1
-File in-news/in-news/admin_templates/img/itemicons/icon16_article_pick.gif is new; release_1_2_1 revision 1.1
-File in-news/in-news/admin_templates/img/itemicons/icon16_article_pop.gif is new; release_1_2_1 revision 1.1
-File in-news/in-news/admin_templates/img/toolbar/tool_new_article.gif is new; release_1_2_1 revision 1.1
-File in-news/in-news/admin_templates/img/toolbar/tool_new_article_f2.gif is new; release_1_2_1 revision 1.1
-File in-news/in-news/admin_templates/img/toolbar/tool_new_article_f3.gif is new; release_1_2_1 revision 1.1
-File in-news/in-news/module_help/articles_categories.txt is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/module_help/articles_custom.txt is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/module_help/articles_edit.txt is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/module_help/articles_images.txt is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/module_help/articles_relations.txt is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/module_help/articles_reviews.txt is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/module_help/config_list_general.txt is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/module_help/custom_fields_list.txt is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/module_help/email_settings_list.txt is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/module_help/images_edit.txt is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/module_help/relations_edit.txt is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/module_help/reviews_edit.txt is new; release_1_2_1 revision 1.1.2.1
-File in-news/in-news/units/articles/articles_config.php changed
-File in-news/in-news/units/articles/articles_event_handler.php changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_2_1.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.1.php
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.1.php (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.1.php (nonexistent)
@@ -1,9 +0,0 @@
-<?php
- $inst_ado =& inst_GetADODBConnection();
-
- $sql = 'SELECT GroupId FROM '.GetTablePrefix().'PortalGroup WHERE Name = '.$inst_ado->qstr('Everyone');
- $group_id = $inst_ado->GetOne($sql);
-
- $sql = 'UPDATE '.GetTablePrefix().'Permissions SET GroupId = %s WHERE GroupId = -1';
- $inst_ado->Execute( sprintf($sql, $group_id) );
-?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.1.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.8.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.8.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.8.sql (nonexistent)
@@ -1,6 +0,0 @@
-INSERT INTO ConfigurationValues VALUES ('Search_ShowMultiple_article', '0', 'In-Portal', '');
-
-ALTER TABLE News DROP INDEX ResourceId, ADD UNIQUE ResourceId (ResourceId);
-ALTER TABLE News CHANGE Hits Hits DOUBLE( 20, 6 ) DEFAULT '0' NOT NULL
-
-UPDATE Modules SET Version = '1.0.8' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.8.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.6.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.6.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.6.sql (nonexistent)
@@ -1,23 +0,0 @@
-UPDATE ConfigurationValues SET ModuleOwner = 'In-News', Section = 'in-news:configuration_search' WHERE VariableName LIKE 'SearchRel_%_article' OR VariableName = 'Search_ShowMultiple_article';
-
-INSERT INTO ConfigurationAdmin VALUES ('SearchRel_Keyword_articles', 'la_config_SearchRel_DefaultKeyword', 'la_text_keyword', 'text', NULL, NULL, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('SearchRel_Pop_articles', 'la_config_DefaultPop', 'la_text_popularity', 'text', NULL, NULL, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('SearchRel_Rating_articles', 'la_config_DefaultRating', 'la_prompt_Rating', 'text', NULL, NULL, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('Search_ShowMultiple_articles', 'la_config_ShowMultiple', 'la_Text_MultipleShow', 'text', NULL, NULL, 0, 1);
-INSERT INTO ConfigurationAdmin VALUES ('SearchRel_Increase_articles', 'la_config_DefaultIncreaseImportance', 'la_text_increase_importance', 'text', NULL, NULL, 0, 1);
-
-UPDATE ConfigurationValues SET VariableName = 'SearchRel_Keyword_articles' WHERE VariableName = 'SearchRel_Keyword_article';
-UPDATE ConfigurationValues SET VariableName = 'SearchRel_Pop_articles' WHERE VariableName = 'SearchRel_Pop_article';
-UPDATE ConfigurationValues SET VariableName = 'SearchRel_Rating_articles' WHERE VariableName = 'SearchRel_Rating_article';
-UPDATE ConfigurationValues SET VariableName = 'SearchRel_Increase_articles' WHERE VariableName = 'SearchRel_Increase_article';
-UPDATE ConfigurationValues SET VariableName = 'Search_ShowMultiple_articles' WHERE VariableName = 'Search_ShowMultiple_article';
-
-CREATE TABLE NewsCustomData (CustomDataId int(11) NOT NULL auto_increment, ResourceId int(10) unsigned NOT NULL default '0', PRIMARY KEY (CustomDataId));
-
-INSERT INTO ConfigurationAdmin VALUES ('n_CategoryTemplate', 'la_section_Templates', 'la_fld_CategoryTemplate', 'text', '', '', 1, 0);
-INSERT INTO ConfigurationAdmin VALUES ('n_ItemTemplate', 'la_section_Templates', 'la_fld_ItemTemplate', 'text', '', '', 1, 0);
-
-INSERT INTO ConfigurationValues VALUES ('n_CategoryTemplate', 'innews/index', 'In-News', 'in-news:configuration_output');
-INSERT INTO ConfigurationValues VALUES ('n_ItemTemplate', 'innews/detail', 'In-News', 'in-news:configuration_output');
-
-UPDATE Modules SET Version = '1.1.6' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.6.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.2.0.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.2.0.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.2.0.sql (nonexistent)
@@ -1,27 +0,0 @@
-UPDATE ConfigurationAdmin SET ValueList = 'ReviewText=la_common_ReviewText,CreatedOn=la_common_CreatedOn' WHERE VariableName IN ('News_SortReviews', 'News_SortReviews2');
-
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.ADD.PENDING', 'lu_PermName_News.Add.Pending_desc', 'lu_PermName_News.Add.Pending_error', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.MODIFY.PENDING', 'lu_PermName_News.Modify.Pending_desc', 'lu_PermName_News.Modify.Pending_desc', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.OWNER.MODIFY', 'lu_PermName_News.Owner.Modify_desc', 'lu_PermName_News.Owner.Modify_error', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.OWNER.MODIFY.PENDING', 'lu_PermName_News.Owner.Modify.Pending_desc', 'lu_PermName_News.Owner.Modify.Pending_error', 'In-News');
-INSERT INTO PermissionConfig VALUES (DEFAULT, 'NEWS.OWNER.DELETE', 'lu_PermName_News.Owner.Delete_desc', 'lu_PermName_News.Owner.Delete_error', 'In-News');
-
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.ADD.PENDING', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.MODIFY.PENDING', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.MODIFY', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.MODIFY.PENDING', 15, 0, 0, 0);
-INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.DELETE', 15, 0, 0, 0);
-
-INSERT INTO ConfigurationAdmin VALUES ('n_MaxImageCount', 'la_section_ImageSettings', 'la_config_MaxImageCount', 'text', '', '', 40.01, 0, 0);
-INSERT INTO ConfigurationAdmin VALUES ('n_ThumbnailImageWidth', 'la_section_ImageSettings', 'la_config_ThumbnailImageWidth', 'text', '', '', 40.02, 0, 0);
-INSERT INTO ConfigurationAdmin VALUES ('n_ThumbnailImageHeight', 'la_section_ImageSettings', 'la_config_ThumbnailImageHeight', 'text', '', '', 40.03, 0, 0);
-INSERT INTO ConfigurationAdmin VALUES ('n_FullImageWidth', 'la_section_ImageSettings', 'la_config_FullImageWidth', 'text', '', '', 40.04, 0, 0);
-INSERT INTO ConfigurationAdmin VALUES ('n_FullImageHeight', 'la_section_ImageSettings', 'la_config_FullImageHeight', 'text', '', '', 40.05, 0, 0);
-
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'n_MaxImageCount', 5, 'In-News', 'in-news:configuration_output');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'n_ThumbnailImageWidth', 120, 'In-News', 'in-news:configuration_output');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'n_ThumbnailImageHeight', 120, 'In-News', 'in-news:configuration_output');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'n_FullImageWidth', 450, 'In-News', 'in-news:configuration_output');
-INSERT INTO ConfigurationValues VALUES (DEFAULT, 'n_FullImageHeight', 450, 'In-News', 'in-news:configuration_output');
-
-UPDATE Modules SET Version = '4.2.0' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.2.0.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_1_0.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_1_0.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_1_0.txt (nonexistent)
@@ -1,7 +0,0 @@
-File in-news/in-news/in-news_config.php is new
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/upgrades/changelog_1_1_0.txt is new
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.1.0.sql is new
-File in-news/in-news/admin/install/upgrades/readme_1_1_0.txt is new
-File in-news/themes/default/innews/addreview/review_access_denied.tpl changed
-File in-news/themes/default/innews/rate/rate_access_denied.tpl changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_1_0.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_1_1.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_1_1.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_1_1.txt (nonexistent)
@@ -1,24 +0,0 @@
-File in-news/in-news/action.php changed
-File in-news/in-news/admin/addarticle.php changed
-File in-news/in-news/admin/addarticle_category.php changed
-File in-news/in-news/admin/addarticle_custom.php changed
-File in-news/in-news/admin/addarticle_images.php changed
-File in-news/in-news/admin/addarticle_relations.php changed
-File in-news/in-news/admin/addarticle_reviews.php changed
-File in-news/in-news/admin/addimage.php changed
-File in-news/in-news/admin/addrelation.php changed
-File in-news/in-news/admin/addreview.php changed
-File in-news/in-news/admin/advanced_view.php changed
-File in-news/in-news/admin/browse.php changed
-File in-news/in-news/admin/config_general.php changed
-File in-news/in-news/admin/install.php changed
-File in-news/in-news/admin/item_select.php changed
-File in-news/in-news/admin/relation_select.php changed
-File in-news/in-news/admin/reviews.php changed
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/prerequisit.php changed
-File in-news/in-news/admin/install/upgrades/changelog_1_1_1.txt is new
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.1.1.php is new
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.1.1.sql is new
-File in-news/in-news/admin/install/upgrades/readme_1_1_1.txt is new
-File in-news/themes/default/innews/index/subcat_element.tpl changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_1_1.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_0_10.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_0_10.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_0_10.txt (nonexistent)
@@ -1,25 +0,0 @@
-File in-news/in-news/action.php changed
-File in-news/in-news/news.php changed
-File in-news/in-news/parser.php changed
-File in-news/in-news/admin/addarticle.php changed
-File in-news/in-news/admin/addarticle_custom.php changed
-File in-news/in-news/admin/advanced_view.php changed
-File in-news/in-news/admin/browse.php changed
-File in-news/in-news/admin/config_general.php changed
-File in-news/in-news/admin/relation_select.php changed
-File in-news/in-news/admin/reviews.php changed
-File in-news/in-news/admin/include/help/configuration_output.txt changed
-File in-news/in-news/admin/include/help/editarticle_general.txt changed
-File in-news/in-news/admin/include/toolbar/advanced_view.php changed
-File in-news/in-news/admin/include/toolbar/browse.php changed
-File in-news/in-news/admin/include/toolbar/editcategory_relationselect.php changed
-File in-news/in-news/admin/include/toolbar/reviews.php changed
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/upgrades/changelog_1_0_10.txt is new
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.0.10.sql is new
-File in-news/in-news/admin/install/upgrades/readme_1_0_10.txt is new
-File in-news/themes/default/innews/get_rated.tpl is new
-File in-news/themes/default/innews/index/sitemap_cat_element.tpl is new
-File in-news/themes/default/innews/index/sitemap_subcat_element.tpl is new
-File in-news/themes/default/innews/rate/getting_rated.tpl is new
-File in-news/themes/default/innews/rate/rate_form.tpl changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_0_10.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.6.php
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.6.php (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.6.php (nonexistent)
@@ -1,5 +0,0 @@
-<?php
- updateItemCategoryTemplate('In-News', 'innews/index', 'innews/detail');
-
- convertCustomFields('n');
-?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.6.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.2.0.php
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.2.0.php (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.2.0.php (nonexistent)
@@ -1,19 +0,0 @@
-<?php
- $sqls = Array (
- "INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.ADD.PENDING', 12, 1, 0, {NewsCatId})",
- "INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.MODIFY', 12, 1, 0, {NewsCatId})",
- "INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.MODIFY.PENDING', 12, 1, 0, {NewsCatId})",
- "INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.ADD', 13, 1, 0, {NewsCatId})",
- "INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.MODIFY', 13, 1, 0, {NewsCatId})",
- "INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.MODIFY.PENDING', 13, 1, 0, {NewsCatId})",
- "INSERT INTO Permissions VALUES (DEFAULT, 'NEWS.OWNER.DELETE', 13, 1, 0, {NewsCatId})",
- );
-
- $inst_ado =& inst_GetADODBConnection(true);
- $root_category = $application->findModule('Name', 'In-News', 'RootCat');
- foreach ($sqls as $sql) {
- $sql = str_replace('{NewsCatId}', $root_category, $sql);
- $sql = str_replace('INSERT INTO ', 'INSERT INTO '.TABLE_PREFIX, $sql);
- $inst_ado->Query($sql);
- }
-?>
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.2.0.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/readme_1_0_10.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/readme_1_0_10.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/readme_1_0_10.txt (nonexistent)
@@ -1,12 +0,0 @@
-Readme for In-newz 1.0.10
-Intechnic Corporation, June 11th, 2005
-
-New Features:
-- Front end site map
- New tag implemented in the default theme, which renders all categories, up to a given depth, as a "map" of the site. This feature is very useful for spiders, which need to crawl your entire site. It's slighly different from the convential concept of site map, in that it does not show content and auxiliary pages (register, about us, etc), only In-portal categories.
-
-- Off-site Rating
- This feature displays the HTML code that is necessary to rate an In-portal item on another site. For example, it is useful for link owner who want to promote their links. They can copy/paste that HTML code onto their sites, and ask their visitors to rate the items. Same rating rules as on the In-portal site will apply to the off-site rating.
-
-Bug Fixes:
-- Misc. template fixes in the Default theme
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/readme_1_0_10.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.7.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.7.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.7.sql (nonexistent)
@@ -1,9 +0,0 @@
-UPDATE SearchConfig SET Priority = 2 WHERE FieldName = 'Title' AND TableName = 'News';
-UPDATE SearchConfig SET Priority = 1 WHERE FieldName = 'Excerpt' AND TableName = 'News';
-UPDATE SearchConfig SET Priority = 1 WHERE FieldName = 'Author' AND TableName = 'News';
-UPDATE SearchConfig SET Priority = 1 WHERE FieldName = 'Body' AND TableName = 'News';
-
-UPDATE ConfigurationAdmin SET ValueList='Title=la_Article_Title,Excerpt=la_Article_Excerpt,Author=la_Article_Author,CreatedOn=la_Article_Date,Hits=la_Article_Hits,CachedRating=la_Article_Rating,<SQL>SELECT FieldLabel as OptionName, FieldName as OptionValue FROM <PREFIX>CustomField WHERE Type=2</SQL>' WHERE VariableName='News_Sortfield';
-UPDATE ConfigurationAdmin SET ValueList='Title=la_Article_Title,Excerpt=la_Article_Excerpt,Author=la_Article_Author,CreatedOn=la_Article_Date,Hits=la_Article_Hits,CachedRating=la_Article_Rating,<SQL>SELECT FieldLabel as OptionName, FieldName as OptionValue FROM <PREFIX>CustomField WHERE Type=2</SQL>' WHERE VariableName='News_Sortfield2';
-
-UPDATE Modules SET Version = '1.0.7' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.7.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.6.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.6.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.6.sql (nonexistent)
@@ -1 +0,0 @@
-UPDATE Modules SET Version = '1.0.6' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.0.6.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.4.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.4.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.4.sql (nonexistent)
@@ -1,5 +0,0 @@
-ALTER TABLE News ADD INDEX (Filename ( 5 ));
-
-UPDATE ItemTypes SET Prefix = 'n' WHERE SourceTable = 'News';
-
-UPDATE Modules SET Version = '1.1.4' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.4.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.5.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.5.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.5.sql (nonexistent)
@@ -1,2 +0,0 @@
-
-UPDATE Modules SET Version = '1.1.5' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.1.5.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.2.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.2.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.2.sql (nonexistent)
@@ -1 +0,0 @@
-UPDATE Modules SET Version = '1.2.2' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.2.2.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.3.0.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.3.0.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.3.0.sql (nonexistent)
@@ -1,3 +0,0 @@
-UPDATE ItemReview SET Module = 'In-News' WHERE ItemId IN (SELECT ResourceId FROM News);
-
-UPDATE Modules SET Version = '1.3.0' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v1.3.0.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.1.0.sql
===================================================================
--- trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.1.0.sql (revision 12830)
+++ trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.1.0.sql (nonexistent)
@@ -1,5 +0,0 @@
-ALTER TABLE News CHANGE AutomaticFilename AutomaticFilename TINYINT(3) UNSIGNED NOT NULL DEFAULT '1', CHANGE CreatedById CreatedById INT(11) NOT NULL DEFAULT '-1', CHANGE ModifiedById ModifiedById INT(11) NOT NULL DEFAULT '-1', CHANGE EndOn EndOn INT(11) NULL DEFAULT NULL, CHANGE Priority Priority INT(11) NOT NULL DEFAULT '0';
-ALTER TABLE News DROP Filename;
-UPDATE News SET EndOn = NULL WHERE EndOn = 0;
-
-UPDATE Modules SET Version = '4.1.0' WHERE Name = 'In-News';
\ No newline at end of file
Property changes on: trunk/in-news/admin/install/upgrades/inportal_upgrade_v4.1.0.sql
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_1_6.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_1_6.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_1_6.txt (nonexistent)
@@ -1,53 +0,0 @@
-File in-news/in-news/action.php changed
-File in-news/in-news/frontaction.php changed
-File in-news/in-news/news.php changed
-File in-news/in-news/parser.php changed
-File in-news/in-news/admin/addarticle.php changed
-File in-news/in-news/admin/addarticle_custom.php changed
-File in-news/in-news/admin/install.php changed
-File in-news/in-news/admin/include/navmenu.php changed
-File in-news/in-news/admin/include/help/configuration_output.txt is removed; release_1_1_5 revision 1.2
-File in-news/in-news/admin/include/help/configuration_search.txt is removed; release_1_1_5 revision 1.1
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/inportal_schema.sql changed
-File in-news/in-news/admin/install/upgrades/changelog_1_1_6.txt is new; release_1_1_6 revision 1.1.2.8
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.1.6.php is new; release_1_1_6 revision 1.2
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.1.6.sql is new; release_1_1_6 revision 1.2.2.2
-File in-news/in-news/admin/install/upgrades/readme_1_1_5.txt is new; release_1_1_6 revision 1.1.2.1
-File in-news/in-news/admin/install/upgrades/readme_1_1_6.txt is new; release_1_1_6 revision 1.1.2.2
-File in-news/in-news/admin_templates/img/logo_bg.gif is new; release_1_1_6 revision 1.1.2.1
-File in-news/in-news/module_help/config_list_output.txt is new; release_1_1_6 revision 1.1.2.1
-File in-news/in-news/module_help/config_list_search.txt is new; release_1_1_6 revision 1.1
-File in-news/in-news/units/articles/articles_config.php changed
-File in-news/themes/default/innews/addreview.tpl changed
-File in-news/themes/default/innews/catindex.tpl changed
-File in-news/themes/default/innews/detail.tpl changed
-File in-news/themes/default/innews/get_rated.tpl changed
-File in-news/themes/default/innews/index.tpl changed
-File in-news/themes/default/innews/main.tpl changed
-File in-news/themes/default/innews/myitem_element.tpl changed
-File in-news/themes/default/innews/new.tpl changed
-File in-news/themes/default/innews/pick.tpl changed
-File in-news/themes/default/innews/rate.tpl changed
-File in-news/themes/default/innews/related_element.tpl changed
-File in-news/themes/default/innews/reviews.tpl changed
-File in-news/themes/default/innews/addreview/addreview_form.tpl changed
-File in-news/themes/default/innews/addreview/review_confirm.tpl changed
-File in-news/themes/default/innews/catindex/catindex.tpl changed
-File in-news/themes/default/innews/index/article_element.tpl changed
-File in-news/themes/default/innews/index/catlead_element.tpl changed
-File in-news/themes/default/innews/index/sitelead_element.tpl changed
-File in-news/themes/default/innews/index/sitemap_cat_element.tpl changed
-File in-news/themes/default/innews/index/sitemap_subcat_element.tpl changed
-File in-news/themes/default/innews/index/subcat_element.tpl changed
-File in-news/themes/default/innews/main/favorites_element.tpl changed
-File in-news/themes/default/innews/main/topstories.tpl changed
-File in-news/themes/default/innews/main/edpick/articles_element.tpl changed
-File in-news/themes/default/innews/my_account/new_articles.tpl changed
-File in-news/themes/default/innews/new/article_element.tpl changed
-File in-news/themes/default/innews/pick/article_element.tpl changed
-File in-news/themes/default/innews/quicklinks/articles_element.tpl changed
-File in-news/themes/default/innews/rate/getting_rated.tpl changed
-File in-news/themes/default/innews/rate/rate_form.tpl changed
-File in-news/themes/default/innews/search_results/search_result_element.tpl changed
-File in-news/themes/default/innews/trash/article_element.tpl changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_1_6.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_0_9.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_0_9.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_0_9.txt (nonexistent)
@@ -1 +0,0 @@
-File in-news/in-news/admin/install/upgrades/inportal_check_v1.0.8.php is removed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_0_9.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/install/upgrades/changelog_1_0_8.txt
===================================================================
--- trunk/in-news/admin/install/upgrades/changelog_1_0_8.txt (revision 12830)
+++ trunk/in-news/admin/install/upgrades/changelog_1_0_8.txt (nonexistent)
@@ -1,45 +0,0 @@
-File in-news/in-news/action.php changed
-File in-news/in-news/frontaction.php changed
-File in-news/in-news/news.php changed
-File in-news/in-news/parser.php changed
-File in-news/in-news/searchaction.php changed
-File in-news/in-news/admin/addarticle.php changed
-File in-news/in-news/admin/addarticle_custom.php changed
-File in-news/in-news/admin/addarticle_images.php changed
-File in-news/in-news/admin/addarticle_relations.php changed
-File in-news/in-news/admin/addarticle_reviews.php changed
-File in-news/in-news/admin/addimage.php changed
-File in-news/in-news/admin/addrelation.php changed
-File in-news/in-news/admin/addreview.php changed
-File in-news/in-news/admin/advanced_view.php changed
-File in-news/in-news/admin/install.php changed
-File in-news/in-news/admin/reviews.php is new
-File in-news/in-news/admin/include/parser.php changed
-File in-news/in-news/admin/include/toolbar/advanced_view.php changed
-File in-news/in-news/admin/include/toolbar/editarticle_reviews.php changed
-File in-news/in-news/admin/include/toolbar/reviews.php is new
-File in-news/in-news/admin/install/inportal_data.sql changed
-File in-news/in-news/admin/install/inportal_schema.sql changed
-File in-news/in-news/admin/install/prerequisit.php is new
-File in-news/in-news/admin/install/upgrades/changelog_1_0_8.txt is new
-File in-news/in-news/admin/install/upgrades/inportal_check_v1.0.8.php is new
-File in-news/in-news/admin/install/upgrades/inportal_upgrade_v1.0.8.sql is new
-File in-news/in-news/admin/install/upgrades/readme_1_0_8.txt is new
-File in-news/in-news/admin/templates/news_review_element.tpl is new
-File in-news/in-news/admin/templates/news_tab_element_av.tpl is new
-File in-news/themes/default/innews/index.tpl changed
-File in-news/themes/default/innews/item_favorites.tpl changed
-File in-news/themes/default/innews/main.tpl changed
-File in-news/themes/default/innews/myitem_element.tpl changed
-File in-news/themes/default/innews/pick.tpl changed
-File in-news/themes/default/innews/sort_articles.tpl is new
-File in-news/themes/default/innews/main/favorites_element.tpl changed
-File in-news/themes/default/innews/main/topstories.tpl changed
-File in-news/themes/default/innews/my_account/new_articles.tpl is new
-File in-news/themes/default/innews/my_account/new_items.tpl is new
-File in-news/themes/default/innews/pick/article_element.tpl changed
-File in-news/themes/default/innews/pick/articles.tpl changed
-File in-news/themes/default/innews/pick/right.tpl changed
-File in-news/themes/default/innews/quicklinks/edpick/articles.tpl changed
-File in-news/themes/default/innews/search_results/item_results.tpl changed
-File in-news/themes/default/innews/search_results/search_result_element.tpl changed
Property changes on: trunk/in-news/admin/install/upgrades/changelog_1_0_8.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin/browse.php
===================================================================
--- trunk/in-news/admin/browse.php (revision 12830)
+++ trunk/in-news/admin/browse.php (nonexistent)
@@ -1,72 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-global $rootURL, $imagesURL, $adminURL,$admin;
-
-if(!$pathtoroot) die('error: no base path defined');
-
-//$rootURL="http://".ThisDomain().$objConfig->Get("Site_Path");
-
-$localURL=$rootURL."in-news/";
-
-//$imagesURL = $rootURL."admin/images";
-//admin only util
-
-$pathtolocal = $pathtoroot."in-news/";
-
-require_once ($pathtolocal."admin/include/navmenu.php");
-
-$section = 'in-news:browse';
-
-//$list = $objSession->GetVariable("SearchWord");
-//$mysearch = (strlen($list)>0 && $SearchType =="News" || $SearchType=="all") || (strlen($list)==0);
- if($NewsSearch)
- {
-?>
-<!-- NEWS -->
-<div id="news" class="ini_tab" isTab="true" tabTitle="News" PrefixSpecial="n" ActionPrefix="n_article_" EditURL="in-news/admin/addarticle">
-<form name="news_form" id="news_form" action="" method=post>
- <input type="hidden" name="Action">
- <input type="hidden" name="return_script" value="<?php echo basename($_SERVER['PHP_SELF']); ?>">
-
-<table cellSpacing=0 cellPadding=2 width="100%" class="tabTable">
- <tbody>
- <tr>
- <td>
- <img height=15 src="<?php echo $imagesURL; ?>/arrow.gif" width=15 align=absMiddle border=0>
- <b class=text><?php echo prompt_language("la_Page"); ?></b> <?php print $objArticleList->GetAdminPageLinkList($_SERVER["PHP_SELF"]); ?>
- </td>
- </tr>
- </tbody>
-</table>
-<br>
-
-<table cellSpacing=0 cellPadding=2 width="100%" border=0>
- <tbody>
-<?php
- //print adListArticles($pathtolocal."admin/templates/news_element.tpl");
- print $objArticleList->AdminPrintItems($pathtolocal."admin/templates/news_tab_element.tpl");
-?>
- </tbody>
-</table>
-</form>
-</div>
-<SCRIPT LANGUAGE="JavaScript">
- AddButtonAction('new_news',"get_to_server('<?php echo $rootURL;?>in-news/admin/addarticle.php','<?php echo $envar; ?>&new=1');"); //new link
- registerTab('news');
-</SCRIPT>
-<!-- END NEWS -->
-<?php
-}
-?>
Property changes on: trunk/in-news/admin/browse.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.6
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/action.php
===================================================================
--- trunk/in-news/action.php (revision 12830)
+++ trunk/in-news/action.php (nonexistent)
@@ -1,478 +0,0 @@
-<?php
- $ro_perm = $objSession->HasSystemPermission("SYSTEM_ACCESS.READONLY");
- require_login( !admin_login() && $Action, 'expired=1', true );
-
- // permission checking: begin
- $action_mapping = Array(
- 'n_article_delete' => 'NEWS.DELETE',
- 'n_article_move_up' => 'NEWS.ADD|NEWS.MODIFY',
- 'n_article_move_down' => 'NEWS.ADD|NEWS.MODIFY',
- 'n_article_approve' => 'NEWS.ADD|NEWS.MODIFY',
- 'n_article_decline' => 'NEWS.ADD|NEWS.MODIFY',
- 'n_add_article' => 'NEWS.ADD',
- 'n_edit_article' => 'NEWS.MODIFY',
-
- );
- checkActionPermission($action_mapping, $Action);
- // permission checking: end
-
- switch($Action)
- {
- case "m_cat_delete":
- if($ro_perm) break;
- if(isset($CatDeleteList))
- {
- $CatList = $CatDeleteList;
- if(is_array($CatList))
- {
- for($i=0;$i<count($CatList);$i++)
- {
- $c = $CatList[$i];
- $objArticleList->ClearCategoryItems($c,"CategoryItems");
- }
- }
- else
- if(is_numeric($CatList))
- {
- $objArticleList->ClearCategoryItems($CatList,"CategoryItems");
-
- }
- if(!is_array($CatList)) $CatList=Array($CatList);
- UpdateCategoryCount("Article", $CatList, $objArticleList->GetListTypes());
- }
- break;
-
- case "m_paste": /* category paste */
- if($ro_perm) break;
- if($PastedCatIds)
- {
- $cache_cat_ids=Array();
- foreach($PastedCatIds as $SourceCat => $DestCat)
- {
- $cache_cat_ids[$SourceCat]=1;
- $cache_cat_ids[$DestCat]=1;
- $objArticleList->Clear();
- $objArticleList->LoadArticles("CategoryId=$SourceCat","");
- if($objArticleList->NumItems()>0)
- {
- foreach($objArticleList->Items as $item)
- {
- /* fields from categoryitems table */
- $item->UnsetField("CategoryId");
- $item->UnsetField("ItemResourceId");
- $item->UnsetField("PrimaryCat");
-
- $item->CopyToNewResource($DestCat, 'Title');
- $item->AddToCategory($DestCat);
- }
- }
- }
- UpdateCategoryCount("Article", array_keys($cache_cat_ids), $objArticleList->GetListTypes());
- }
- break;
-
- case "n_article_delete":
- if($ro_perm) break;
- if (count($_POST["newslist"]) != 0)
- {
- $objArticleList->FlushCache($_POST["newslist"]);
- foreach($_POST["newslist"] as $newsid)
- $objArticleList->Delete_Item($newsid);
- }
- break;
-
- case "n_article_move_up":
- if($ro_perm) break;
- if (isset($_POST["newslist"]))
- foreach($_POST["newslist"] as $id)
- {
- $a = $objArticleList->GetItem($id);
- $a->MoveUp();
- }
- break;
-
- case "n_article_move_down":
- if($ro_perm) break;
- if (isset($_POST["newslist"]))
- {
- $newslist=array_reverse($_POST["newslist"]);
- foreach($newslist as $id)
- {
- $a = $objArticleList->GetItem($id);
- $a->MoveDown();
- }
- }
- break;
-
- case "n_article_approve":
- if($ro_perm) break;
- if (isset($_POST["newslist"]))
- {
- $cat_ids=Array();
- foreach($_POST["newslist"] as $id)
- {
- $a = $objArticleList->GetItem($id);
- if($a->Get("Status")==-2)
- {
- $OrgId = $a->Get("OrgId");
- if($OrgId)
- {
- $org = $objArticleList->GetItem($OrgId);
- $OldResId = $org->Get("ResourceId");
- $NewResId = $a->Get("ResourceId");
- //$ExpireInterval = $objConfig->Get("link_ExpireMod_Value") * $objConfig->Get("link_ExpireMod_Interval");
- //if($ExpireInterval>0)
- // $l->Set("Expire",adodb_date("U")+$ExpireInterval);
- $a->Set("OrgId",0);
- $a->Approve();
- $cat_ids[]=$org->GetPrimaryCategory();
- $org->DeleteCustomData();
- $org->Delete(TRUE);
- }
- }
- else
- {
- $a->Approve();
- $cat_ids[]=$a->GetPrimaryCategory();
- }
- }
- if($cat_ids) UpdateCategoryCount("Article",$cat_ids,$objArticleList->GetListTypes());
- }
- break;
-
- case "n_article_decline":
- if($ro_perm) break;
- if (isset($_POST["newslist"]))
- {
- $cat_ids = Array();
- foreach($_POST["newslist"] as $id)
- {
- $a = $objArticleList->GetItem($id);
- $cat_ids[] = $a->GetPrimaryCategory();
- if($a->Get("Status")==-2)
- {
- $a->Delete();
- }
- else
- $a->Deny();
- }
- UpdateCategoryCount("Article", $cat_ids, $objArticleList->GetListTypes());
- }
- break;
-
- case "n_add_category":
- $objEditItems = new clsNewsList();
- $objEditItems->SourceTable = $objSession->GetEditTable("News");
- $r = $_POST["ResourceId"];
- $i = $objEditItems->GetItemByField("ResourceId",$_POST["ResourceId"]);
- $Primary = $i->GetPrimaryCategory($objSession->GetEditTable("CategoryItems"));
- $objSession->SetVariable("HasChanges", 1);
- if(is_object($i))
- {
- $table = $objSession->GetEditTable("CategoryItems");
- $CatList = explode(",",$_POST["CatList"]);
-
- // Get List of currect categories article is in
- $link_cats = $i->CategoryMemberList($table);
- $link_cats_arr = explode(",", $link_cats);
-
- if (count($CatList))
- {
- for($j=0; $j < count($CatList);$j++)
- {
- if($CatList[$j])
- {
- $c = $objCatList->GetByResource($CatList[$j]);
- $cat = $c->Get("CategoryId");
-
- if(($cat>0) && !in_array($cat, $link_cats_arr))
- {
- $i->AddToCategory($cat,$table);
- }
- }
- }
- }
- }
- break;
- case "n_cat_delete":
- $objSession->SetVariable("HasChanges", 1);
- $objEditItems = new clsNewsList();
- $objEditItems->SourceTable = $objSession->GetEditTable("News");
- $table = $objSession->GetEditTable("CategoryItems");
- $r = $_POST["ResourceId"];
- $i = $objEditItems->GetItemByField("ResourceId",$_POST["ResourceId"]);
- if(is_object($i))
- {
- $CatCount = $i->CategoryMemberCount($table);
- $Primary = $i->GetPrimaryCategory();
- if($CatCount==count($CatList))
- {
- $sql = "DELETE FROM $table WHERE CategoryId=$cat AND ItemResourceId=$r AND PrimaryCat=0";
- $ado->Execute($sql);
- }
- else
- {
- $CatList = $_POST["itemlist"];
- $ado = &GetADODBConnection();
- for($x=0;$x<count($CatList);$x++)
- {
- $cat = $CatList[$x];
- if(is_numeric($cat))
- {
- if($cat!=$Primary)
- {
- $sql = "DELETE FROM $table WHERE CategoryId=$cat AND ItemResourceId=$r";
- if((int)$_GLOBALS["debuglevel"])
- echo $sql;
- $ado->Execute($sql);
- $CatCount--;
- }
- }
- }
-
- for($x=0;$x<count($CatList);$x++)
- {
- $cat = $CatList[$x];
- if(is_numeric($cat>0))
- {
- if($cat==$Primary && $CatCount>1)
- {
- $sql = "DELETE FROM $table WHERE CategoryId=$cat AND ItemResourceId=$r";
- if((int)$_GLOBALS["debuglevel"])
- echo $sql;
- $ado->Execute($sql);
- $CatCount--;
- }
- }
- }
- }
- }
- break;
-
- case 'n_primary_cat':
- // change primary category of the link
- $objEditItems = new clsNewsList();
- $objEditItems->SourceTable = $objSession->GetEditTable("News");
- $article = $objEditItems->GetItemByField('ResourceId', $_REQUEST['ResourceId']);
- if( is_object($article) )
- {
- $new_cat = array_shift($_REQUEST['itemlist']);
- $ci_table = $objSession->GetEditTable('CategoryItems');
- $article->SetPrimaryCategory($new_cat, $ci_table);
- }
- break;
-
- case "n_add_article":
- $application =& kApplication::Instance();
- $application->SetVar('n_mode', 't');
- if($_POST["NewsEditStatus"]!=2)
- {
- $CreatedOn = DateTimestamp($_POST["news_date"],GetDateFormat(0, true));
- $EndOn = DateTimestamp($_POST["news_enddate"],GetDateFormat(0, true));
- $StartDate = DateTimestamp($_POST["news_startdate"],GetDateFormat(0, true));
-
- $login = trim($_POST["news_author"]);
- if(strlen($login))
- {
- $u = $objUsers->GetItemByField("Login",$login);
- if(is_object($u))
- {
- $CreatedById = $u->Get("PortalUserId");
- if($CreatedById==0)
- $CreatedById = $objSession->Get("PortalUserId");
- }
- else
- $CreatedById = $objSession->Get("PortalUserId");
- }
- else
- $CreatedById = $objSession->Get("PortalUserId");
- $html = (int)$_POST["html_enable"];
-
- $Status = (int)$_POST["status"];
- $Hot = (int)$_POST["itemhot"];
- $Pop = (int)$_POST["itempop"];
- $New = (int)$_POST["itemnew"];
-
- $pick = (int)$_POST["news_pick"];
- $leading = (int)$_POST["news_leading"];
- $leading_cat = (int)$_POST["news_leading_cat"];
- $Priority = (int)$_POST["news_priority"];
-
- $news_excerpt = $_POST["news_excerpt"];
- if($_POST["excerpt_generate"] == 1 || strlen($news_excerpt)==0)
- {
- $tempbody = strip_tags($_POST["news_body"]);
- $len = strlen($tempbody);
- if ($len < 100)
- $news_excerpt = $tempbody;
- else
- {
- $news_excerpt = substr(strip_tags($tempbody), 0, 100);
- if(substr($news_excerpt,-1)!=" ")
- {
- $pos = strrpos($news_excerpt," ");
- if($pos)
- $news_excerpt = substr($news_excerpt,0,$pos);
- }
- $news_excerpt .= "..";
- }
- }
-
- $objEditItems = new clsNewsList();
- $objEditItems->SourceTable = $objSession->GetEditTable("News");
-
- $posted_hits = $_POST['news_hits_show'];
-
- $posted_hits_arr = explode('.', $_POST['news_hits']);
-
-
- $save_hits = $_POST['news_hits'];
- if ($posted_hits_arr[0] != $posted_hits) {
- $save_hits = $posted_hits;
- }
-
- $l = $objEditItems->Add_News($_POST["CategoryId"],
- inp_escape($_POST["news_title"], $html),
- inp_escape($news_excerpt, $html),
- inp_escape($_POST["news_author"]),
- inp_escape($_POST["news_body"], $html),
- $CreatedOn, $EndOn, $StartDate, $Status,
- $pick, $New,$Pop,$Hot,
- $_POST["news_rating"],$_POST["news_votes"],$save_hits,
- $leading, $leading_cat, $Priority,$CreatedById,$html,
- GetVar('auto_filename'), GetVar('filename') );
- saveCustomFields('n', $l->Get('ResourceId'), 2);
- }
- break;
-
- case "n_edit_article":
- $application =& kApplication::Instance();
- $application->SetVar('n_mode', 't');
- if($_POST["NewsEditStatus"]!=2)
- {
- $CreatedOn = DateTimestamp($_POST["news_date"],GetDateFormat(0, true));
- $EndOn = DateTimestamp($_POST["news_enddate"],GetDateFormat(0, true));
- $StartDate = DateTimestamp($_POST["news_startdate"],GetDateFormat(0, true));
-
- $login = trim($_POST["news_author"]);
- if(strlen($login))
- {
- $u = $objUsers->GetItemByField("Login",$login);
- if(is_object($u))
- {
- $CreatedById = $u->Get("PortalUserId");
- if($CreatedById==0)
- $CreatedById = $objSession->Get("PortalUserId");
- }
- else
- $CreatedById = $objSession->Get("PortalUserId");
- }
- else
- $CreatedById = $objSession->Get("PortalUserId");
-
- $html = (int)$_POST["html_enable"];
-
- $Status = (int)$_POST["status"];
- $Hot = (int)$_POST["itemhot"];
- $Pop = (int)$_POST["itempop"];
- $New = (int)$_POST["itemnew"];
-
- $pick = (int)$_POST["news_pick"];
- $leading = (int)$_POST["news_leading"];
- $leading_cat = (int)$_POST["news_leading_cat"];
- $Priority = (int)$_POST["news_priority"];
-
- if ($_POST["excerpt_generate"] == 1 || strlen($news_excerpt)==0)
- {
- $len = strlen($_POST["news_body"]);
- if ($len < 100)
- $news_excerpt = $_POST["news_body"];
- else
- $news_excerpt = substr(strip_tags($_POST["news_body"]), 0, 100);
- }
- else {
- $news_excerpt = $_POST["news_excerpt"];
- }
-
- $objEditItems = new clsNewsList();
- $objEditItems->SourceTable = $objSession->GetEditTable("News");
-
- $posted_hits = $_POST['news_hits_show'];
-
- $posted_hits_arr = explode('.', $_POST['news_hits']);
-
-
- $save_hits = $_POST['news_hits'];
- if ($posted_hits_arr[0] != $posted_hits) {
- $save_hits = $posted_hits;
- }
-
- $l = $objEditItems->Edit_News($_POST["NewsId"],
- inp_escape($_POST["news_title"],$html),
- inp_escape($news_excerpt, $html),
- inp_escape($_POST["news_author"]),
- inp_escape($_POST["news_body"], $html),
- $CreatedOn, $EndOn, $StartDate, $Status, $pick, $New, $Pop,
- $Hot, $_POST["news_rating"], $_POST["news_votes"],
- $save_hits, $CreatedById,$leading, $leading_cat, $Priority,$html,
- GetVar('auto_filename'), GetVar('filename') );
- saveCustomFields('n', $l->Get("ResourceId"), 2);
- }
- break;
-
- case "n_article_cut":
- if($ro_perm) break;
- if(isset($_POST["newslist"]))
- {
- $objArticleList->CopyToClipboard("CUT","NewsId",$_POST["newslist"]);
- }
- break;
-
- case "n_article_copy":
- if($ro_perm) break;
- if(isset($_POST["newslist"]))
- {
- $objArticleList->CopyToClipboard("COPY","NewsId",$_POST["newslist"]);
- }
- break;
-
- // Used from JS
- case "news_paste":
- if($ro_perm) break;
- if($objArticleList->ItemsOnClipboard()>0)
- {
- $objArticleList->PasteFromClipboard($objCatList->CurrentCategoryID(),"Title");
- UpdateCategoryCount("Article", $objCatList->CurrentCategoryID(), $objArticleList->ListType);
- }
- break;
-
- }
-
-if( ! $objSession->HasSystemPermission("SYSTEM_ACCESS.READONLY") )
-{
- /* Handle the status of news item edit tabs */
- if( GetVar('NewsEditStatus') == 1)
- {
- $article_ids = $objArticleList->CopyFromEditTable("NewsId");
- if ($article_ids) {
- $objCustomDataList->CopyFromEditTable('n');
- }
-
- $objArticleList->Clear();
- $objImages = new clsImageList();
- $objImages->CopyFromEditTable("ImageId");
- $objArticleList->FlushCache($article_ids);
-
- }
- /* user hit the cancel button */
- if( GetVar('NewsEditStatus') == 2)
- {
- $objArticleList->PurgeEditTable("NewsId");
- $objArticleList->PurgeCatListEditTable();
- $objCustomDataList->PurgeEditTable('n');
- $objImages = new clsImageList();
- $objImages->PurgeEditTable("ImageId");
- $objArticleList->Clear();
- }
-}
-?>
Property changes on: trunk/in-news/action.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.30
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/frontaction.php
===================================================================
--- trunk/in-news/frontaction.php (revision 12830)
+++ trunk/in-news/frontaction.php (nonexistent)
@@ -1,316 +0,0 @@
-<?php
-switch($Action)
-{
- case 'n_add_favorite':
- $id = $n_var_list['id'];
- $userid = $objSession->Get('PortalUserId');
- $a =& $objArticleList->GetItem($id);
- $a->AddFavorite($userid);
-
- $cat_id = $a->GetPrimaryCategory();
- UpdateCategoryCount('Article', $cat_id, $objArticleList->CacheListType('favorites'));
- DeleteModuleTagCache('innews');
- break;
-
- case "n_del_favorite":
- $id = $n_var_list["id"];
- $userid = $objSession->Get("PortalUserId");
- $a =& $objArticleList->GetItem($id);
- $a->DeleteFavorite($userid);
- $cat_id = $a->GetPrimaryCategory();
- UpdateCategoryCount('Article', $cat_id, $objArticleList->CacheListType('favorites'));
- DeleteModuleTagCache('innews');
- break;
-
- case "n_rate_article":
- $id = $n_var_list["id"];
- $news =& $objArticleList->GetItem($id);
- if($objSession->InSpamControl($news->Get("ResourceId"),"Ratinge"))
- {
- $StatusMessage["rating"] = language("la_Rating_AlreadyVoted");
- }
- else
- {
- $ValName = "News_RatingDelay_Value";
- $IntName = "News_RatingDelay_Interval";
- $exp_secs = $objConfig->Get($ValName) * $objConfig->Get($IntName);
- $objSession->AddToSpamControl($news->Get("ResourceId"),$exp_secs,"Rating");
-
- $vote = $_POST["frmRateVote"];
- $news->SubmitVote($vote,"");
- $StatusMessage["rating"] = language("la_Vote_Added");
- }
- DeleteModuleTagCache('innews');
- break;
- case "n_sort_articles":
- if(is_numeric($_POST["Perpage_News"]))
- {
- $objSession->SetPersistantVariable("Perpage_News",$_POST["Perpage_News"]);
- }
- else
- {
- $objSession->SetPersistantVariable("Perpage_News", $objConfig->Get("Perpage_News"));
- }
-
- if (strlen($_POST["News_SortField"]))
- {
- //$objSession->SetPersistantVariable("News_ArticleSort", $_POST["article_sort_field"]. " ".$_POST["article_sort_order"]);
- $objSession->SetPersistantVariable("News_SortField",$_POST["News_SortField"]);
- $objSession->SetPersistantVariable("News_SortField2","");
- }
- if (strlen($_POST["News_SortOrder"]))
- {
- $objSession->SetPersistantVariable("News_SortOrder",$_POST["News_SortOrder"]);
- $objSession->SetPersistantVariable("News_SortOrder2","");
- }
-
- $n_var_list["p"] = 1;
- $objArticleList->Page = 1;
- DeleteModuleTagCache('innews');
- break;
- case "n_add_review":
- //phpinfo(INFO_VARIABLES);
- $perm = 0;
- $CategoryId=$objCatList->CurrentCategoryID();
- if ($objSession->HasCatPermission("NEWS.REVIEW.PENDING"))
- $perm = 2;
- if ($objSession->HasCatPermission("NEWS.REVIEW"))
- $perm = 1;
- if ($perm == 0)
- {
- $MissingCount++;
- $FormError["n_addreview"]["review"] = language("lu_ferror_no_access");
- }
- else
- {
- $id = $n_var_list["id"];
- $article =& $objArticleList->GetItem($id);
-
- $value = $objSession->InSpamControl($article->Get("ResourceId"),"Review");
-
- //if($article->ReviewIPExists($_SERVER["REMOTE_ADDR"]))
- if ($value)
- {
- $MissingCount++;
- $FormError["n_addreview"]["review"] = language("lu_ferror_review_duplicate");
- }
- else
- {
- $ValName = "News_ReviewDelay_Value";
- $IntName = "News_ReviewDelay_Interval";
-
- $exp_secs = $objConfig->Get($ValName) * $objConfig->Get($IntName);
- $objSession->AddToSpamControl($article->Get("ResourceId"),$exp_secs,"Review");
-
- $CreatedOn = adodb_date("U");
- $ReviewText = inp_escape($_POST["review"]);
- $id = $n_var_list["id"];
- $userid = $objSession->Get("PortalUserId");
- $article->AddReview($userid,$ReviewText,($perm==2),$_SERVER["REMOTE_ADDR"]);
- if(strlen($_GET["Confirm"]))
- {
- $var_list["t"] = $_GET["Confirm"];
- }
- else
- $var_list["t"] = $_GET["DestTemplate"];
- }
- }
- DeleteModuleTagCache('kernel');
- break;
-
- case "n_rate_news":
- //phpinfo();
- if ($objSession->HasCatPermission("NEWS.RATE"))
- $perm = 1;
- if ($perm == 0)
- {
- $MissingCount++;
- $FormError["l_rate"]["review"] = language("lu_ferror_no_access");
- }
- else
- {
- $MissingCount = SetMissingDataErrors("n_rate");
- $id = $n_var_list["id"];
- $article =& $objArticleList->GetItem($id);
-
- if (is_object($objSession)) {
- $value = $objSession->InSpamControl($article->Get("ResourceId"),"Rating");
- }
-
- if($value)
- {
- $MissingCount++;
- $FormError["n_rate"]["review"] = language("lu_rating_alreadyvoted");
- if(strlen($_GET["Duplicate"]))
- {
- $var_list["t"] = $_GET["Duplicate"];
- }
- else
- $var_list["t"] = $_GET["DestTemplate"];
-
- }
- if($MissingCount==0)
- {
- $ValName = "News_RatingDelay_Value";
- $IntName = "News_RatingDelay_Interval";
-
- $exp_secs = $objConfig->Get($ValName) * $objConfig->Get($IntName);
- $objSession->AddToSpamControl($article->Get("ResourceId"),$exp_secs,"Rating");
- $vote = $_POST["rating"];
- $article->SubmitVote($vote,"");
- if(strlen($_GET["Confirm"]))
- {
- $var_list["t"] = $_GET["Confirm"];
- }
- else
- $var_list["t"] = $_GET["DestTemplate"];
- }
- }
- DeleteModuleTagCache('innews');
- break;
- case "n_email_article":
-
- if($objSession->Get("PortalUserId"))
- {
- $u =& $objSession->CurrentUser;
- $email = $u->Get("Email");
- }
- else
- $email = "Guest";
-
- $n = $objArticleList->GetItem($newid);
-
- $email_subject=$objConfig->Get("n_email_subject");
- if($objConfig->Get("n_email_sender"))
- $email_subject .= $email;
- $email_subject = str_replace("%sender%",$email,$email_subject);
- $message = str_replace("%sender%",$email,$objConfig->Get("n_email_body"));
- $message = str_replace("%except%",$n->Get("Excerpt"),$message);
- $message = str_replace("%news_link%",$n->parsetag("news_link"),$message);
-
- mail($email_to, $email_subject, $message,
- "From: ".$objConfig->Get("email_from")."\r\n"
- ."Reply-To: ".$objConfig->Get("email_replyto")."\r\n"
- ."X-Mailer: In-Portal");
- break;
- case "m_simple_search":
- $type = $objItemTypes->GetTypeByName("Article");
- $keywords = trim($_POST["keywords"]);
- $length = $objConfig->Get('Search_MinKeyword_Length');
-
- $isExact = (substr($keywords, 0, 2) == '\"' && substr($keywords, strlen($keywords) - 2, 2) == '\"');
-
- if ($isExact) {
- $performSearch = (strlen(trim(str_replace('\"', '', $keywords))) >= $length);
- }
- else {
- $key_arr = explode(' ', $keywords);
-
- /*foreach($key_arr as $value) {
- if (strlen($value) < $length) {
- $keywords = str_replace(' '.$value, '', $keywords);
- $keywords = str_replace($value.' ', '', $keywords);
- }
- }
-
- $keywords = str_replace(' ', ' ', $keywords);*/
-
- $performSearch = (strlen($keywords) >= $length);
- }
-
- if ($performSearch) {
- $objNewsSearch = new clsSearchResults("News",$objArticleList->classname);
- $objNewsSearch->SetKeywords($keywords);
- $objNewsSearch->AddSimpleFields('n');
-
- if (is_numeric($objConfig->Get("SearchRel_Pop_articles"))) {
- $objNewsSearch->PctPop = ($objConfig->Get("SearchRel_Pop_articles")/100);
- }
- if(is_numeric($objConfig->Get("SearchRel_Keyword_articles"))) {
- $objNewsSearch->PctRelevance = ($objConfig->Get("SearchRel_Keyword_articles")/100);
- }
- if(is_numeric($objConfig->Get("SearchRel_Rating_articles"))) {
- $objNewsSearch->PctRating = ($objConfig->Get("SearchRel_Rating_articles")/100);
- }
-
- $objNewsSearch->PerformSearch($type->Get("ItemType"),$SortOrder,FALSE);
- //$objNewsSearch->SetRelevence($type->Get("ItemType"), "NewsId");
- }
- break;
- case "m_adv_search":
- switch($_GET["type"])
- {
- case 2: /* article */
- //echo "Searching Articles<br>";
- $objAdvSearch = new clsAdvancedSearchResults("News",$objArticleList->classname, $_GET["type"]);
- foreach($objSearchConfig->Items as $field)
- {
- $fld = $field->Get("FieldName");
-
- $Verb = $_POST["verb"][$field->Get("FieldName")];
- if(!strlen($Verb) && $field->Get("FieldType")=="boolean")
- {
- if($_POST["value"][$field->Get("FieldName")]!=-1)
- {
- $Value = $_POST["value"][$field->Get("FieldName")];
- $Verb = "is";
- }
- }
- else
- {
- $Value = $_POST["value"][$field->Get("FieldName")];
- }
- switch( $_POST["andor"][$field->Get("FieldName")])
- {
- case 1:
- $Conjuction = "AND";
- break;
- case 2:
- $Conjuction = "OR";
- break;
- default:
- $Conjuction = "";
- break;
- }
-
- if (strlen($Value) && $Verb=="any")
- {
- $Verb = 'contains';
- }
-
- if(strlen($Value) && strlen($Verb)>0 && $Verb!="any")
- {
- //echo "Adding ARTICLE SearchField: [".$field->Get("TableName")."]; [".$field->Get("FieldName")."]; [$Verb]; [$Value]; [$Conjuction]<br>";
- $objAdvSearch->AddAdvancedField($field->Get("TableName"),$field->Get("FieldName"),$Verb,$Value,$Conjuction, 'n');
- }
- }
- $objAdvSearch->PerformSearch(2,NULL,TRUE);
- }
- break;
- case "m_simple_subsearch":
- $keywords = $_POST["keywords"];
- $type = $objItemTypes->GetTypeByName("Article");
-
- if(strlen($keywords))
- {
- $objNewsSearch = new clsSearchResults("News",$objArticleList->classname);
- $objNewsSearch->SetKeywords($keywords);
- $objNewsSearch->AddSimpleFields('n');
- if (is_numeric($objConfig->Get("SearchRel_Pop_articles"))) {
- $objNewsSearch->PctPop = ($objConfig->Get("SearchRel_Pop_articles")/100);
- }
- if (is_numeric($objConfig->Get("SearchRel_Keyword_articles"))) {
- $objNewsSearch->PctRelevance = ($objConfig->Get("SearchRel_Keyword_articles")/100);
- }
- if (is_numeric($objConfig->Get("SearchRel_Rating_articles"))) {
- $objNewsSearch->PctRating = ($objConfig->Get("SearchRel_Rating_articles")/100);
- }
- if(count($SearchResultIdList)>0)
- {
- $objNewsSearch->PerformSearch($type->Get("ItemType"),$SortOrder,FALSE,$SearchResultIdList);
- //$objNewsSearch->SetRelevence($type->Get("ItemType"), "NewsId");
- }
- }
- break;
- }
-?>
Property changes on: trunk/in-news/frontaction.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.19
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_init.php
===================================================================
--- trunk/in-news/module_init.php (revision 12830)
+++ trunk/in-news/module_init.php (nonexistent)
@@ -1,38 +0,0 @@
-<?php
-global $ItemTypes, $ItemTables, $objArticleList, $ParserFiles;
-
-$ItemTypes["news"]=2;
-$ItemTables[2] = "News";
-$ParserFiles[] = "in-news/parser.php";
-
-require_once('news.php');
-
-class clsNewsList extends _clsNewsList
-{
- function clsNewsList()
- {
- $this->_clsNewsList();
- $this->classname = "clsNews";
- }
-}
-
-/* Returns Main Item Collection */
-function &n_ItemCollection()
-{
- global $objArticleList;
- return $objArticleList;
-}
-
-$objArticleList = new clsNewsList();
-
-if($n_var_list["id"])
- $objArticleList->SetCurrentItem($n_var_list["id"]);
-$objArticleList->Page = $n_var_list["p"];
-
-/*if there are customized tags for this module, include them below: */
-$tag_override = $pathtoroot."in-news/customtags.php";
-if(file_exists($tag_override))
-{
- require_once($tag_override);
-}
-?>
\ No newline at end of file
Property changes on: trunk/in-news/module_init.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/articles_custom.txt
===================================================================
--- trunk/in-news/module_help/articles_custom.txt (revision 12830)
+++ trunk/in-news/module_help/articles_custom.txt (nonexistent)
@@ -1 +0,0 @@
-This tab displays all custom fields configured in In-newz, and allows the administrator to edit their information for this article.
\ No newline at end of file
Property changes on: trunk/in-news/module_help/articles_custom.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/articles_edit.txt
===================================================================
--- trunk/in-news/module_help/articles_edit.txt (revision 12830)
+++ trunk/in-news/module_help/articles_edit.txt (nonexistent)
@@ -1,24 +0,0 @@
-This tab contains the main attributes of the article.
-<ul>
-<li> News Article Id – this read-only field displays the unique internal system ID of the article.
-<li> Title * - this field contains the article name.
-<li> Author* - this field contains the name of the user who is the designated author of the article. It can be an In-portal user, or somebody else – this field accepts plain text as well as user names. By default, the article author is the user who creates the article. The administrator may change the article author, by entering a different user name, by selecting it through a user pop up (shortcut to a user icon), or by entering any other text in this field.
-<li> Article Body* – this field contains the main body of the article. The shortcut to the HTML editor next to this field will open a pop-up with an online HTML editor
-<li> Article Excerpt - this field contains the summary of the article body. It should be significantly shorter then the main text. The option to ‘Generate from the article body' will automatically take a portion of the main text and insert it into the excerpt when you save the article.
-<li>Automatic Filename – specifies whether the Filename used for mod_rewrite should be generated automatically from the article name, or entered manually. If checked, the Filename will be generated from the article name, replacing all special characters ( !@#$%^&*()+|\=-~`{}][:”’;,./?>< ) by the underscore character (“_”), and all multiple underscores with a single underscore. If the resulting name ends with an underscore followed by number, an additional letter will be appended, since the names ending with a number are reserved for system use. The resulting name will also be checked for uniqueness, and if it’s not unique, additional letters will be appended to the end of the name
-<li>Custom Filename – the filename used for the URL generation when using mod_rewrite. The field is disabled if Automatic Filename is On. If Automatic Filename is Off, the administrator may enter the filename manually, however it will still be checked for uniqueness, special characters and whether it ends with a number. In such cases the Filename will be automatically corrected before saving.
-<li> Status – this field contains the article status.
-<li> New – this field controls how the article ‘new' status is calculated by In-newz.
-<li> Hot – this field controls how the article’s ‘hot’ status is calculated by In-newz. In automatic mode, In-newz will consider as ‘hot’ the X number of articles with the most views. X is defined under the In-newz Output options.
-<li> Popularity – this field controls how the article’s ‘pop’ status is calculated by In-newz. In automatic mode, In-newz will consider those articles as “popular”, which have at least X number of votes and have a rating above the predefined threshold. The number of votes and rating threshold are defined in the Output options section.
-<li> Editor's Pick – this flags sets the Editor's Pick attribute of the article.
-<li> Site Lead Story – this flags sets the Site Lead attribute of the article. The default theme is designed for one Site Lead articles, but you may change that depending on your implementation needs.
-<li> Category Lead Story – this flags sets the Category Lead attribute of the article. The default theme is designed for three lead articles in each category, but you may change that depending on your implementation needs.
-<li> Priority - this field contains the numeric article priority.
-<li> Created on * - this field contains the creation date of the article. It is automatically set by the system when the article is created, however it can be changed by the administrator. The date can be entered directly into the field, or by using the visual calendar tool.
-<li> Start Date - this field contains the date starting on which the article should be displayed on the front-end. It is automatically set by the system to be the same as the creation date, however it can be changed by the administrator. The date can be entered directly into the field, or by using the visual calendar tool.
-<li> Archivation Date - this field contains the date when the article will be archived. Archived articles are not displayed on the front-end. This date is automatically set by the system when the article is created, using the creation date plus the predefined number of days, set in the In-newz configuration. It can be changed by the administrator, by being entered directly into the field, or by using the visual calendar tool.
-<li> Rating – this field contains the numeric rating of the article. The rating is calculated as the average value of all ratings selected by users for this article. The range of the value is predefined, and displayed to the right as a hint. The administrator can manually change the rating if necessary.
-<li> Votes – this field contains the number of votes for the article. Each time a user votes (selects rating) for the article on the front-end, this value is incremented by one. This value is important for the rating calculating, it is used in the formula to calculate the average. The administrator can manually change the number of votes if necessary.
-<li> Hits – this field contains the number of article's hits. This value is incremented each time a user views the article. The administrator can manually change the hits if necessary.
-</ul>
Property changes on: trunk/in-news/module_help/articles_edit.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/relations_edit.txt
===================================================================
--- trunk/in-news/module_help/relations_edit.txt (revision 12830)
+++ trunk/in-news/module_help/relations_edit.txt (nonexistent)
@@ -1,8 +0,0 @@
-This tab contains a list of all relations of this article. To create a new relation, click the ‘New' button (two opposite green arrows with a little sun). This will pop up an item picker, where you can choose one category or item of any module that supports relations.
-<ul>
-<li> Relation ID – this is a read-only field, the internal system ID of the relation, guaranteed to be unique throughout the system. It is blank when a new relation is created.
-<li> Item – this is a read-only field, displaying the name of the item that you are creating a relation to, and its type. In the current version, articles can be related to categories, links (if In-link is installed) and topics (if In-bulletin is installed).
-<li> Type – this field designated the type of the relation. A ‘reciprocal' type denotes a two-way relation, and ‘one way' – a one directional relation, from the article to the item.
-<li> Enabled – this field is the status flag of the relation.
-<li> Priority – this field is the numerical priority of the relation.
-</ul>
\ No newline at end of file
Property changes on: trunk/in-news/module_help/relations_edit.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/articles_images.txt
===================================================================
--- trunk/in-news/module_help/articles_images.txt (revision 12830)
+++ trunk/in-news/module_help/articles_images.txt (nonexistent)
@@ -1,14 +0,0 @@
-This tab contains all images associated with the article. To create a new image, click on the ‘New' button (the icon like the Windows GIF icon with a little sun). This will open a new page where you specify the image details.
-<ul>
-<li> Image ID – a read-only field, the internal system ID of the image, guaranteed to be unique throughout the system. It is blank when a new image is created.
-<li> Name – this field contains the image name, used on the front-end, in side the In-tags to refer to this image.
-<li> Alt Value – this field contains the text value, which will be displayed in the ‘alt' tag of the image on the front end, in side the page HTML code, and when a mouse pointer hovers over the image (in Internet Explorer).
-<li> Status – this field contains the status of the image, enabled or disabled.
-<li> Primary – this flag designates the primary image. There can be only one primary image per list (for one article). When you check this box on an image, the previous primary image is unset (if there is more than one image in the list).
-<li> Priority – this field contains the numerical priority of the image.
-<li> Thumbnail location (upload from PC) – Using this control, you can upload an image from the workstation you are at to the In-portal server. The image will be stored in the ‘in-portal/kernel/images' directory.
-<li> Thumbnail location (remote URL) – Here you can enter a remote URL address of an image. It will be linked from the remote server.
-<li> Same As Thumbnail – This check box sets the full-size image to be the same as the thumbnail image. When this option is checked, you cannot upload a full-size image.
-<li> Thumbnail location (upload from PC) - Using this control, you can upload an image from the workstation you are at to the In-portal server. The image will be stored in the ‘in-portal/kernel/images' directory.
-<li> Thumbnail location (remote URL) - Here you can enter a remote URL address of an image. It will be linked to from the remote server.
-</ul>
Property changes on: trunk/in-news/module_help/articles_images.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/config_list_output.txt
===================================================================
--- trunk/in-news/module_help/config_list_output.txt (revision 12830)
+++ trunk/in-news/module_help/config_list_output.txt (nonexistent)
@@ -1,18 +0,0 @@
-This section allows the administrator to specify the default values for various article settings in In-newz.
-<ul>
-<li> Order articles by – this setting specifies the default primary sort order for the article listings. It applies both on the front-end, and in the Administrative Console – in the catalog. The first dropdown allows to select the field (an attribute of the article), and the second dropdown – the direction of the sort.
-<li> And then by – this setting specifies the default secondary sort order. It is set in the same way as the primary, and used when the primary order values are ambiguous. For example, when the primary sort value is ‘Article Title', the secondary order will be used to sort among articles with the same title.
-<li> Number of articles per page – specifies the default number of articles shown per page. This value applies both to the front-end and to the Administrative Console. In the latter, this value can be changed for each session through the View menu.
-<li> Articles Per Page (Shortlist) – this setting is similar to the ‘ Number of articles per page', but it applies to the front-end short article lists only. It can be overridden by setting the tag attributes in the appropriate templates.
-<li> Number of days for an article to be NEW – this setting specifies the number of days, from the date of creation, during which the article will be automatically marked ‘New' by the system. This setting will only apply to the articles with the ‘New' flag set to ‘Automatic'.
-<li> Minimum rating for an article to be POP– this setting specifies the minimum rating of an article for it to be automatically marked ‘Popular’ by the system. This setting will only apply to the articles with the ‘Popularity’ flag set to ‘Automatic’. Note, that for an article to be “popular” it will need to meet the “minimum votes” requirement set below.
-<li> Maximum number of HOT articles – this setting specifies the maximum number “hot” articles in the database. A “hot” article is the one that has more views than the other articles. For example, if this option is set to “2”, the In-portal system will pick the two articles with the most views and mark them as hot. (Of course, this will change real-time as the articles’ view counters are updated, or as this setting changes). Please note, if more than one article has the maximum number of hits, the system will still enforce the maximum number requirement; therefore, there may be situations when an article with the most views is not marked as “hot”.
-<li> Minimum # of votes for rating consideration – this setting specifies the minimum number of votes required for the article rating to be effective. Usually, when only a small number of users have voted on an article, its rating will not be statistically accurate - it is likely, that only biased users have voted. When a larger number of users vote, the rating becomes more accurate. This setting affects the “popularity” property of an article – articles with less than required number of votes will not be considered “popular”, even if their rating is high enough.
-<li> Display editor PICKs above regular articles – this setting will force all articles, marked as ‘Editor's pick' to be displayed above the other articles, regardless of their priority or sort order. Among themselves, ‘Editor's pick' articles will be sorted according to the regular rules.
-<li> Number of days to archive articles automatically – this setting contains the number of days to be added to the article creation date to set the archivation date.
-<li> Allow Duplicate Reviews – this setting specifies the period during which the same user cannot submit another review on the same article. The time can be entered in seconds, minutes, hours, days, months or years. If it is set to zero, the users can submit reviews without this limitation. Please note, that regardless of this setting, the same user will be able to submit a review on another article immediately after the first review.
-<li> Allow Duplicate Rating Votes - this setting specifies the period during which the same user cannot rate the same article again. The time can be entered in seconds, minutes, hours, days, months or years. If it is set to zero, the users can rate articles without this limitation. Please note, that regardless of this setting, the same user will be able to rate another article immediately after the first rating.
-<li> Reviews Per Page - specifies the default number of reviews shown per page. This value applies both to the front-end and to the Administrative Console.
-<li> Sort reviews by - this setting specifies the default primary sort order for the review listings. It applies both on the front-end, and in the Administrative Console – in the article management section, Reviews tab. The first dropdown allows to select the field (an attribute of the review), and the second dropdown – the direction of the sort.
-<li> and then by - this setting specifies the default secondary sort order. It is set in the same way as the primary, and used when the primary order values are ambiguous. For example, when the primary sort value is ‘Review Text', the secondary order will be used to sort among reviews with the same body.
-</ul>
Property changes on: trunk/in-news/module_help/config_list_output.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/articles_relations.txt
===================================================================
--- trunk/in-news/module_help/articles_relations.txt (revision 12830)
+++ trunk/in-news/module_help/articles_relations.txt (nonexistent)
@@ -1,8 +0,0 @@
-This tab contains a list of all relations of this article. To create a new relation, click the ‘New' button (two opposite green arrows with a little sun). This will pop up an item picker, where you can choose one category or item of any module that supports relations.
-<ul>
-<li> Relation ID – this is a read-only field, the internal system ID of the relation, guaranteed to be unique throughout the system. It is blank when a new relation is created.
-<li> Item – this is a read-only field, displaying the name of the item that you are creating a relation to, and its type. In the current version, articles can be related to categories, links (if In-link is installed) and topics (if In-bulletin is installed).
-<li> Type – this field designated the type of the relation. A ‘reciprocal' type denotes a two-way relation, and ‘one way' – a one directional relation, from the article to the item.
-<li> Enabled – this field is the status flag of the relation.
-<li> Priority – this field is the numerical priority of the relation.
-</ul>
\ No newline at end of file
Property changes on: trunk/in-news/module_help/articles_relations.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/custom_fields_list.txt
===================================================================
--- trunk/in-news/module_help/custom_fields_list.txt (revision 12830)
+++ trunk/in-news/module_help/custom_fields_list.txt (nonexistent)
@@ -1,11 +0,0 @@
-This section allows the administrator to manage the article custom fields. The article custom fields are useful when you need to store additional information about the articles. For example, the articles may have such custom fields, as the language of the article, the safe audience rating, the country where the even occurred, etc. All custom fields will be automatically used in the Administrative Console, in the Article Management section. You will need to edit the theme templates for them to appear on the front-end.
-<ul>
-<li> Field Id – this is a read-only field displaying the unique system ID of the custom field.
-<li> Field Name – sets the internal name of the custom field. This is the name you would use to refer to the custom field in the In-tags when designing templates.
-<li> Field Label – this is a read-only field, which displays the language variable name associated with the label of that field, and the value of the variable in the current language (after the colon). The label is used on the front end, and in the Administrative Console, to describe the field to the user who is entering information into it.
-<li> Show on the general tab – this setting controls whether the custom field will be also displayed on the General tab in the Administrative Console, when editing the articles. It is a short cut for frequently used custom fields. All settings below apply only when this is checked.
-<li> Heading – this field contains the language variable of the section heading, under which the field appear on the general tab.
-<li> Field Prompt – this field contains the language variable, which text will appear as the hint bind the field.
-<li> Input Type – this drop down allows the administrator to designate the type of the information stored in the custom field, by specifying the HTML control to be used on the General form.
-<li> List of Values – this field contains all choices for the above HTML controls of type ‘radio button' or ‘drop down'. The choices must be in the format: “value1 = language variabe1, value2=language variable2”. For example, to create a drop down with three choices (One, Two, Three) and their respective numerical values, this field would contain the following: “1=la_one,2=la_two,3=la_three).
-</ul>
\ No newline at end of file
Property changes on: trunk/in-news/module_help/custom_fields_list.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/config_list_general.txt
===================================================================
--- trunk/in-news/module_help/config_list_general.txt (revision 12830)
+++ trunk/in-news/module_help/config_list_general.txt (nonexistent)
@@ -1,3 +0,0 @@
-This section contains general In-newz settings, which are not related to articles. In the current version, it has only one setting. ‘Select Module Root Category' allows the administrator to specify the module root category of In-newz. Clicking on the folder shortcut button will pop up a category picker.
-The module root category is used in several ways. On the front-end, in the Default theme, the top menu links each module to its module root category. Therefore, the ‘News' menu item will open this category and its contents. In the Administrative Console, this setting provides a faster way to navigate in the module, as it presets the category for module-specific actions.
-Logically, the module root category defines the portion of the catalog tree that is designated only for the In-newz categories. If you are using the categories to store items from multiple modules, this setting is not applicable to your situation.
\ No newline at end of file
Property changes on: trunk/in-news/module_help/config_list_general.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/email_settings_list.txt
===================================================================
--- trunk/in-news/module_help/email_settings_list.txt (revision 12830)
+++ trunk/in-news/module_help/email_settings_list.txt (nonexistent)
@@ -1 +0,0 @@
-This section lists all possible In-newz events. Each event has a description, a type – ‘User' or ‘Admin', a status – ‘Enabled', ‘Front-end Only', and a ‘From/To User'. The description hints about when the event occurs. The type indicates whether the email notification will be sent to the front-end user, or the administrator. The status ‘Enabled' signifies that the email notifications for this event are enabled for both the front-end and the Administrative Console. The Front-end Only' status means that the notifications will be sent only when the event occurs on the front end. The ‘Disabled' status means no notifications will be sent when this event occurs. The ‘From/To User' field specifies the ‘From' email for front-end user notifications, and the ‘To' email for the administrative notifications. The other, matching pair of addresses (‘To' for the front, and ‘From' for the admin) is automatically determined by the system based on who initiated the event. The event notification status can be changed by clicking on the toolbar buttons – ‘Enable' to enable the notification, ‘Disable' to disable it, and ‘Front Only' (icon with a monitor) to set to ‘Front-end Only' status.
\ No newline at end of file
Property changes on: trunk/in-news/module_help/email_settings_list.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/images_edit.txt
===================================================================
--- trunk/in-news/module_help/images_edit.txt (revision 12830)
+++ trunk/in-news/module_help/images_edit.txt (nonexistent)
@@ -1,14 +0,0 @@
-This tab contains all images associated with the article. To create a new image, click on the ‘New' button (the icon like the Windows GIF icon with a little sun). This will open a new page where you specify the image details.
-<ul>
-<li> Image ID – a read-only field, the internal system ID of the image, guaranteed to be unique throughout the system. It is blank when a new image is created.
-<li> Name – this field contains the image name, used on the front-end, in side the In-tags to refer to this image.
-<li> Alt Value – this field contains the text value, which will be displayed in the ‘alt' tag of the image on the front end, in side the page HTML code, and when a mouse pointer hovers over the image (in Internet Explorer).
-<li> Status – this field contains the status of the image, enabled or disabled.
-<li> Primary – this flag designates the primary image. There can be only one primary image per list (for one article). When you check this box on an image, the previous primary image is unset (if there is more than one image in the list).
-<li> Priority – this field contains the numerical priority of the image.
-<li> Thumbnail location (upload from PC) – Using this control, you can upload an image from the workstation you are at to the In-portal server. The image will be stored in the ‘in-portal/kernel/images' directory.
-<li> Thumbnail location (remote URL) – Here you can enter a remote URL address of an image. It will be linked from the remote server.
-<li> Same As Thumbnail – This check box sets the full-size image to be the same as the thumbnail image. When this option is checked, you cannot upload a full-size image.
-<li> Thumbnail location (upload from PC) - Using this control, you can upload an image from the workstation you are at to the In-portal server. The image will be stored in the ‘in-portal/kernel/images' directory.
-<li> Thumbnail location (remote URL) - Here you can enter a remote URL address of an image. It will be linked to from the remote server.
-</ul>
Property changes on: trunk/in-news/module_help/images_edit.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/articles_categories.txt
===================================================================
--- trunk/in-news/module_help/articles_categories.txt (revision 12830)
+++ trunk/in-news/module_help/articles_categories.txt (nonexistent)
@@ -1,3 +0,0 @@
-
-<p>This tab manages the categories of the article. The list shows all categories to which this article belongs. The administrator can add and remove additional categories on this list. At least one category must be listed, and exactly one category must be designated as the primary. The primary category determines the permissions for the article. To designate the primary category of the article, select the category and click on the Primary Category icon in the toolbar. The ‘primary' marker will move from the previous Primary Category to the one you have selected. </p>
-The article will appear in all of the categories it belongs to, in the Administrative Console as well as on the front-end. All of the article's attributes (such as the Category Lead Story) will be applied in all categories as well.
Property changes on: trunk/in-news/module_help/articles_categories.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/config_list_search.txt
===================================================================
--- trunk/in-news/module_help/config_list_search.txt (revision 12830)
+++ trunk/in-news/module_help/config_list_search.txt (nonexistent)
@@ -1,9 +0,0 @@
-This section allows the administrator to configure the front-end search options, and the advanced search options.
-This section lists all fields representing article attributes. Next to each field, there is a ‘Simple Search' checkbox, which includes this field in the simple search query. By default, only the ‘Title, the ‘Excerpt', the ‘Author' and the ‘Body' fields are included. In general, it makes sense to include only the fields, which may contain text in them, otherwise when a visitor searches for a text keyword, the non-textual fields will be not searchable. Next, there is a ‘Weight' text box, in which the administrator can designate the importance of each field during a search. The fields with a larger weight will be more important then the fields with the lower weight. This is used when calculating the article's relevance to the search keyword, for sorting of the results. The last column is the ‘Advanced Search' check. It designates whether a particular field should be displayed on the ‘Advanced Search' page and be searchable by the visitors. By default, all fields are included.
-Below the list of fields are the Article Relevance settings.
-<ul>
-<li> Increase importance if field contains a required keyword by – this specifies the percentage by which the weight of a field will increase, when a required keyword is found in that field. A required keyword is one that is preceded with a ‘+' in the search key phrase.
-<li> Search Relevance depends on _ % keyword – the percentage of relevance that comes from the keyword being found in that article.
-<li> Search Relevance depends on _ % popularity - the percentage of relevance that is based on the article's popularity.
-<li> Search Relevance depends on _ % rating - the percentage of relevance that is based on the article's rating.
-</ul>
\ No newline at end of file
Property changes on: trunk/in-news/module_help/config_list_search.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/reviews_edit.txt
===================================================================
--- trunk/in-news/module_help/reviews_edit.txt (revision 12830)
+++ trunk/in-news/module_help/reviews_edit.txt (nonexistent)
@@ -1,12 +0,0 @@
-This tab lists all reviews of the article, and allows the administrator to manage them. Reviews are user responses to the article. They can be used to collect feedback from the front-end users, to provide details of the ratings, and for many other purposes.
-Reviews have their own status, independent from the article. They can be active, pending or disabled. The idea is very similar to the article status – only active reviews are displayed on the article detail page, or wherever specified in the theme design. The category permissions specify the status of a new review created on the front-end.
-<ul>
-<li> Enable HTML? – this check box enables or disables HTML code in the review body. When checked, it will render the HTML (for example, a &lt;B&gt; tag will actually make the text bold). When unchecked, it will display the HTML as regular text (the &lt;B&gt; tag will appear exactly as ‘&lt;B&gt;'). This is a very important setting, since some HTML tags can break the page layout, and in some instances can be a security concern (the Java Script, for example).
-<li> Review ID -this field is a read-only unique system ID of the review.
-<li> Created by* - this field contains the name of the user who submitted the review. This information will be displayed, along with the text of the review and the date, on the front-end, unless specified otherwise in the active theme. The administrator may change the review author by entering a different user name in this field, or by selecting it through a user picker (shortcut to a user icon will pop up the picker in a new window).
-<li> Review Text* - this field contains the main body of the review. To use the online HTML editor, click on the ‘Editor' button next to this field.
-<li> Status - this is the status field of the review.
-<li> Priority – this field contains the numerical priority of the review.
-<li> Created on – this field contains the creation date of the review. It is automatically set by the system when the review is submitted, however it can be changed by the administrator. The date can be entered directly into the field, or by using the visual calendar tool.
-<li> Created at - this field contains the creation time of the review. It is automatically set by the system when the review is submitted, however it can be changed by the administrator. The date can be entered directly into the field, or by using the visual calendar tool.
-</ul>
\ No newline at end of file
Property changes on: trunk/in-news/module_help/reviews_edit.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/module_help/articles_reviews.txt
===================================================================
--- trunk/in-news/module_help/articles_reviews.txt (revision 12830)
+++ trunk/in-news/module_help/articles_reviews.txt (nonexistent)
@@ -1,12 +0,0 @@
-This tab lists all reviews of the article, and allows the administrator to manage them. Reviews are user responses to the article. They can be used to collect feedback from the front-end users, to provide details of the ratings, and for many other purposes.
-Reviews have their own status, independent from the article. They can be active, pending or disabled. The idea is very similar to the article status – only active reviews are displayed on the article detail page, or wherever specified in the theme design. The category permissions specify the status of a new review created on the front-end.
-<ul>
-<li> Enable HTML? – this check box enables or disables HTML code in the review body. When checked, it will render the HTML (for example, a &lt;B&gt; tag will actually make the text bold). When unchecked, it will display the HTML as regular text (the &lt;B&gt; tag will appear exactly as ‘&lt;B&gt;'). This is a very important setting, since some HTML tags can break the page layout, and in some instances can be a security concern (the Java Script, for example).
-<li> Review ID -this field is a read-only unique system ID of the review.
-<li> Created by* - this field contains the name of the user who submitted the review. This information will be displayed, along with the text of the review and the date, on the front-end, unless specified otherwise in the active theme. The administrator may change the review author by entering a different user name in this field, or by selecting it through a user picker (shortcut to a user icon will pop up the picker in a new window).
-<li> Review Text* - this field contains the main body of the review. To use the online HTML editor, click on the ‘Editor' button next to this field.
-<li> Status - this is the status field of the review.
-<li> Priority – this field contains the numerical priority of the review.
-<li> Created on – this field contains the creation date of the review. It is automatically set by the system when the review is submitted, however it can be changed by the administrator. The date can be entered directly into the field, or by using the visual calendar tool.
-<li> Created at - this field contains the creation time of the review. It is automatically set by the system when the review is submitted, however it can be changed by the administrator. The date can be entered directly into the field, or by using the visual calendar tool.
-</ul>
\ No newline at end of file
Property changes on: trunk/in-news/module_help/articles_reviews.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/news.php
===================================================================
--- trunk/in-news/news.php (revision 12830)
+++ trunk/in-news/news.php (nonexistent)
@@ -1,1105 +0,0 @@
-<?php
-
-define('TYPE_NEWS', 2);
-define('Archived', 3);
-
-RegisterPrefix("clsNews","article","in-news/news.php");
-
-class clsNews extends clsCatItem
-{
- function clsNews($NewsId=NULL)
- {
- global $objSession;
-
- $this->clsCatItem(TRUE);
- $this->tablename=GetTablePrefix()."News";
- $this->type=TYPE_NEWS;
- $this->Prefix = 'n';
- $this->BasePermission="NEWS";
- $this->id_field = "NewsId";
- $this->TagPrefix="article";
- $this->TitleField = 'Title';
- if(isset($NewsId))
- $this->LoadFromDatabase($NewsId);
- if($objSession->HasSystemPermission("DEBUG.ITEM"))
- {
- $this->SetDebugLevel(1);
- }
-
- /* keyword highlighting */
- $this->OpenTagVar = "News_Highlight_OpenTag";
- $this->CloseTagVar = "News_Highlight_CloseTag";
-
- }
-
-
- function Validate()
- {
- global $objSession, $Errors;
-
- $dataValid = true;
- if(!strlen($this->Get("Title")))
- {
- $Errors->AddError("error.fieldIsRequired",'Name',"","",get_class($this),"Validate");
- $dataValid = false;
- }
-
- if(!(int)($this->Get("CreatedOn")))
- {
- $Errors->AddError("error.fieldIsRequired",'CreatedOn',"","",get_class($this),"Validate");
- $dataValid = false;
- }
- return $dataValid;
- }
-
-
- function SetNewItem()
- {
- global $objConfig;
-
- $value = $this->Get("CreatedOn");
-
- $cutoff = adodb_date("U") - ($objConfig->Get("News_NewDays") * 86400);
- $this->IsNew = FALSE;
- if($value>$cutoff)
- $this->IsNew = TRUE;
- return $this->IsNew;
- }
-
- function SetPopItem()
- {
- global $objConfig, $objArticleList;
-
- $cutoff = $objArticleList->GetPopValue();
- $this->IsPop = FALSE;
- if($cutoff>0)
- {
- if($this->Get('CachedRating') >= $cutoff
- && $this->Get('CachedVotesQty') >= $objConfig->Get('News_MinPopVotes'))
- {
- $this->IsPop = TRUE;
- }
- }
- return $this->IsPop;
- }
-
- function SetHotItem()
- {
- global $objConfig, $objArticleList;
-
- $this->IsHot = FALSE;
- $cutoff = $objArticleList->GetHotValue();
- if($cutoff>0)
- {
- if($this->Get("Hits")>=$cutoff)
- $this->IsHot = TRUE;
- }
- return $this->IsHot;
- }
-
- function Approve()
- {
- if($this->Get("Status")==-2)
- {
- $this->SendUserEventMail("ARTICLE.MODIFY.APPROVE",$this->Get("CreatedById"));
- $this->SendAdminEventMail("ARTICLE.MODIFY.APPROVE");
- }
- else
- {
- $this->SendUserEventMail("ARTICLE.APPROVE",$this->Get("CreatedById"));
- $this->SendAdminEventMail("ARTICLE.APPROVE");
- }
- $this->Set("Status", 1);
- $this->Update();
- }
-
- function Deny()
- {
- if($this->Get("Status")==-2)
- {
- $this->SendUserEventMail("ARTICLE.DENY.PENDING",$this->Get("CreatedById"));
- $this->SendAdminEventMail("ARTICLE.DENY.PENDING");
- }
- else
- {
- $this->SendUserEventMail("ARTICLE.DENY",$this->Get("CreatedById"));
- $this->SendAdminEventMail("ARTICLE.DENY");
- }
- $this->Set("Status", 0);
- $this->Update();
- }
-
- function LoadFromDatabase($Id)
- {
- global $Errors;
-
- if(!isset($Id))
- {
- $Errors->AddError("error.AppError",NULL,'Internal error: LoadFromDatabase id',"",get_class($this),"LoadFromDatabase");
- return false;
- }
-
- $sql = sprintf("SELECT * FROM ".$this->tablename." WHERE ".$this->IdField()." = '%s'", $Id);
- $result = $this->adodbConnection->Execute($sql);
- if ($result === false)
- {
- $Errors->AddError("error.DatabaseError",NULL,$this->adodbConnection->ErrorMsg(),"",get_class($this),"LoadFromDatabase");
- return false;
- }
-
- $data = $result->fields;
- if(is_array($data))
- $this->SetFromArray($data);
- $this->Clean();
- }
- function LoadFromResourceId($Id)
- {
- global $objSession, $Errors;
- if(!isset($Id))
- {
- $Errors->AddError("error.AppError",NULL,'Internal error: LoadFromDatabase id',"",get_class($this),"LoadFromResourceId");
- return false;
- }
- $sql = sprintf("SELECT * FROM ".$this->tablename." WHERE ResourceId = '%s'",$Id);
- $result = $this->adodbConnection->Execute($sql);
- if ($result === false)
- {
- $Errors->AddError("error.DatabaseError",NULL,$adodbConnection->ErrorMsg(),"",get_class($this),"LoadFromResourceId");
- return false;
- }
- $data = $result->fields;
- if(is_array($data))
- {
- $this->SetFromArray($data);
- $this->Clean();
- }
- return TRUE;
- }
-
- function GetGroupIcon()
- {
- $ret = "groupicons/".$this->m_GroupId.".gif";
- return $ret;
- }
-
- function StatusIcon()
- {
- global $rootURL;
-
- $ret = $rootURL."/in-news/admin/images/";
-
- switch($this->Get("Status"))
- {
- case STATUS_DISABLED:
- $ret .= "icon16_article_disabled.gif";
- break;
- case STATUS_PENDING:
- $ret .= "icon16_article_pending.gif";
- break;
- case STATUS_ACTIVE:
- $img = "icon16_article.gif";
- if($this->IsPopItem())
- $img = "icon16_article_pop.gif";
- if($this->IsHotItem())
- $img = "icon16_article_hot.gif";
- if($this->IsNewItem())
- $img = "icon16_article_new.gif";
- if($this->Is("EditorsPick"))
- $img = "icon16_article_pick.gif";
- $ret .= $img;
- break;
- }
- return $ret;
- }
-
- function ItemURL($Template=NULL,$SetCat=FALSE,$Action=NULL)
- {
- global $var_list_update,$var_list,$n_var_list_update,$m_var_list_update;
-
- $url_params = Array();
- $var_list_update["t"] = $Template ? $Template : $var_list["t"];
-
-// if($SetCat)
-// {
- $cat = $this->Get("CategoryId");
- if( !is_numeric($cat) ) $cat = $this->GetPrimaryCategory();
- $m_var_list_update["cat"] = $cat;
-// }
-
- $n_var_list_update["id"] = $this->Get("NewsId");
-
- if( isset($Action) && $Action ) $url_params['Action'] = $Action;
-
- $ret = HREF_Wrapper('', $url_params);
- unset($n_var_list_update["id"], $var_list_update["t"],$m_var_list_update["cat"]);
- return $ret;
- }
-
- function ParseObject($element)
- {
- global $objConfig, $objCatList, $var_list_update, $var_list, $n_var_list_update, $m_var_list_update, $objSession, $objUsers;
-
- $extra_attribs = ExtraAttributes($element->attributes);
- if(strtolower($element->name)==$this->TagPrefix)
- {
- $field = strtolower($element->attributes["_field"]);
- switch($field)
- {
- case "excerpt":
- /*
- @field:article.excerpt
- @description Returns the artcle excerpt
- */
- $ret = $this->HighlightField("Excerpt");
- break;
- case "body":
- /*
- @field:article.body
- @description:The main body of the article
- @attrib:_parsed:bool:If set, HTML and In-Portal tags in the body are preserved, otherwise they are escaped
- */
- $this->Increment("Hits", true);
- $parsed = $element->attributes["_parsed"];
- if($parsed)
- {
- $body = inp_unescape($this->Get("Body"));
- $body = $this->HighlightText($body);
- if($this->Get("TextFormat")!=1)
- {
- $body = nl2br($body);
- }
- $ret = $this->ParseTemplateText($body);
- }
- else
- $ret = inp_unescape($this->Get("Body"));
- $ret = $this->HighlightText($ret);
- break;
- case "title":
- /*
- @field:article.title
- @description: Article Title (headline)
- */
- $ret = $this->HighlightField("Title");
- break;
- case "author":
- /*
- @field:article.author
- @description:text by-line of the article
- */
- $ret = $this->HighlightField("Author");
- break;
- case "createdby":
- /*
- @field:article.createdby
- @description:parse a user field of the user that created the article
- @attrib:_usertag::User field to return (defaults to login ID)
- */
- $field = $element->attributes["_usertag"];
- if(!strlen($field))
- {
- $field = "user_login";
- }
-
- $userId = $this->Get("CreatedById");
- if (!empty($userId) && ($userId > 0))
- {
- $u =& $objUsers->GetItem($userId);
- if (is_object($u))
- {
- $ret = $u->parsetag($field);
- }
- }
- else
- $ret = " ";
- break;
- case "date":
- /*
- @field:article.date
- @description:Returns the date/time the article was created
- @attrib:_tz:bool:Convert the date to the user's local time
- @attrib:_part::Returns part of the date. The following options are available: month,day,year,time_24hr,time_12hr
- */
- $d = $this->Get("CreatedOn");
- $ret = $this->ParseTimeStamp($d,$element->attributes);
- break;
- case "modified":
- /*
- @field:article.modified
- @description:Returns the date/time the article was last modified
- @attrib:_tz:bool:Convert the date to the user's local time
- @attrib:_part::Returns part of the date. The following options are available: month,day,year,time_24hr,time_12hr
- */
- $d = $this->Get("Modified");
- if($d<=0)
- $d = $this->Get("CreatedOn");
-
- $ret = $this->ParseTimeStamp($d,$element->attributes);
- break;
-
- case "enddate":
- /*
- @field:article.enddate
- @description:Returns the date/time the article is to be archived
- @attrib:_tz:bool:Convert the date to the user's local time
- @attrib:_part::Returns part of the date. The following options are available: month,day,year,time_24hr,time_12hr
- */
- $d = $this->Get("EndOn");
- $ret = $this->ParseTimeStamp($d,$element->attributes);
- break;
- /*
- @field:article.startdate
- @description:Returns the date/time the article is to begin being displayed
- @attrib:_tz:bool:Convert the date to the user's local time
- @attrib:_part::Returns part of the date. The following options are available: month,day,year,time_24hr,time_12hr
- */
- case "startdate":
- $d = $this->Get("StartDate");
- $ret = $this->ParseTimeStamp($d,$element->attributes);
- break;
- case "add_favorite_link":
- /*
- @field:article.add_favorite_link
- @description:Returns a URL to add this article to the user's favorites
- @attrib:_template:tpl:Template URL should point to
- */
- if($objSession->HasCatPermission("FAVORITES"))
- {
- $t = $element->attributes["_template"];
- if(!strlen($t))
- $t = $var_list["t"];
- $ret = $this->ItemURL($t,FALSE,"n_add_favorite");
- }
- else
- {
- $t = $element->attributes["_errortemplate"];
- if(!strlen($t))
- $t = "favorite_error.tpl";
- $ret = $this->ItemURL($t,FALSE,"");
- }
- break;
- case "del_favorite_link":
- /*
- @field:article.del_favorite_link
- @description:Returns a URL to remove this article from the user's favorites
- @attrib:_template:tpl:Template URL should point to
- */
- if($objSession->HasCatPermission("FAVORITES"))
- {
- $t = $element->attributes["_template"];
- if(!strlen($t))
- $t = $var_list["t"];
- $ret = $this->ItemURL($t,FALSE,"n_del_favorite");
- }
- else
- {
- $t = $element->attributes["_errortemplate"];
- if(!strlen($t))
- $t = "favorite_error.tpl";
- $ret = $this->ItemURL($t,FALSE,"");
- }
- break;
- /*
- @field:article.favorite_toggle
- @description: Returns a link to set or reset the favorite flag for the current user
- @attrib: _template:tpl:Template to link to if user has the FAVORITES permission (defaults to current template)
- @attrib: _denytemplate:tpl: Template to link to if user does not have favorites permission (ie Guest) Defaults to current template
- @attrib: _addlabel:lang:Language tag to display if link is to add favorite
- @attrib: _addimage::Image url to include in link if adding favorite
- @attrib: _dellabel:lang:Language tag to display if item is already a favorite
- @attrib: _delimage::Image url to include in link if removing the favorite
- */
- case "favorite_toggle":
- $catid = $this->GetPrimaryCategory();
- $t = $element->attributes["_template"];
- if(!strlen($t))
- $t = $var_list["t"];
- if($objSession->HasCatPermission('FAVORITES', $catid))
- {
- if(!$this->IsFavorite($objSession->Get("PortalUserId"), $this->GetPrimaryCategory()))
- {
- $action = "n_add_favorite";
- $label = $element->attributes["_addlabel"];
- }
- else
- {
- $action = "n_del_favorite";
- $label = $element->attributes["_dellabel"];
- }
- }
- else
- {
- $action="";
- $label = $element->attributes["_addlabel"];
- $t = $element->attributes["_errortemplate"];
- if(!strlen($t))
- $t = "favorite_error.tpl";
- }
- $ret = "<A ".$extra_attribs." HREF=\"".$this->ItemURL($t,FALSE,$action)."\">".language($label)."</A>";
- break;
-
- /*
- @field:article.hits
- @description:Returns number of hits for item
- */
- case "hits":
- $ret=round($this->Get("Hits"));
- break;
-
-
-/*
- @field:article.link
- @description:Returns a URL setting the link to the article
- @attrib:_template:tpl:Template URL should point to
-*/
-/*
- @field:article.cat_link
- @description:Returns a URL setting the article to the current article and the article's category to the current category
- @attrib:_template:tpl:Template URL should point to
-*/
-/*
- @field:article.category
- @description:Return a category field from the article's category
- @attrib:_cattag::Category field to parse
-*/
-/*
- @field:article.reviews
- @description:Return the number of reviews for the article
- @attrib:_today:bool:Count reviews added today only
-*/
-/*
- @field:article.new
- @description:returns text if article's status is "new"
- @attrib:_label:lang: Text to return if status is new
-*/
-/*
- @field:article.pop
- @description:returns text if article's status is "popular"
- @attrib:_label:lang: Text to return if status is popular
-*/
-/*
- @field:article.hot
- @description:returns text if article's status is "hot"
- @attrib:_label:lang: Text to return if status is "hot"
-*/
-/*
- @field:article.pick
- @description:returns text if article's status is "hot"
- @attrib:_label:lang: Text to return if status is "hot"
-*/
-/*
- @field:article.rating
- @description:Displays the article rating
- @attrib:_displaymode:: How the rating should be displayed<br>
- <UL>
- <LI>"Numerical": Show the decimal value
- <LI>"Text": Show the text version
- <LI>"Graphical":Show images representing the rating
- </UL>
- @attrib:_onimage::on image tick shown in graphical display mode
- @attrib:_offimage::off image tick shown in graphical display mode
- @attrib:_separator::In graphical display mode, this html is placed between each tick image
-*/
-/*
- @field:article.custom
- @description:Returns a custom field
- @attrib:_customfield::field name to return
- @attrib:_default::default value
-*/
-/*
- @field:article.fullpath
- @description:The full category path of the item
-*/
-/*
- @field:article.relevance
- @description:Displays the article relevance in search results
- @attrib:_displaymode:: How the relevance should be displayed<br>
- <UL>
- <LI>"Numerical": Show the decimal value
- <LI>"Bar": Show the HTML representing the relevance. Returns two HTML cells &lg;td&lt; with specified background colors
- <LI>"Graphical":Show image representing the relevance
- </UL>
- @attrib:_onimage::Zero relevance image shown in graphical display mode. Also used as prefix to build other images (i.e. prefix+"_"+percentage+".file_extension"
- @attrib:_OffBackGroundColor::Off background color of HTML cell in bar display mode
- @attrib:_OnBackGroundColor::On background color of HTML cell in bar display mode
-*/
-
- }
- if(!isset($ret) || !strlen($ret))
- $ret = parent::ParseObject($element);
- }
- else
- {
- $ret = $this->parsetag($element->name);
- }
- return $ret;
- }
-
-
- function parsetag($tag)
- {
- global $n_var_list, $var_list, $n_var_list_update, $var_list_update, $objConfig;
-
- $tagname = $tag;
-
- switch($tagname)
- {
- case "article_category":
- return $this->Get("CategoryId");
- break;
- case "article_id":
- return $this->Get("NewsId");
- break;
- case "article_title":
- return inp_unescape($this->Get("Title"));
- break;
- case "article_excerpt":
- return inp_textarea_unescape($this->Get("Excerpt"));
- break;
- case "article_author":
- return $this->Get("Author");
- break;
- case "article_body":
- $ret = inp_unescape($this->Get("Body"));
- //$ret = $this->ParseTemplateText($body);
- return $ret;
- break;
- case "article_footer":
- return inp_textarea_unescape($this->Get("Footer"));
- break;
- case "article_priority":
- return (int)$this->Get("Priority");
- break;
- case "article_date":
- if ($this->Get('CreatedOn') <= 0) {
- return '';
- }
- return LangDate($this->Get('CreatedOn'), 0, true);
- break;
-
- case "article_enddate":
- if ($this->Get('EndOn') <= 0) {
- return '';
- }
- return LangDate($this->Get('EndOn'), 0, true);
- break;
-
- case "article_startdate":
- if ($this->Get('StartDate') <= 0) {
- return '';
- }
- return LangDate($this->Get('StartDate'), 0, true);
- break;
-
- case "article_hits":
- return $this->Get("Hits");
- break;
- case "article_views":
- return $this->Get("Hits");
- break;
- case "article_rating":
- return round($this->Get("CachedRating"),1);
- break;
- case "article_rating_img":
- return "inlink/rating/".RatingImage($this->Get("CachedRating")).".gif";
- break;
- case "article_votes":
- return $this->Get("CachedVotesQty");
- break;
- case "article_pick":
- if ($this->Is("EditorsPick"))
- return "pick";
- break;
-
- case "article_new":
- if($this->IsNewItem())
- return "new";
- break;
- case "article_pop":
- if($this->IsPopItem())
- return "pop";
- break;
- case "article_hot":
- if($this->IsHotItem())
- return "new";
- break;
-
- case "article_admin_icon":
- return $this->StatusIcon();
- break;
-
- case "article_email_action":
- $var_list_update["t"] = "window_close";
- $n_var_list_update["id"] = $this->Get("NewsId");
- $ret = HREF_Wrapper();
- unset($var_list_update["t"],$n_var_list_update["id"]);
- return $ret;
- break;
- case "article_group_icon":
- return $this->GetGroupIcon();
- break;
- case "article_resourceid":
- return $this->Get("ResourceId");
- break;
- case "article_rating_txt":
- return RatingText($this->Get("CachedRating"));
- break;
- default:
- return "Undefined:$tagname";
- break;
- }
- }
-
- function Update($UpdatedBy=NULL,$modificationDate = null)
- {
- DeleteModuleTagCache('innews');
- return parent::Update($UpdatedBy, $modificationDate);
- }
-
- function Delete ()
- {
- DeleteModuleTagCache('innews');
- return parent::Delete();
- }
-
- function Create ()
- {
- DeleteModuleTagCache('innews');
- return parent::Create();
- }
-} /*clsNews*/
-
-class _clsNewsList extends clsCatItemList
-{
- function _clsNewsList()
- {
- $this->clsCatItemList();
- $this->Prefix = 'n';
- $this->classname="clsNews";
-
- $this->SetTable('live', GetTablePrefix().'News');
- $this->AdminSearchFields = array("Title","Excerpt","Body","Author");
- $this->BasePermission="NEWS";
-
- $this->Page = 1;
- $this->PerPageVar = "Perpage_News";
- $this->PageEnvar = "n_var_list_update";
- $this->PageEnvarIndex = 'p';
-
- $this->PerPageVarLong = "Perpage_News";
- $this->PerPageShortVar = "Perpage_News_Short";
- $this->AddSortField("News_SortField","News_SortOrder");
- $this->AddSortField("News_SortField2","News_SortOrder2");
- $this->ItemType = TYPE_NEWS;
- }
-
- function GetCountSQL($PermName,$CatId=NULL, $GroupId=NULL, $AdditonalWhere="")
- {
- $sql = parent::GetCountSQL($PermName,$CatId,$GroupId,$AdditonalWhere);
-
- if (!IsAdmin())
- {
- $sql .= ' AND ('.$this->SourceTable.'.Archived = 0)';
- }
-
- return $sql;
- }
-
- function SaveNewPage()
- {
- global $n_var_list;
- $n_var_list["p"] = $this->Page;
- }
-
- function GetCurrentArticle()
- {
- global $objCatList, $n_var_list;
-
- if(!$this->CurrentItem)
- {
- $id = $n_var_list["id"];
- if($id)
- {
- $this->SetCurrentItem($id);
- }
- else
- {
- $CurrentCat = $objCatList->CurrentCategoryID();
- $sql = "SELECT NewsId FROM ".$this->tablename." WHERE LeadCatStory=1 AND CategoryId=" . $CurrentCat;
- $result = $this->adodbConnection->Execute($sql);
- if ($result && !$result->EOF)
- {
- $this->SetCurrentItem($result->fields["NewsId"]);
- }
- }
- }
- return $this->GetCurrentItem();
- }
-
- function SetCurrentItem()
- {
- global $n_var_list;
- parent::SetCurrentItem($n_var_list["id"]);
- }
-
- function CurrentArticleID()
- {
- global $n_var_list;
-
- return (int)$n_var_list["id"];
- }
-
- function LoadArticles($whereClause, $orderBy, $JoinCats=TRUE,$SkipCount=FALSE,$fix_method='set_first')
- {
- global $objConfig;
-
- $this->Clear();
-
- if(!$SkipCount)
- $this->QueryItemCount=TableCount($this->SourceTable,$whereClause,$JoinCats);
-
- return $this->Query_List($whereClause, $orderBy,$JoinCats,$fix_method);
- }
-
- function CountPending()
- {
- return TableCount($this->SourceTable,"Status=".STATUS_PENDING,0);
- }
-
- function GetAdminPageLinkList($url)
- {
- global $objConfig, $n_var_list_update, $var_list_update, $var_list;
-
- if(strlen($this->PerPageVar)==0)
- $this->PerPageVar = "Perpage_News";
-
- $PerPage = $objConfig->Get($this->PerPageVar);
- if($PerPage<1)
- $PerPage=20;
-
- $NumPages = ceil($this->GetNumPages($PerPage));
-
- //echo $this->CurrentPage." of ".$NumPages." Pages";
-
- $o = "";
- if($this->Page>$NumPages)
- $this->Page=$NumPages;
-
- $StartPage = $this->Page - 5;
- if($StartPage<1)
- $StartPage=1;
- $EndPage = $StartPage+9;
- if($EndPage>$NumPages)
- {
- $EndPage = $NumPages;
- $StartPage = $EndPage-9;
- if($StartPage<1)
- $StartPage=1;
- }
-
- $o = "";
-
- if($StartPage>1)
- {
- $n_var_list_update["p"] = $this->Page-10;
- $prev_url = $url."?env=".BuildEnv();
- $o .= "<A HREF=\"$prev_url\">&lt;&lt;</A>";
- }
-
-
- for($p=$StartPage;$p<=$EndPage;$p++)
- {
- if($p!=$this->Page)
- {
- $n_var_list_update["p"]=$p;
- $href = $url."?env=".BuildEnv();
- $o .= " <A HREF=\"$href\" class=\"NAV_URL\">$p</A> ";
- }
- else
- {
- $o .= "<SPAN class=\"CURRENT_PAGE\">$p</SPAN>";
- }
- }
- if($EndPage<$NumPages)
- {
- $n_var_list_update["p"]=$this->Page+10;
- $next_url = $url."?env=".BuildEnv();
- $o .= "<A HREF=\"$next_url\"> &gt;&gt;</A>";
- }
- unset($n_var_list_update["p"]);
- return $o;
- }
-
- function &Add_News($CategoryId, $Title, $Excerpt, $Author, $Body, $CreatedOn, $EndOn, $StartDate,
- $Status, $EditorsPick, $New=2, $Pop=2, $Hot=2, $Rating=0, $Votes=0, $Hits=0, $LeadStory=0,
- $LeadCatStory=0,$Priority=0,$CreatedBy="",$Format=0, $auto_filename = 1, $filename = '')
- {
- global $objSession;
-
- if($CreatedBy == '') $CreatedBy = $objSession->Get("PortalUserId");
-
- $n = new clsNews(NULL);
- $filename = $n->StripDisallowed($filename);
-
- $n->tablename = $this->SourceTable;
- $n->Set(array("Title", "Excerpt", "Author", "Body", "CreatedOn", "EndOn", "StartDate",
- "Status", "EditorsPick", "NewItem","PopItem","HotItem","CachedRating","CachedVotesQty","Hits",
- "LeadStory", "LeadCatStory","Priority","CreatedById","TextFormat", 'AutomaticFilename', 'Filename'),
- array($Title, $Excerpt, $Author, $Body, $CreatedOn, $EndOn, $StartDate,
- $Status, $EditorsPick, $New, $Pop, $Hot, $Rating, $Votes, $Hits,
- $LeadStory, $LeadCatStory,$Priority,$CreatedBy,$Format, $auto_filename, $filename) );
- $n->Create();
- $ci_table = $objSession->GetEditTable( GetTablePrefix().'CategoryItems' );
- $n->AddToCategory($CategoryId, $ci_table, 1);
-
- $n->SendUserEventMail("ARTICLE.ADD",$CreatedBy);
- $n->SendAdminEventMail("ARTICLE.ADD");
- return $n;
- }
-
- function &Edit_News($NewsId, $Title, $Excerpt, $Author, $Body, $CreatedOn, $EndOn, $StartDate,
- $Status, $EditorsPick, $New, $Pop, $Hot, $Rating, $Votes, $Hits,$CreatedBy,$LeadStory=0,
- $LeadCatStory=0, $Priority=0, $Format=0, $auto_filename = 1, $filename = '')
- {
- global $objSession;
-
- $n = $this->GetItem($NewsId);
- $filename = $n->StripDisallowed($filename);
-
- $n->Set(array("Title", "Excerpt", "Author", "Body", "CreatedOn", "EndOn", "StartDate",
- "Status", "EditorsPick", "NewItem","PopItem","HotItem","CachedRating","CachedVotesQty",
- "Hits", "LeadStory", "LeadCatStory", "Priority","CreatedById","TextFormat",
- 'AutomaticFilename', 'Filename'),
- array($Title, $Excerpt, $Author, $Body, $CreatedOn, $EndOn, $StartDate,
- $Status, $EditorsPick, $New, $Pop, $Hot, $Rating, $Votes, $Hits,
- $LeadStory, $LeadCatStory, $Priority,$CreatedBy,$Format, $auto_filename, $filename) );
- $n->Update();
- $n->SendUserEventMail("ARTICLE.MODIFY",$objSession->Get("PortalUserId"));
- $n->SendAdminEventMail("ARTICLE.MODIFY");
- return $n;
- }
-
- function GetJoinedSQL($PermName, $CatId=NULL, $AdditionalWhere="", $LoadOnlyPrimary = true)
- {
- $sql = parent::GetJoinedSQL($PermName,$CatId,$AdditionalWhere, $LoadOnlyPrimary);
- $today = adodb_date("U");
- $t = $this->SourceTable;
- $where ="(($t.StartDate<$today OR $t.StartDate=0) AND ($t.EndOn>$today OR $t.EndOn=0 OR $t.EndOn IS NULL))";
- $sql .= " AND ".$where;
- return $sql;
-
-// echo $sql;
- }
-
- function LoadListCategory($attribs=array())
- {
- global $objCatList, $objSession, $objConfig, $content_set;
-
- $t = $this->SourceTable;
- $ml_formatter =& $this->Application->recallObject('kMultiLanguage');
- $sql = "SELECT ".$this->SourceTable.".*, ".$ml_formatter->LangFieldName('CachedNavbar')." AS CachedNavbar,".GetTablePrefix()."Category.CategoryId as CategoryId FROM ".$this->SourceTable." ";
-
- $this->Clear();
- $catid=$attribs["_catid"];
- if(!is_numeric($catid))
- $catid = (int)$objCatList->CurrentCategoryID();
-
- $where = $t.".Status=1 ";
- if(strlen($attribs["_catlead"]))
- {
- switch($attribs["_catlead"])
- {
- case "exclusive":
- $where .= " AND $t.LeadCatStory=1";
- $orderby = " $t.CreatedOn DESC ";
- break;
- case "inclusive":
- $orderby = " $t.CreatedOn DESC ";
- break;
- case "primary":
- $orderby = " $t.LeadCatStory DESC";
- break;
- }
- }
- else
- {
- $orderby = "$t.CreatedOn DESC ";
- }
- if((int)$attribs["_archived"])
- {
- $where .= " AND $t.archived=1";
- }
- else
- $where .= " AND $t.archived=0";
-
- $sql .= $this->GetJoinedSQL("NEWS.VIEW",$catid,$where, false);
- if(!strlen($orderby))
- {
- $orderby = $this->QueryOrderByClause(TRUE,TRUE,TRUE);
- $sql .= " ".$orderby;
- }
- else {
- $tmp_orderby = $this->QueryOrderByClause(TRUE,TRUE,TRUE);
- if (strlen($tmp_orderby)) {
- $sql .= $tmp_orderby;
- }
- else {
- $sql .= " ORDER BY ".$orderby;
- }
- }
- //echo $sql."<br><br>";
- $this->QueryItemCount = QueryCount($sql);
- $this->Query_Item($sql);
- }
-
- function LoadLeadStories($attribs=array())
- {
- global $objItemTypes,$objPermissions, $objSession, $objConfig;
-
- $acl = $objSession->GetACLClause();
- $this->Clear();
- $ntable = $this->SourceTable;
- $catitems = GetTablePrefix()."CategoryItems";
- $cattable = GetTablePrefix()."Category";
- $ptable = GetTablePrefix()."PermCache";
-
- $ml_formatter =& $this->Application->recallObject('kMultiLanguage');
- $sql = "SELECT $ntable.*,$cattable.CategoryId,$cattable.".$ml_formatter->LangFieldName('CachedNavbar')." AS CachedNavbar FROM $ntable ";
- $sql .= $this->GetJoinedSQL("NEWS.VIEW",NULL,"LeadStory=1 AND Archived=0 AND ".$this->SourceTable.".Status=1");
- $sql .= "ORDER BY EditorsPick DESC, Priority DESC";
- if(strlen(trim($objConfig->Get("News_SortField"))))
- {
- $OrderBy = trim($objConfig->Get("News_SortField")." ".$objConfig->Get("News_SortOrder"));
- $sql .= ", ".$OrderBy;
- }
- if($objSession->HasSystemPermission("DEBUG.LIST"))
- echo htmlentities($sql,ENT_NOQUOTES)."<br>\n";
-
- if (is_numeric($attribs["_maxcount"]) && (int)$attribs["_maxcount"]>0)
- $ret = $this->Query_Item($sql, "LIMIT ".$attribs["_maxcount"]);
- else
- $ret = $this->Query_Item($sql);
-
- return $ret;
- }
-
- function GetNewValue($CategoryId=NULL)
- {
- global $NewValues,$objConfig, $objSystemCache;
-
- if(is_numeric($NewValues["news"]))
- {
- return $NewValues["news"];
- }
- else
- {
- $CachedValue = $objSystemCache->GetValue("NewsNewValue","innews","");
- if(strlen($CachedValue))
- {
- $NewValues["news"] = $CachedValue;
- return $CachedValue;
- }
-
- $ado = &GetADODBConnection();
- if ($CategoryId)
- {
- $days = (int)$objConfig->Get("News_CatNewDays");
- $cutoffdate = adodb_mktime(0,0,0,adodb_date("m"),adodb_date("d")-$days,adodb_date("Y"));
- $sql = "SELECT CreatedOn FROM ".GetTablePrefix()."News INNER JOIN ".GetTablePrefix()."CategoryItems AS cat ON (".GetTablePrefix()."News.ResourceId = cat.ItemResourceId) WHERE cat.CategoryId=$CategoryId AND CreatedOn>=$cutoffdate ORDER BY CreatedOn DESC ";
- }
- else
- {
- $days = (int)$objConfig->Get("News_CatNewDays");
- $cutoffdate = adodb_mktime(0,0,0,adodb_date("m"),adodb_date("d")-$days,adodb_date("Y"));
- $sql = "SELECT CreatedOn FROM ".GetTablePrefix()."News WHERE CreatedOn>=$cutoffdate ORDER BY CreatedOn DESC ";
- }
- $rs = $ado->Execute($sql);
-
- $NewValues["news"] = adodb_mktime(0,0,0,adodb_date("m"),adodb_date("d")-$days,adodb_date("Y"));
-
- while($rs && !$rs->EOF)
- {
- $NewValues["news"] = $rs->fields["CreatedOn"];
- $rs->MoveNext();
- }
- return $NewValues["news"];
- }
- }
-
- function GetPopValue()
- {
- global $PopValues, $objConfig, $objSystemCache;
-
- if(is_numeric($PopValues['news']))
- {
- return $PopValues['news'];
- }
- else
- {
- $PopValues['news'] = $objConfig->Get('News_MinPopRating');
- /*$CachedValue = $objSystemCache->GetValue("NewsPopValue","innews","");
- if(strlen($CachedValue))
- {
- $PopValues["news"] = $CachedValue;
- return $CachedValue;
- }
- $ado = &GetADODBConnection();
- $sql = "SELECT CachedRating FROM ".GetTablePrefix()."News WHERE CachedVotesQty > ".(int)$objConfig->Get("News_MinPopVotes")." ORDER BY CachedRating DESC,CachedVotesQty DESC LIMIT 0,".(int)$objConfig->Get("News_MaxHotNumber");
- $rs = $ado->Execute($sql);
- $PopValues["news"] = 0;
- while($rs && !$rs->EOF)
- {
- //echo $rs->fields["CachedRating"]."<br>";
- $PopValues["news"] = $rs->fields["CachedRating"];
- $rs->MoveNext();
- }*/
- $objSystemCache->EditCacheItem('NewsPopValue',$PopValues['news'],'innews',adodb_mktime()+3600,'');
- return $PopValues['news'];
- }
- }
-
- function GetHotValue()
- {
- global $objConfig;
-
- static $cached_value = null;
-
- if (!isset($cached_value)) {
- $ado =& GetADODBConnection();
- $sql = 'SELECT Hits
- FROM '.GetTablePrefix().'News
- ORDER BY Hits DESC LIMIT 0,'.$objConfig->Get('News_MaxHotNumber');
- $rs = $ado->Execute($sql);
-
- $cached_value = 0;
- while ($rs && !$rs->EOF) {
- if ($rs->fields['Hits'] > 0) {
- $cached_value = $rs->fields['Hits'];
- }
- $rs->MoveNext();
- }
- }
-
- return $cached_value;
- }
-}
-
-function News_Custom($ResourceId, $tag)
-{
- $adodbConnection = &GetADODBConnection();
-
- $fieldname= substr($tag, 7);
-
- $sql = "SELECT Value FROM ".GetTablePrefix()."CustomMetaData LEFT JOIN ".GetTablePrefix()."CustomField USING (CustomFieldId) where ".GetTablePrefix()."CustomMetaData.ResourceId=$ResourceId AND ".GetTablePrefix()."CustomField.FieldName='$fieldname'";
-
- $result = $adodbConnection->Execute($sql);
-
- if ($result->EOF)
- return "";
- else
- return $result->fields[0];
-
-}
-
-
-
-?>
Property changes on: trunk/in-news/news.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.36
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/units/articles/articles_tag_processor.php
===================================================================
--- trunk/in-news/units/articles/articles_tag_processor.php (revision 12830)
+++ trunk/in-news/units/articles/articles_tag_processor.php (nonexistent)
@@ -1,21 +0,0 @@
-<?php
-
- class ArticlesTagProcessor extends kCatDBTagProcessor {
-
- function ListRelatedArticles($params)
- {
- return $this->PrintList2($params);
- }
-
- function ListArticles($params)
- {
- return $this->PrintList2($params);
- }
-
- function ArticleLink($params)
- {
- return $this->ItemLink($params, 'article');
- }
- }
-
-?>
\ No newline at end of file
Property changes on: trunk/in-news/units/articles/articles_tag_processor.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/units/articles/articles_config.php
===================================================================
--- trunk/in-news/units/articles/articles_config.php (revision 12830)
+++ trunk/in-news/units/articles/articles_config.php (nonexistent)
@@ -1,351 +0,0 @@
-<?php
-
-$config = Array(
- 'Prefix' => 'n',
-
- 'ItemClass' => Array('class' => 'kCatDBItem', 'file' => '', 'build_event' => 'OnItemBuild'),
- 'ListClass' => Array('class' => 'kCatDBList', 'file' => '', 'build_event' => 'OnListBuild'),
- 'EventHandlerClass' => Array('class' => 'ArticlesEventHandler', 'file' => 'articles_event_handler.php', 'require_classes' => Array('kCatDBEventHandler'), 'build_event' => 'OnBuild'),
- 'TagProcessorClass' => Array('class' => 'ArticlesTagProcessor', 'file' => 'articles_tag_processor.php', 'require_classes' => Array('kCatDBTagProcessor'), 'build_event' => 'OnBuild'),
- 'AutoLoad' => true,
-
- 'ConfigPriority' => 0,
- 'Hooks' => Array (
- Array (
- 'Mode' => hAFTER,
- 'Conditional' => false,
- 'HookToPrefix' => 'c',
- 'HookToSpecial' => '*',
- 'HookToEvent' => Array('OnAfterConfigRead'),
- 'DoPrefix' => '',
- 'DoSpecial' => '',
- 'DoEvent' => 'OnUpdateCategoryCustomFields',
- ),
-
- Array (
- 'Mode' => hBEFORE,
- 'Conditional' => false,
- 'HookToPrefix' => '',
- 'HookToSpecial' => '*',
- 'HookToEvent' => Array('OnAfterConfigRead'),
- 'DoPrefix' => 'cdata',
- 'DoSpecial' => '*',
- 'DoEvent' => 'OnDefineCustomFields',
- ),
- ),
-
- 'CatalogItem' => true,
- 'AdminTemplatePath' => 'articles',
- 'AdminTemplatePrefix' => 'articles_',
- 'SearchConfigPostfix' => 'articles',
-
- 'QueryString' => Array(
- 1 => 'id',
- 2 => 'Page',
- 3 => 'Reviews_Page',
- 4 => 'event',
- 5 => 'mode',
- ),
-
- 'RegularEvents' => Array(
- 'rss_category_update' => Array('EventName' => 'OnUpdateRSSAtricles', 'RunInterval' => 0, 'Type' => reBEFORE),
- ),
-
- 'IDField' => 'NewsId',
- 'StatusField' => Array('Status'), // field, that is affected by Approve/Decline events
-
- 'TitleField' => 'Title', // field, used in bluebar when editing existing item
- 'TitlePhrase' => 'la_Text_Article', // phrase used to specify item type in relationship list
-
- 'TitlePresets' => Array(
- 'default' => Array( 'new_status_labels' => Array('n' => '!la_title_AddingArticle!'),
- 'edit_status_labels' => Array('n' => '!la_title_EditingArticle!'),
- 'new_titlefield' => Array('n' => '!la_title_NewArticle!'),
- ),
-
- 'articles_edit' => Array('prefixes' => Array('n'), 'format' => "#n_status# '#n_titlefield#' - !la_title_General!"),
-
- 'articles_categories'=>Array('prefixes' => Array('n','n-ci_List'), 'format' => "#n_status# '#n_titlefield#' - !la_title_Categories!"),
- 'articles_relations'=> Array('prefixes' => Array('n'), 'format' => "#n_status# '#n_titlefield#' - !la_title_Relations!"),
- 'articles_images' => Array('prefixes' => Array('n'), 'format' => "#n_status# '#n_titlefield#' - !la_title_Images!"),
- 'articles_reviews' => Array('prefixes' => Array('n'), 'format' => "#n_status# '#n_titlefield#' - !la_title_Reviews!"),
- 'articles_custom' => Array('prefixes' => Array('n'), 'format' => "#n_status# '#n_titlefield#' - !la_title_Custom!"),
-
- 'images_edit' => Array( 'prefixes' => Array('n', 'n-img'),
- 'new_status_labels' => Array('n-img'=>'!la_title_Adding_Image!'),
- 'edit_status_labels' => Array('n-img'=>'!la_title_Editing_Image!'),
- 'new_titlefield' => Array('n-img'=>'!la_title_New_Image!'),
- 'format' => "#n_status# '#n_titlefield#' - #n-img_status# '#n-img_titlefield#'",
- ),
-
- 'reviews_edit' => Array( 'prefixes' => Array('n', 'n-rev'),
- 'new_status_labels' => Array('n-rev'=>"!la_title_Adding_Review! '!la_title_New_Review!'"),
- 'edit_status_labels' => Array('n-rev'=>'!la_title_Editing_Review!'),
- 'format' => "#n_status# '#n_titlefield#' - #n-rev_status#",
- ),
-
- 'relations_edit' => Array( 'prefixes' => Array('n', 'n-rel'),
- 'new_status_labels' => Array('n-rel'=>"!la_title_Adding_Relationship! '!la_title_New_Relationship!'"),
- 'edit_status_labels' => Array('n-rel'=>'!la_title_Editing_Relationship!'),
- 'format' => "#n_status# '#n_titlefield#' - #n-rel_status#",
- ),
-
- 'tree_in-news' => Array('format' => '!la_Text_Version! '.$this->Application->findModule('Name', 'In-News', 'Version')),
- ),
-
- 'PermItemPrefix' => 'NEWS',
-
- 'PermTabText' => 'In-News',
- 'PermSection' => Array('main' => 'CATEGORY:in-news:articles_list', 'search' => 'in-news:configuration_search', 'email' => 'in-news:configuration_email', 'custom' => 'in-news:configuration_custom'),
-
- 'Sections' => Array(
- 'in-news' => Array(
- 'parent' => 'in-portal:root',
- 'icon' => 'settings_in-newz',
- 'label' => 'la_title_In-News',
- 'url' => Array('t' => 'sections_list', 'pass_section' => true, 'pass' => 'm'),
- 'permissions' => Array('view'),
- 'priority' => 3.2,
- 'type' => stTREE,
- ),
-
- 'in-news:innews_general' => Array(
- 'parent' => 'in-news',
- 'icon' => 'settings_general',
- 'label' => 'la_tab_GeneralSettings',
- 'url' => Array('t' => 'config/config_general', 'pass_section' => true, 'pass' => 'm'),
- 'permissions' => Array('view', 'edit'),
- 'priority' => 1,
- 'type' => stTREE,
- ),
-
- 'in-news:configuration_output' => Array(
- 'parent' => 'in-news',
- 'icon' => 'settings_output',
- 'label' => 'la_tab_ConfigOutput',
- 'url' => Array('t' => 'config/config_universal', 'pass_section' => true, 'pass' => 'm'),
- 'permissions' => Array('view', 'edit'),
- 'priority' => 2,
- 'type' => stTREE,
- ),
-
- 'in-news:configuration_search' => Array(
- 'parent' => 'in-news',
- 'icon' => 'settings_search',
- 'label' => 'la_tab_ConfigSearch',
- 'url' => Array('t' => 'config/config_search', 'module_key' => 'articles', 'pass_section' => true, 'pass' => 'm'),
- 'permissions' => Array('view', 'edit'),
- 'priority' => 3,
- 'type' => stTREE,
- ),
-
- 'in-news:configuration_email' => Array(
- 'parent' => 'in-news',
- 'icon' => 'settings_email',
- 'label' => 'la_tab_ConfigE-mail',
- 'url' => Array('t' => 'config/config_email', 'pass_section' => true, 'pass' => 'm'),
- 'permissions' => Array('view', 'edit'),
- 'priority' => 4,
- 'type' => stTREE,
- ),
-
- 'in-news:configuration_custom' => Array(
- 'parent' => 'in-news',
- 'icon' => 'settings_custom',
- 'label' => 'la_tab_ConfigCustom',
- 'url' => Array('t' => 'custom_fields/custom_fields_list', 'cf_type' => 2, 'pass_section' => true, 'pass' => 'm,cf'),
- 'permissions' => Array('view', 'add', 'edit', 'delete'),
- 'priority' => 5,
- 'type' => stTREE,
- ),
-
- ),
-
- 'FilterMenu' => Array(
- 'Groups' => Array(
- Array('mode' => 'AND', 'filters' => Array('show_active','show_pending','show_disabled'), 'type' => WHERE_FILTER),
- Array('mode' => 'AND', 'filters' => Array('show_new'), 'type' => HAVING_FILTER),
- Array('mode' => 'AND', 'filters' => Array('show_hot'), 'type' => HAVING_FILTER),
- Array('mode' => 'AND', 'filters' => Array('show_pop'), 'type' => HAVING_FILTER),
- Array('mode' => 'AND', 'filters' => Array('show_pick'), 'type' => WHERE_FILTER),
- ),
- 'Filters' => Array(
- 'show_active' => Array('label' =>'la_Active', 'on_sql' => '', 'off_sql' => '%1$s.Status != 1' ),
- 'show_pending' => Array('label' => 'la_Pending', 'on_sql' => '', 'off_sql' => '%1$s.Status != 2' ),
- 'show_disabled' => Array('label' => 'la_Disabled', 'on_sql' => '', 'off_sql' => '%1$s.Status != 0' ),
- 's1' => Array(),
- 'show_new' => Array('label' => 'la_Text_New', 'on_sql' => '', 'off_sql' => '`IsNew` != 1' ),
- 'show_hot' => Array('label' => 'la_Text_Hot', 'on_sql' => '', 'off_sql' => '`IsHot` != 1' ),
- 'show_pop' => Array('label' => 'la_Text_Pop', 'on_sql' => '', 'off_sql' => '`IsPop` != 1' ),
- 'show_pick' => Array('label' => 'la_prompt_EditorsPick', 'on_sql' => '', 'off_sql' => '%1$s.`EditorsPick` != 1' ),
- )
- ),
-
- 'CatalogSelectorName' => 'newslist',
-
- 'ItemPropertyMappings' => Array(
- 'NewDays' => 'News_CatNewDays', // number of days item to be NEW
- 'MinPopVotes' => 'News_MinPopVotes', // minimum number of votes for an item to be POP
- 'MinPopRating' => 'News_MinPopRating',// minimum rating for an item to be POP
- 'MaxHotNumber' => 'News_MaxHotNumber',// maximum number of HOT items
-
- 'HotLimit' => 'News_HotLimit', // variable name in inp_Cache table
- 'ClickField' => 'Hits', // item click count is stored here (in item table)
- ),
-
- 'ItemType' => 2, // this is used when relation to product is added from in-portal and via-versa
-
- 'ViewMenuPhrase' => 'la_title_Articles',
- 'UsePendingEditing' => true, // item editing is controlled by NEWS.ADD/EDIT, NEWS.ADD/EDIT.PENDING permissions
-
- 'StatisticsInfo' => Array(
- 'pending' => Array(
- 'icon' => 'icon16_article_pending.gif',
- 'label' => 'la_Text_Articles',
- 'js_url' => '#url#',
- 'url' => Array('t' => 'in-portal/advanced_view', 'SetTab' => 'n', 'pass' => 'm,n.showall', 'n.showall_event' => 'OnSetFilterPattern', 'n.showall_filters' => 'show_active=0,show_pending=1,show_disabled=0,show_new=1,show_hot=1,show_pop=1,show_pick=1'),
- 'status' => STATUS_PENDING,
- ),
- ),
-
- 'TableName' => TABLE_PREFIX.'News',
-
- 'CalculatedFields' => Array(
- '' => Array (
- 'UserName' => 'IF (ISNULL(u.Login), IF (%1$s.CreatedById = -1, "root", IF (%1$s.CreatedById = -2, "Guest", "n/a")), u.Login)',
- 'CategoryId' => TABLE_PREFIX.'%3$sCategoryItems.CategoryId',
- 'Filename' => TABLE_PREFIX.'%3$sCategoryItems.Filename',
- 'CategoryFilename' => TABLE_PREFIX.'Category.NamedParentPath',
- 'PrimaryCat' => TABLE_PREFIX.'%3$sCategoryItems.PrimaryCat',
- 'ParentPath' => TABLE_PREFIX.'Category.ParentPath',
-
- 'SameImages' => 'img.SameImages',
- 'LocalThumb' => 'img.LocalThumb',
- 'ThumbPath' => 'img.ThumbPath',
- 'ThumbUrl' => 'img.ThumbUrl',
- 'LocalImage' => 'img.LocalImage',
- 'LocalPath' => 'img.LocalPath',
- 'FullUrl' => 'img.Url',
- ),
- ),
-
- 'CacheModRewrite' => true,
-
- 'ListSQLs' => Array( ''=>' SELECT %1$s.* %2$s
- FROM %1$s
- LEFT JOIN '.TABLE_PREFIX.'%3$sCategoryItems ON '.TABLE_PREFIX.'%3$sCategoryItems.ItemResourceId = %1$s.ResourceId
- LEFT JOIN '.TABLE_PREFIX.'Category ON '.TABLE_PREFIX.'Category.CategoryId = '.TABLE_PREFIX.'%3$sCategoryItems.CategoryId
- LEFT JOIN '.TABLE_PREFIX.'Images img ON img.ResourceId = %1$s.ResourceId AND img.DefaultImg = 1
- LEFT JOIN '.TABLE_PREFIX.'PermCache perm ON perm.CategoryId = '.TABLE_PREFIX.'%3$sCategoryItems.CategoryId
- LEFT JOIN '.TABLE_PREFIX.'PortalUser u ON %1$s.CreatedById = u.PortalUserId
- LEFT JOIN '.TABLE_PREFIX.'%3$sNewsCustomData cust ON %1$s.ResourceId = cust.ResourceId',
- ), // key - special, value - list select sql
-
- 'ListSortings' => Array(
- '' => Array(
- 'ForcedSorting' => Array('EditorsPick' => 'desc', 'Priority' => 'desc'),
- 'Sorting' => Array('Title' => 'asc'),
- )
- ),
- 'ItemSQLs' => Array( ''=>' SELECT %1$s.* %2$s
- FROM %1$s
- LEFT JOIN '.TABLE_PREFIX.'%3$sCategoryItems ON '.TABLE_PREFIX.'%3$sCategoryItems.ItemResourceId = %1$s.ResourceId
- LEFT JOIN '.TABLE_PREFIX.'Category ON '.TABLE_PREFIX.'Category.CategoryId = '.TABLE_PREFIX.'%3$sCategoryItems.CategoryId
- LEFT JOIN '.TABLE_PREFIX.'Images img ON img.ResourceId = %1$s.ResourceId AND img.DefaultImg = 1
- LEFT JOIN '.TABLE_PREFIX.'PortalUser u ON %1$s.CreatedById = u.PortalUserId
- LEFT JOIN '.TABLE_PREFIX.'%3$sNewsCustomData cust ON %1$s.ResourceId = cust.ResourceId'),
-
- 'SubItems' => Array('n-rev', 'n-ci', 'n-rel', 'n-img', 'n-cdata', 'n-fav'),
-
- 'Fields' => Array (
- 'NewsId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0,),
- 'Title' => Array('type' => 'string', 'not_null' => 1, 'required' => 1, 'default' => ''),
- 'AutomaticFilename' => Array('type' => 'int', 'not_null' => 1, 'default' => 1),
- 'Excerpt' => Array('type' => 'string', 'not_null' => 1, 'default' => ''),
- 'Author' => Array('type' => 'string', 'not_null' => 1, 'default' => ''),
- 'Body' => Array('type' => 'string', 'not_null' => 1, 'required' => 1, 'default' => ''),
- 'CreatedOn' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'required' => 1, 'not_null' => 1,'default' => '#NOW#'),
- 'TextFormat' => Array('type' => 'int', 'not_null' => 1, 'default' => 0),
- 'EndOn' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => null),
- 'Hits' => Array('type' => 'double', 'formatter' => 'kFormatter', 'format' => '%d', 'not_null' => 1, 'default' => 0),
- 'CachedRating' => Array('type' => 'string', 'default' => 0),
- 'CachedVotesQty' => Array('type' => 'int','not_null' => 1,'default' => 0),
- 'CreatedById' => Array('type' => 'int', 'formatter' => 'kLEFTFormatter', 'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), 'options' => Array(-1 => 'root', -2 => 'Guest'),'left_sql'=>'SELECT %s FROM '.TABLE_PREFIX.'PortalUser WHERE `%s` = \'%s\'', 'left_key_field' => 'PortalUserId', 'left_title_field' => 'Login', 'not_null' => 1, 'required' => 1, 'default' => -1),
- 'Priority' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0),
- 'Status' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Active', 2 => 'la_Pending', 0 => 'la_Disabled'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2),
- 'EditorsPick' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0),
- 'LeadStory' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0),
- 'LeadCatStory' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0),
- 'ResourceId' => Array('type' => 'int', 'default' => null),
- 'CachedReviewsQty' => Array('type' => 'int', 'not_null' => 1, 'default' => 0),
- 'StartDate' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'required' => 1, 'not_null' => 1, 'default' => '#NOW#'),
- 'NewItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1,'default' => 2),
- 'PopItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1,'default' => 2),
- 'HotItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1,'default' => 2),
- 'Archived' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'la_Yes', 2 => 'la_No'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0),
- 'Modified' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'not_null' => 1,'default' => '#NOW#'),
- 'ModifiedById' => Array('type' => 'int', 'formatter' => 'kLEFTFormatter', 'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), 'options' => Array(-1 => 'root', -2 => 'Guest'),'left_sql'=>'SELECT %s FROM '.TABLE_PREFIX.'PortalUser WHERE `%s` = \'%s\'', 'left_key_field' => 'PortalUserId', 'left_title_field' => 'Login', 'not_null' => 1,'default' => -1),
- 'OrgId' => Array('type' => 'int', 'default' => null),
- ),
-
- 'VirtualFields' => Array (
- 'UserName' => Array('type' => 'string', 'default' => ''),
- 'CategoryId' => Array('type' => 'int', 'default' => 0),
- 'cust_RssOriginalURL' => Array('type' => 'string', 'default' => ''),
- 'cust_RssArticleCRC' => Array('type' => 'int', 'default' => 0),
- 'Filename' => Array('type' => 'string', 'not_null' => 1, 'default' => ''),
- 'CachedNavbar' => Array('type' => 'string', 'default' => ''),
- 'ParentPath' => Array('type' => 'string', 'default' => ''),
-
- // for primary image
- 'SameImages' => Array('type' => 'string', 'default' => ''),
- 'LocalThumb' => Array('type' => 'string', 'default' => ''),
- 'ThumbPath' => Array('type' => 'string', 'default' => ''),
- 'ThumbUrl' => Array('type' => 'string', 'default' => ''),
- 'LocalImage' => Array('type' => 'string', 'default' => ''),
- 'LocalPath' => Array('type' => 'string', 'default' => ''),
- 'FullUrl' => Array('type' => 'string', 'default' => ''),
- ),
-
- 'Grids' => Array(
- 'Default' => Array(
- 'Icons' => Array(1 => 'icon16_article.gif', 2 => 'icon16_article_pending.gif', -2 => 'icon16_article_pending.gif', 0 => 'icon16_article_disabled.gif', 'HOT' => 'icon16_article_hot.gif', 'POP' => 'icon16_article_pop.gif', 'NEW' => 'icon16_article_new.gif', 'PICK' => 'icon16_article_pick.gif'),
- 'Fields' => Array(
- 'NewsId' => Array('title' => 'la_col_Id', 'data_block' => 'grid_checkbox_td'),
- 'Title' => Array('title' => 'la_col_Title', 'data_block' => 'grid_catitem_td'),
-// 'PrimaryCategory' => Array('title' => 'la_col_PrimaryCategory', 'data_block' => 'grid_category_td'),
- 'UserName' => Array('title' => 'la_col_Author'),
- 'LeadStory' => Array('title' => 'la_col_LeadStory'),
- 'LeadCatStory' => Array('title' => 'la_col_LeadCatStory'),
- 'StartDate' => Array('title' => 'la_col_StartDate'),
- 'EndOn' => Array('title' => 'la_col_EndOn', 'data_block' => 'article_expire_td'),
- ),
- ),
-
-
- 'Radio' => Array(
- 'Icons' => Array(1 => 'icon16_article.gif', 2 => 'icon16_article_pending.gif', -2 => 'icon16_article_pending.gif', 0 => 'icon16_article_disabled.gif', 'HOT' => 'icon16_article_hot.gif', 'POP' => 'icon16_article_pop.gif', 'NEW' => 'icon16_article_new.gif', 'PICK' => 'icon16_article_pick.gif'),
- 'Fields' => Array(
- 'NewsId' => Array('title' => 'la_col_Id', 'data_block' => 'grid_radio_td'),
- 'Title' => Array('title' => 'la_col_Title', 'data_block' => 'grid_catitem_td'),
- 'UserName' => Array('title' => 'la_col_Author'),
- 'LeadStory' => Array('title' => 'la_col_LeadStory'),
- 'LeadCatStory' => Array('title' => 'la_col_LeadCatStory'),
- 'StartDate' => Array('title' => 'la_col_StartDate'),
- 'EndOn' => Array('title' => 'la_col_EndOn', 'data_block' => 'article_expire_td'),
- ),
- ),
- ),
-
- 'ConfigMapping' => Array(
- 'PerPage' => 'Perpage_News',
- 'ShortListPerPage' => 'Perpage_News_Short',
- 'DefaultSorting1Field' => 'News_SortField',
- 'DefaultSorting2Field' => 'News_SortField2',
- 'DefaultSorting1Dir' => 'News_SortOrder',
- 'DefaultSorting2Dir' => 'News_SortOrder2',
- ),
- );
-
-
-?>
\ No newline at end of file
Property changes on: trunk/in-news/units/articles/articles_config.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.52
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/units/articles/articles_event_handler.php
===================================================================
--- trunk/in-news/units/articles/articles_event_handler.php (revision 12830)
+++ trunk/in-news/units/articles/articles_event_handler.php (nonexistent)
@@ -1,314 +0,0 @@
-<?php
-
- class ArticlesEventHandler extends kCatDBEventHandler {
-
- /**
- * Filters out archived articles
- *
- * @param kEvent $event
- */
- function SetCustomQuery(&$event)
- {
- parent::SetCustomQuery($event);
-
- $object =& $event->getObject();
-
- if (!$this->Application->IsAdmin()) {
- $where_clause = '(Archived = 0) AND (StartDate < '.adodb_mktime().' OR StartDate = 0) AND (EndOn > '.adodb_mktime().' OR EndOn IS NULL)';
- $object->addFilter('archived_filter', $where_clause);
- }
- }
-
- /**
- * Return type clauses for list bulding on front
- *
- * @param kEvent $event
- * @return Array
- */
- function getTypeClauses(&$event)
- {
- $type_clauses = parent::getTypeClauses($event);
-
- $type_clauses['site_lead']['include']='%1$s.LeadStory = 1 AND '.TABLE_PREFIX.'CategoryItems.PrimaryCat = 1';
- $type_clauses['site_lead']['except']='%1$s.LeadStory <> 1 AND '.TABLE_PREFIX.'CategoryItems.PrimaryCat = 1';
- $type_clauses['site_lead']['having_filter'] = false;
-
- $type_clauses['cat_lead']['include']='%1$s.LeadCatStory = 1 AND '.TABLE_PREFIX.'CategoryItems.PrimaryCat = 1';
- $type_clauses['cat_lead']['except']='%1$s.LeadCatStory <> 1 AND '.TABLE_PREFIX.'CategoryItems.PrimaryCat = 1';
- $type_clauses['cat_lead']['having_filter'] = false;
-
- return $type_clauses;
- }
-
-
- /**
- * [REGULAR EVENT] Deletes expired articles + update existing articles from rss feed with new data (key - article url)
- *
- * @param kEvent $event
- */
- function OnUpdateRSSAtricles(&$event)
- {
- $category_table = $this->Application->getUnitOption('c', 'TableName');
- $custom_table = $this->Application->getUnitOption('c-cdata', 'TableName');
-
- $category_custom_fields = $this->getCustomColumns('c');
- $article_custom_fields = $this->getCustomColumns($event->Prefix);
-
-
- // update categories which sould be updated
- $sql = 'SELECT cd.*, c.CategoryId
- FROM '.$category_table.' c
- LEFT JOIN '.$custom_table.' cd ON c.ResourceId = cd.ResourceId
- WHERE (cd.'.$category_custom_fields['RssLastUpdated'].' +
- cd.'.$category_custom_fields['RssUpdateInterval'].' * cd.'.$category_custom_fields['RssUpdateIntervalType'].' <=
- UNIX_TIMESTAMP()) AND (LENGTH('.$category_custom_fields['RssSource'].') > 0)';
- $categories = $this->Conn->Query($sql, 'CategoryId');
- if ($categories) {
- $resource_ids = Array();
- foreach ($categories as $category_id => $category_data) {
- $resource_ids[] = $category_data['ResourceId'];
- $event->setEventParam('source_url', $category_data[ $category_custom_fields['RssSource'] ]);
- $event->setEventParam('category_id', $category_id);
- $event->setEventParam('custom_fields', $article_custom_fields);
- $event->setEventParam('life_time', $category_data[ $category_custom_fields['RssDefaultExpiration'] ] * $category_data[ $category_custom_fields['RssDefaultExpirationType'] ]);
- $this->parseRSSFeed($event);
- }
-
- $sql = 'UPDATE '.$custom_table.'
- SET '.$category_custom_fields['RssLastUpdated'].' = '.adodb_mktime().'
- WHERE ResourceId IN ('.implode(',', $resource_ids).')';
- $this->Conn->Query($sql);
- }
-
- // delete expired articles from feed categories
- $sql = 'SELECT c.CategoryId, c.ResourceId
- FROM '.$category_table.' c
- LEFT JOIN '.$custom_table.' cd ON c.ResourceId = cd.ResourceId
- WHERE ( cd.'.$category_custom_fields['RssLastExpired'].' +
- cd.'.$category_custom_fields['RssExpireInterval'].' * cd.'.$category_custom_fields['RssExpireIntervalType'].' <=
- UNIX_TIMESTAMP()) AND (cd.'.$category_custom_fields['RssDeleteExpired'].' = 1)';
-
- $categories = $this->Conn->GetCol($sql, 'ResourceId');
-
- $id_field = $this->Application->getUnitOption($event->Prefix, 'IDField');
- $table = $this->Application->getUnitOption($event->Prefix, 'TableName');
- $ci_table = $this->Application->getUnitOption($event->Prefix.'-ci', 'TableName');
-
- if ($categories) {
- $article_custom_table = $this->Application->getUnitOption($event->Prefix.'-cdata', 'TableName');
-
- $sql = 'SELECT main_table.'.$id_field.'
- FROM '.$table.' main_table
- LEFT JOIN '.$ci_table.' ci ON main_table.ResourceId = ci.ItemResourceId
- LEFT JOIN '.$article_custom_table.' cd ON main_table.ResourceId = cd.ResourceId
- WHERE (ci.PrimaryCat = 1) AND
- (ci.CategoryId IN ('.implode(',', $categories).')) AND
- (main_table.EndOn < '.adodb_mktime().' AND main_table.EndOn IS NOT NULL) AND
- (LENGTH(cd.'.$article_custom_fields['RssOriginalURL'].') > 0)';
- $article_ids = $this->Conn->GetCol($sql);
- if ($article_ids) {
- $temp =& $this->Application->recallObject($event->getPrefixSpecial().'_TempHandler', 'kTempTablesHandler');
- $temp->DeleteItems($event->Prefix, $event->Special, $article_ids);
- }
-
- $sql = 'UPDATE '.$custom_table.'
- SET '.$category_custom_fields['RssLastExpired'].' = '.adodb_mktime().'
- WHERE ResourceId IN ('.implode(',', array_keys($categories)).')';
- $this->Conn->Query($sql);
- }
- }
-
- /**
- * Creates new, updates existing articles from feed url specified
- *
- * @param kEvent $event
- */
- function parseRSSFeed(&$event)
- {
- $source_urls = explode(',', $event->getEventParam('source_url'));
- if (count($source_urls) > 1) {
- foreach ($source_urls as $source_url) {
- $event->setEventParam('source_url', $source_url);
- $this->parseRSSFeed($event);
- }
- return true;
- }
-
- $xml_data = curl_post($event->getEventParam('source_url'), '', null, 'GET');
- if (!$xml_data) {
- return false;
- }
-
- // get previously created feed articles in current category
- $id_field = $this->Application->getUnitOption($event->Prefix, 'IDField');
- $table = $this->Application->getUnitOption($event->Prefix, 'TableName');
- $custom_table = $this->Application->getUnitOption($event->Prefix.'-cdata', 'TableName');
-
- $crc_field = $event->getEventParam('custom_fields', 'RssArticleCRC');
-
- $sql = 'SELECT main_table.'.$id_field.', cd.'.$crc_field.'
- FROM '.$table.' main_table
- LEFT JOIN '.$custom_table.' cd ON cd.ResourceId = main_table.ResourceId
- WHERE LENGTH(cd.'.$crc_field.') > 0';
- $articles = $this->Conn->GetCol($sql, $crc_field);
- $object =& $event->getObject(Array('skip_autoload' => true));
-
- $xml_helper =& $this->Application->recallObject('kXMLHelper');
- $root_node =& $xml_helper->Parse($xml_data);
- $root_node =& $root_node->FindChild('channel');
- if(!$root_node) {
- return false;
- }
-
- $category_id = $event->getEventParam('category_id');
- $backup_category_id = $this->Application->GetVar('m_cat_id');
- $this->Application->SetVar('m_cat_id', $category_id);
-
- $current_node = $root_node->firstChild;
-
- do {
- // IMAGE is information about channel and is not useful here
- if ($current_node->Name != 'ITEM') continue;
- // collect item data
- $data = Array();
- $sub_node =& $current_node->firstChild;
- do {
- $data[$sub_node->Name] = $sub_node->Data;
-
- }while ( ($sub_node =& $sub_node->NextSibling()) );
-
- // create/update article
- $article_crc = crc32($data['LINK'].$data['TITLE']);
- $article_id = getArrayValue($articles, $article_crc);
- if ($article_id) {
- $object->Load($article_id);
- }
- else {
- $object->Clear();
- }
-
- $object->SetDBField('Title', $data['TITLE']);
- $object->SetDBField('cust_RssOriginalURL', $data['LINK']);
- $object->SetDBField('cust_RssArticleCRC', $article_crc);
- $object->SetDBField('Body', $data['DESCRIPTION']);
- $expiration_time = adodb_mktime() + $event->getEventParam('life_time');
- $object->SetDBField('EndOn_date', $expiration_time);
- $object->SetDBField('EndOn_time', $expiration_time);
- $object->SetDBField('Status', STATUS_ACTIVE);
- $object->SetDBField('Author', 'root');
- $object->SetDBField('CreatedById', -1);
-
- $status = $object->isLoaded() ? $object->Update() : $object->Create();
- } while (($current_node =& $current_node->NextSibling()));
-
- $this->Application->SetVar('m_cat_id', $backup_category_id);
- }
-
- function getCustomColumns($prefix)
- {
- $ml_formatter =& $this->Application->recallObject('kMultiLanguage');
-
- $custom_fields = array_flip($this->Application->getUnitOption($prefix, 'CustomFields'));
- foreach ($custom_fields as $custom_name => $custom_id) {
- $custom_fields[$custom_name] = $ml_formatter->LangFieldName('cust_'.$custom_id);
- }
-
- return $custom_fields;
- }
-
- /**
- * Create missing excerpt
- *
- * @param kEvent $event
- */
- function OnBeforeItemUpdate(&$event)
- {
- $this->createExcerpt($event);
- $this->cacheItemOwner($event, 'CreatedById', 'Author');
- }
-
- /**
- * Create missing excerpt
- *
- * @param kEvent $event
- */
- function OnBeforeItemCreate(&$event)
- {
- $this->createExcerpt($event);
- $this->cacheItemOwner($event, 'CreatedById', 'Author');
- }
-
- /**
- * Create excerpt if missing
- *
- * @param kEvent $event
- */
- function createExcerpt(&$event)
- {
- $object =& $event->getObject();
- if (!$object->GetDBField('Excerpt') || $this->Application->GetVar('generate_excerpt')) {
- $excerpt = strip_tags( $object->GetDBField('Body') );
-
-
- $length = strlen($excerpt);
- if ($length > 100) {
- $excerpt = substr(strip_tags($excerpt), 0, 100);
- if (substr($excerpt,-1) != ' ') {
- $pos = strrpos($excerpt, ' ');
- if ($pos) {
- $excerpt = substr($excerpt, 0, $pos);
- }
- }
- $excerpt .= '...';
- }
-
- $object->SetDBField('Excerpt', $excerpt);
- }
- }
-
- /**
- * [HOOK] Updates category custom fields options in config
- *
- * @param kEvent $event
- */
- function OnUpdateCategoryCustomFields(&$event)
- {
- $new_virtual_fields = Array(
- 'cust_RssSource' => Array('type' => 'string', 'default' => ''),
- 'cust_RssDefaultExpiration' => Array('type' => 'int', 'not_null' => 1, 'default' => ''),
- 'cust_RssDefaultExpirationType' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'use_phrases' => 1, 'options' => Array(60 => 'la_opt_min', 3600 => 'la_opt_hour', 86400 => 'la_opt_day', 2419200 => 'la_opt_month', 29030400 => 'la_opt_year'), 'default' => 60),
- 'cust_RssExpireInterval' => Array('type' => 'int', 'not_null' => 1, 'default' => ''),
- 'cust_RssExpireIntervalType' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'use_phrases' => 1, 'options' => Array(60 => 'la_opt_min', 3600 => 'la_opt_hour', 86400 => 'la_opt_day', 2419200 => 'la_opt_month'), 'default' => 60),
- 'cust_RssDeleteExpired' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'use_phrases' => 1, 'options' => Array(1 => 'la_Yes', 0 => 'la_No'), 'default' => 0),
- 'cust_RssUpdateInterval' => Array('type' => 'int', 'not_null' => 1, 'default' => ''),
- 'cust_RssUpdateIntervalType' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'use_phrases' => 1, 'options' => Array(60 => 'la_opt_min', 3600 => 'la_opt_hour', 86400 => 'la_opt_day', 2419200 => 'la_opt_month'), 'default' => 60),
- 'cust_RssLastUpdated' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => ''),
- 'cust_RssLastExpired' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => ''),
- );
- $virtual_fields = $this->Application->getUnitOption('c', 'VirtualFields');
- $virtual_fields = array_merge_recursive2($virtual_fields, $new_virtual_fields);
- $this->Application->setUnitOption('c', 'VirtualFields', $virtual_fields);
- }
-
- /**
- * Sets default expiration based on module setting
- *
- * @param kEvent $event
- */
- function OnPreCreate(&$event)
- {
- parent::OnPreCreate($event);
-
- if ($event->status == erSUCCESS) {
- $object =& $event->getObject();
-
- $archive_days = $this->Application->ConfigValue('News_Archive');
- if ($archive_days) {
- $expire_date = adodb_mktime() + $archive_days * 3600 * 24;
- $object->SetDBField('EndOn_date', $expire_date);
- $object->SetDBField('EndOn_time', $expire_date);
- }
- }
- }
- }
-?>
\ No newline at end of file
Property changes on: trunk/in-news/units/articles/articles_event_handler.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.14
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/parser.php
===================================================================
--- trunk/in-news/parser.php (revision 12830)
+++ trunk/in-news/parser.php (nonexistent)
@@ -1,1101 +0,0 @@
-<?php
-
-function n_ParseEnv($str = NULL)
-{
- global $n_var_list, $objConfig, $objArticleList, $objSession;
-
- if(strlen($str))
- {
- if( substr($str,0,2) == 'n-' )
- {
- $str = preg_replace('/^([a-zA-Z]+)-([0-9]+)-(.*)/','\\1\\2-\\3', $str);
- }
-
- $str = substr($str,1);
- $pieces = explode("-", $str);
- $n_var_list["id"] = $pieces[0];
- $n_var_list["p"] = $pieces[1];
- $n_var_list["rp"] = $pieces[2];
- ResetPage('n');
- }
- else
- {
- $n_var_list["rp"] = 0;
- $n_var_list["p"] = 1;
- $n_var_list["id"] = NULL;
- }
-}
-
-function n_LoadEnv()
-{
- global $objSession;
-
- //echo "Loading News Env..<br>\n";
- $str = $objSession->GetVariable("Env_News");
- n_ParseEnv($str);
-}
-
-function n_SaveEnv($str="")
-{
- global $objSession;
-
- $str = $objSession->SetVariable("Env_News",$str);
-}
-
-function n_BuildEnv($dbg=0)
-{
- $module_vars = Array('id','p','rp');
- return GenerateModuleEnv('n', $module_vars);
-}
-
-function n_BuildEnv_NEW($dbg=0)
-{
- $module_vars = Array('id' => 'n_id', 'p' => 'n_Page', 'rp' => 'n_Reviews_Page');
- return GenerateModuleEnv_NEW('n', $module_vars);
-}
-
-/*
- @description: returns the date of the last modification to the news article table
- @attrib: _Part:: part of the date to display
- @attrib: _local:bool: If set, returns the modified date for the current category (and subcats)
- @example: <inp:n_article_modified />
-*/
-function n_article_modified($attribs)
-{
- global $objConfig, $objCatList;
- $ret='';
- $CachedValue = GetTagCache("innews","n_article_modified",$attribs,"");
- if(strlen($CachedValue))
- {
- return $CachedValue;
- }
-
- $ado = &GetADODBConnection();
-
- if( getArrayValue($attribs,'_local') && $objCatList->CurrentCategoryID() != 0)
- {
- $c = $objCatList->GetItem($objCatList->CurrentCategoryID());
- $catlist = $c->GetSubCatIds();
-
- $catwhere = "CategoryId IN (".explode(",",$catlist).")";
- $sql = "SELECT MAX(Modified) as ModDate,MAX(CreatedOn) as NewDate FROM ".GetTablePrefix()."News ";
- $sql .= "INNER JOIN ".GetTablePrefix()."CategoryItems ON (".GetTablePrefix()."News.ResourceId=".GetTablePrefix()."CategoryItems.ItemResourceId) ";
- $sql .= "WHERE Status=1 AND $catwhere LIMIT 1";
- }
- else
- {
- $sql = "SELECT MAX(Modified) as ModDate, MAX(CreatedOn) As NewDate FROM ".GetTablePrefix()."News WHERE Status=1 LIMIT 1";
- }
-
- $rs = $ado->Execute($sql);
- if($rs && ! $rs->EOF)
- {
- $new = $rs->fields["NewDate"];
- $mod = $rs->fields["ModDate"];
- if($new>$mod)
- $mod = $new;
-
- if($mod)
- {
- $part = strtolower(getArrayValue($attribs, '_part'));
- $ret=$part?ExtractDatePart($part,$mod):LangDate($mod);
- }
- }
- if($ret) SaveTagCache("innews","n_article_modified",$attribs,"",$ret);
- return $ret;
-}
-
-/*
- @description: returns a link to the news root category
- @attrib: _Category:int: Override the In-News root category
- @attrib: _Template:tpl: The template to link to
- @example: <inp:n_root_link _Template="innews/index" />
-*/
-function n_root_link($attribs = array())
-{
- global $objConfig, $n_var_list_update, $objModules;
-
- //$RootCat = (int)$objConfig->Get("Article_Root");
- $RootCat = $objModules->GetModuleRoot("In-News");
- if($RootCat != -1)
- $attribs["_category"] = $RootCat;
- $n_var_list_update["p"] = 0;
- $n_var_list_update["id"] = 0;
- $n_var_list_update["rp"] = 0;
- unset($n_var_list_update["p"],$n_var_list_update["id"],$n_var_list_update["rp"]);
- $o = m_template_link($attribs);
- unset($n_var_list_update["p"],$n_var_list_update["id"],$n_var_list_update["rp"]);
-
- return $o;
-}
-
-/* not a tag, used to load article lists */
-function LoadArticleList($attribs=array())
-{
- global $objArticleList, $objSession, $n_var_list,$n_var_list_update;
-
- static $PagingList, $original_page = null;
-
- if (is_null($original_page)) {
- $original_page = $n_var_list['p'];
- }
-
- $ListType = strtolower( getArrayValue($attribs,'_listtype') );
- $force_paging = getArrayValue($attribs,'_forcepaging');
-
- if(!strlen($ListType)) $ListType="category";
- $LastList = $objSession->GetVariable("NewsListType");
- $LastShortType = (int)$objSession->GetVariable("NewsShortList");
-
- $NoPaging = ( getArrayValue($attribs,'_paging')=='0' | getArrayValue($attribs,'_paging')=='false');
- //echo "Paging: $NoPaging<br>";
-
- if(!$NoPaging && !strlen($PagingList))
- {
- $PagingList=$ListType;
- }
-
- //echo "Last: $LastList, Short: $LastShortType Current: $ListType, Short:".$attribs["_shortlist"]." PageList: $PagingList<br>\n";
-
- if($ListType==$PagingList)
- {
- $objArticleList->EnablePaging = true;
- if($LastList != $ListType || $LastShortType != (int)$attribs["_shortlist"])
- {
- //echo "Resetting Page..<br>\n";
- $n_var_list_update["p"] = 0;
- $n_var_list["p"] = 1;
-// $original_page = 1;
- $objArticleList->Page = 1;
- $objSession->SetVariable("NewsListType",$ListType);
- $objSession->SetVariable("NewsShortList",(int)$attribs["_shortlist"]);
- }
- else {
- $objArticleList->Page = $original_page;
- }
- }
- else
- {
- if(is_numeric( getArrayValue($attribs,'_maxcount') ))
- {
- $objArticleList->MaxListCount = $attribs["_maxcount"];
- }
- else
- {
- $objArticleList->MaxListCount = 10;
- }
- $objArticleList->EnablePaging = false;
-
- if ($force_paging == 1)
- {
- $objArticleList->EnablePaging = true;
- $objArticleList->Page = $original_page;
- }
- }
-
- $objArticleList->ListType = $ListType;
- $objArticleList->Clear();
-
- //echo "ListType: $ListType<br>\n";
- switch($ListType)
- {
- case "category":
- $objArticleList->LoadListCategory($attribs);
- break;
- case "leadstory":
- $objArticleList->LoadLeadStories($attribs);
- break;
- case "pop":
- $objArticleList->LoadPopItems($attribs);
- break;
- case "hot":
- $objArticleList->LoadHotItems($attribs);
- break;
- case "pick":
- $objArticleList->LoadPickItems($attribs);
- break;
- case "new":
- $objArticleList->LoadNewItems($attribs);
- break;
- case "my_new":
- $scope = $objSession->CurrentUser->Vars["LastLogin"];
- $attribs["_scope"] = $scope;
- $attribs["_show_since_last"] = 1;
- //print_pre($objSession->CurrentUser);
- if (is_numeric($scope) && $scope > 0) {
- $objArticleList->LoadNewItems($attribs);
- }
- break;
- case "myitems":
- $objArticleList->LoadMyItems($attribs);
- break;
- case "favorites":
- $objArticleList->LoadFavorites($attribs);
- break;
- case "search":
- $attribs['multiple'] = 'articles';
- $objArticleList->LoadSearchItems($attribs);
- break;
- }
-
-}
-
-/*
- @description: Used in conjuction with n_list_news. This function generates the page navigation
- for the list. If this tag is called before the list tag, this function will load
- the articles. For that reason, the _ListType attribute is required if the pagnav
- tag preceeds the l_list_news tag in the template. Generally, it is good practice to
- duplicate all attributes set for n_list_news.
- @attrib: _PagesToList:int: Number of pages to list (default is 10)
- @attrib: _ShortList:bool: If set, uses the shortlist configuration value for articles
- @attrib: _Template:tpl: Template page links should redirect to (defaults to current template)
- @attrib: _label:lang: language tag to include in the output if there are pages to list. If there are no pages
- listed, this text will not be included (resulting in an empty output)
-*/
-function n_news_pagenav($attribs = array())
-{
- global $objArticleList, $objCatList, $objSession, $objConfig;
-
- $DestTemplate = $attribs["_template"];
- $PagesToList = $attribs["_pagestolist"];
- $image = $attribs["_PageIcon"];
- if(!is_numeric($PagesToList))
- $PagesToList = 10;
-
- $CatId = $attribs["_catid"];
- if(!is_numeric($CatId))
- $CatId = $objCatList->CurrentCategoryID();
-
- if ($attribs['_shortlist'] && $objConfig->Get('Perpage_News_Short') ) {
- $objArticleList->PerPageVar = 'Perpage_News_Short';
- }
- else {
- $objArticleList->PerPageVar = 'Perpage_News';
- }
-
- $ListType = strtolower($attribs["_listtype"]);
-
- if(!strlen($ListType))
- $ListType="category";
-
- if($objArticleList->ListType != $ListType)
- LoadArticleList($attribs);
-
- $o = $objArticleList->GetPageLinkList($DestTemplate,'',10,true,'', ExtraAttributes($attribs));
- if (strlen($image)) {
- $o_i = '<img src="'.$image.'" width="9" height="12" alt="">&nbsp;';
- }
- if(strlen($o) && strlen($attribs["_label"]))
- $o = $o_i.language($attribs["_label"]).' '.$o;
- return $o;
-}
-
-/*
- @description: Used in conjuction with n_list_news. This function generates a navigation link which is
- used to switch from a short list to a longer list. The page number is not changed.
- If this tag is called before the list tag, this function will load the article list.
- For that reason, the _ListType attribute is required if the pagnav
- tag preceeds the n_list_news tag in the template. Generally, it is good practice to
- duplicate all attributes set for n_list_news.
- @attrib: _root:bool: If set, the current category is set to In-News's root category
- @attrib: _text:lang: language tag to include as text for the anchor tag
- @attrib: _ShortList:bool: If set, uses the shortlist configuration value for links
- @attrib: _plaintext:: plain text to include as text for the anchor tag. The _text attribute takes presedence
- if both are included.
- @attrib: _image:: URL to an image to include inside the anchor tag.
-*/
-function n_link_more($attribs = array())
-{
- global $objArticleList, $objConfig,$n_var_list_update;
-
- $n_var_list_update['id'] = 0;
-
- $html_attribs = ExtraAttributes($attribs);
- $DestTemplate = $attribs["_template"];
-
- if ($attribs['_shortlist'] && $objConfig->Get('Perpage_News_Short') ) {
- $objArticleList->PerPageVar = 'Perpage_News_Short';
- }
- else {
- $objArticleList->PerPageVar = 'Perpage_News';
- }
-
- $ListType = strtolower($attribs["_listtype"]);
-
- if(!strlen($ListType))
- $ListType="category";
-
- if($objArticleList->ListType != $ListType)
- LoadArticleList($attribs);
-
- if($objArticleList->QueryItemCount > $objConfig->Get($objArticleList->PerPageVar))
- {
- if($attribs["_root"])
- {
- $url = n_root_link($attribs);
- }
- else
- {
- $n_var_list_update["p"]=0;
- $url = m_template_link($attribs);
- unset($n_var_list_update["p"]);
- }
- $o = "<A $html_attribs HREF=\"$url\">";
- $text = $attribs["_text"];
- if(!strlen($text))
- {
- $text = $attribs["_plaintext"];
- if(!strlen($text))
- {
- }
- $o .= $text."</A>";
- }
- else
- $o .= language($text);
- if(strlen($attribs["_image"]))
- {
- $o .= "<IMG SRC=\"".$attribs["_image"]."\" BORDER=\"0\" />";
- }
- $o .= "</A>";
- }
- return $o;
-}
-
-/*
- @description: returns a list of news articles
- @attrib: _CatId:int: Override the current category
- @attrib: _useroot:bool: If set, the current category is changed to In-News's root category
- @attrib: _ShortList:bool: If set, the Perpage_News_Short setting is used instead of Perpage_news
- @attrib: _Paging:bool: If set to 0 or false, paging will not be allowed for this list (only one paging list is allowed per item type per page load)
- @attrib: _maxcount:int: If paging is not used on this list, this value determines how many items to load
- @attrib: _ListType::Determines the type of list to generate<br>
- Possible values:<UL>
- <LI>Category: List links from the current category (default)
- <LI>Top: Most Popular & highest rated links
- <LI>Pop: Most Popular links
- <LI>New: List new links
- <LI>Hot: List links with the most click-throughs
- <LI>Pick: List editor's picks
- <LI>myitems: List topics created by the current user
- <LI>favorites: List topics marked as favorites by the current user
- <LI>search: List search results
- </UL>
- @attrib: _FirstItemTemplate:tpl: Template used for the first article listed
- @attrib: _LastItemTemplate:tpl: Template used for the last article listed
- @attrib: _EdItemTemplate:tpl: Editors Pick template used for article list items
- @attrib: _ItemTemplate:tpl: default template used for article list items
- @example: <inp:n_list_news _ItemTemplate="innews/article_element" _ShortList="0" />
-*/
-function n_list_news($attribs = array())
-{
- global $objConfig, $objSession, $var_list, $var_list_update, $n_var_list, $n_var_list_update, $objArticleList, $objCatList, $content_set;
-
- $template = getArrayValue($attribs,'_itemtemplate');
- $force_paging = getArrayValue($attribs,'_forcepaging');
-
- if(!strlen($template))
- {
- $content_set = 0;
- return "ERROR -1";
- }
-
- if ($attribs['_shortlist'] && $objConfig->Get('Perpage_News_Short') ) {
- $objArticleList->PerPageVar = 'Perpage_News_Short';
- }
- else {
- $objArticleList->PerPageVar = 'Perpage_News';
- }
-
- $CatId = getArrayValue($attribs,'_catid');
- if(!is_numeric($CatId)) $CatId = $objCatList->CurrentCategoryID();
-
- $ListType = strtolower($attribs["_listtype"]);
- if(!strlen($ListType)) $ListType="category";
-
- if($ListType != "search")
- {
- $evar = $evar = $_GET["env"]; //m_BuildEnv().$objSession->GetVariable("Env_Link");
-
- $tagname = "n_list_news-".$ListType."-".(int)$attribs["_shortlist"];
- $CachedList = GetTagCache("innews",$tagname,$attribs,$evar);
- if(strlen($CachedList))
- {
- return $CachedList;
- }
- }
-
- if(($objArticleList->ListType != $ListType) || ($objCatList->CurrentCategoryID() != $attribs["_catid"]) || $force_paging == 1)
- {
- LoadArticleList($attribs);
- }
- if($objArticleList->NumItems()== 0)
- {
- $content_set = 0;
- return "";
- }
-
- $keywords = $objSession->GetVariable("Search_Keywords");
-
- $max_articles = min($objConfig->Get($objArticleList->PerPageVar), $objArticleList->NumItems());
- $articles_showed = 0; //nl
-
- //$max_articles = $objConfig->Get($objArticleList->PerPageVar); //nl
-
- foreach($objArticleList->Items as $index => $news)
- {
-
- $objArticleList->CurrentItem = $index;
- $parsed = 0;
- if($row==0 && strlen($attribs["_firstitemtemplate"]))
- {
- $o .= $news->ParseTemplate($attribs["_firstitemtemplate"]);
- $parsed = 1;
- }
- if($row==$objArticleList->NumItems()-1 && !$parsed && strlen($attribs["_lastitemtemplate"])>0)
- {
- $o .= $news->ParseTemplate($attribs["_lastitemtemplate"]);
- $parsed = 1;
- }
- if(!$parsed)
- {
- if (getArrayValue($attribs, '_editemtemplate') && (int)$news->Get('EditorsPick'))
- {
- $o .= $news->ParseTemplate($attribs["_editemtemplate"]);
- }
- else
- {
- $o .= $news->ParseTemplate($attribs['_itemtemplate']);
- }
- }
-
- $articles_showed++; // nl
- if($articles_showed == $max_articles) break; //nl
-
-
- }
- $objArticleList->SetCurrentItem();
-
- if(strlen($o)) {
- SaveTagCache("innews",$tagname,$attribs,$evar,$o);
- }
-
- return $o;
-}
-
-
-
-/*
- @description: returns a list of news articles
- @attrib: _CatId:int: Override the current category
- @attrib: _useroot:bool: If set, the current category is changed to In-News's root category
- @attrib: _ShortList:bool: If set, the Perpage_Links_Short setting is used instead of Perpage_links
- @attrib: _ListType::Determines the type of list to generate<br>
- Possible values:<UL>
- <LI>Category: List links from the current category (default)
- <LI>Top: Most Popular & highest rated links
- <LI>Pop: Most Popular links
- <LI>New: List new links
- <LI>Hot: List links with the most click-throughs
- <LI>Pick: List editor's picks
- <LI>myitems: List topics created by the current user
- <LI>favorites: List topics marked as favorites by the current user
- <LI>search: List search results
- </UL>
- @example: <inp:n_list_count _ListType="Search" />
-*/
-function n_list_count($attribs = array())
-{
- global $objCatList, $objArticleList, $objConfig, $objSession;
-
- if ($attribs['_shortlist'] && $objConfig->Get('Perpage_News_Short') ) {
- $objArticleList->PerPageVar = 'Perpage_News_Short';
- }
- else {
- $objArticleList->PerPageVar = 'Perpage_News';
- }
-
- $ListType = strtolower($attribs["_listtype"]);
- if(!strlen($ListType))
- $ListType="category";
-
- if(!$attribs["_today"])
- {
- if($objArticleList->ListType != $ListType)
- LoadArticleList($attribs);
-
- $o = 0;
- $keywords = $objSession->GetVariable("Search_Keywords");
- if ($keywords || ($_REQUEST['Action']=='m_adv_search')) {
-/* foreach ($objArticleList->Items as $cat) {
- if (strstr(strip_tags(strtolower($cat->Data['Title'])), strtolower($keywords)) || strstr(strip_tags(strtolower($cat->Data['Body'])), strtolower($keywords)) || strstr(strip_tags(strtolower($cat->Data['Excerpt'])), strtolower($keywords))) {
- $o++;
- }
- }
- }
- else {*/
- }
- $o = $objArticleList->QueryItemCount;
- }
- else
- {
- $o = $objArticleList->PerformItemCount($attribs);
- }
-
- if ($o == '') {
- $o = 0;
- }
- return $o;
-}
-
-/*
- @description: Parse an article field and return the value
- @attrib: _Field:: Article field to parse
- @attrib: _ArticleId:int: Article ID to parse (uses current article if not set)
-*/
-function n_news_field($attribs = array())
-{
- global $objArticleList;
-
- $o = "";
- $field = $attribs["_field"];
- $NewsId = (int)$attribs["_articleid"];
- if($NewsId)
- {
- $a = $objArticleList->GetItem($NewsId);
- }
- else
- {
- $a = $objArticleList->GetCurrentItem();
- }
- if(strlen($field))
- {
- if(is_object($a))
- {
-
- $element = new clsHtmlTag();
- $element->name = $a->TagPrefix;
- $element->attributes = $attribs;
- $o = $a->ParseObject($element);
- }
- else
- $o = "";
- }
- return $o;
-}
-
-/*
- @description: Parse an article item template
- @attrib: _ItemTemplate:tpl: Article template to parse
- @attrib: _ArticleId:: Article ID to parse (uses current article if not set)
-*/
-function n_news_detail($attribs = array())
-{
- global $objArticleList,$n_var_list;
-
- $t = $attribs["_itemtemplate"];
- if(strlen($t))
- {
- $NewsId = (int)$attribs["_articleid"];
- if($NewsId)
- {
- $news =& $objArticleList->GetItem($NewsId);
- }
- else
- $news =& $objArticleList->GetItem($n_var_list["id"]);
- if(is_object($news))
- {
- $o = $news->ParseTemplate($t);
- }
- }
- return $o;
-}
-
-/*
- @description: returns the date of the last review for an article
- @attrib: _Part:: part of the date to display
- @attrib: _ArticleId:int: if set, the link to display the review modified date
- @example: <inp:n_review_modified />
-*/
-function n_review_modified($attribs)
-{
- global $objConfig, $objArticleList;
-
- $NewsId = (int)$attribs["_articleid"];
- if($NewsId)
- {
- $a = $objArticleList->GetItem($NewsId);
- }
- else
- $a = $objArticleList->GetCurrentItem();
- if(is_object($a))
- {
- $ado = &GetADODBConnection();
- $ResId = $a->Get("ResourceId");
- $sql = "SELECT MAX(CreatedOn) as ModDate FROM ".GetTablePrefix()."ItemReview WHERE ItemId=$ResId AND Status=1 LIMIT 1";
- $rs = $ado->Execute($sql);
- if($rs && ! $rs->EOF)
- {
- $mod = $rs->fields["ModDate"];
- if($mod)
- {
- $part = strtolower($attribs["_part"]);
- if(strlen($part))
- {
- $ret = ExtractDatePart($part,$mod);
- }
- else
- {
- $ret = LangDate($mod);
- }
- }
- }
- }
- return $ret;
-}
-
-/*
- @description: Returns a list of reviews for an article
- @attrib: _ArticleId:int: the link to use (If not set, the current article is used)
- @attrib: _ShortList:bool: If set, uses the shortlist configuration value for article reviews
- @attrib: _ReviewTemplate:tpl: template used to display the reviews
-*/
-function n_list_reviews($attribs = array())
-{
- global $objArticleList,$content_set, $n_var_list;
-
- $NewsId = (int)$attribs["_articleid"];
- if($NewsId)
- {
- $a =& $objArticleList->GetItem($NewsId);
- }
- else
- $a =& $objArticleList->GetCurrentItem();
-
- if(is_object($a))
- {
- if($a->ReviewsLoaded()==0)
- {
- if($attribs["_shortlist"])
- {
- $a->ReviewPerPageVar = "Perpage_NewsReviews_Short";
- }
- else
- {
- $a->ReviewPerPageVar = "Perpage_NewsReviews";
- }
- $ReviewList =& $a->GetItemReviews($n_var_list["rp"]);
- }
- else
- $ReviewList =& $a->Reviews;
-
- $o = "";
- $t = $attribs["_reviewtemplate"];
- if($ReviewList->NumItems()>0 && strlen($t))
- {
- foreach($ReviewList->Items as $r)
- {
- $o .= $r->ParseTemplate($t);
- $i++;
- }
- }
- }
- if(!strlen($o))
- $content_set =0;
- return $o;
-}
-
-/*
- @description: Used in conjuction with n_list_reviews. This function generates a navigation link which is
- used to switch from a short list to a longer list. The page number is not changed.
- If this tag is called before the list tag, this function will load the review list.
- Any extra HTML attributes are passed to the anchor tag used to create the link.
- @attrib: _ArticleId:: If set, the this value is used for a Article ID (default to the current link)
- @attrib: _root:bool: If set, the current category is set to In-News's root category
- @attrib: _text:lang: language tag to include as text for the anchor tag
- @attrib: _Template:tpl: Destination template of More link
- @attrib: _plaintext:: plain text to include as text for the anchor tag. The _text attribute takes presedence
- if both are included.
- @attrib: _ShortList:bool: If set, uses the shortlist configuration value for article reviews
- @attrib: _image:: URL to an image to include inside the anchor tag.
-*/
-function n_review_more($attribs)
-{
- global $objArticleList, $objConfig;
-
- $html_attribs = ExtraAttributes($attribs);
- $DestTemplate = $attribs["_template"];
-
- $NewsId = (int)$attribs["_articleid"];
- if($NewsId)
- {
- $a =& $objArticleList->GetItem($NewsId);
- }
- else
- $a =& $objArticleList->GetCurrentItem();
-
- if(is_object($a))
- {
- if($a->ReviewsLoaded()==0)
- {
- if($attribs["_shortlist"])
- {
- $a->ReviewPerPageVar = "Perpage_NewsReviews_Short";
- }
- else
- {
- $a->ReviewPerPageVar = "Perpage_NewsReviews";
- }
- $ReviewList =& $a->GetItemReviews($n_var_list["rp"]);
- }
- else
- $ReviewList =& $a->Reviews;
-
- if($ReviewList->ItemCount() < $ReviewList->QueryItemCount)
- {
- if($attribs["_root"])
- {
- $url = n_root_link($attribs);
- }
- else
- $url = m_template_link($attribs);
- $o = "<A $html_attribs HREF=\"$url\">";
- $text = $attribs["_text"];
- if(!strlen($text))
- {
- $text = $attribs["_plaintext"];
- if(!strlen($text))
- {
- }
- $o .= $text."</A>";
- }
- else
- $o .= language($text);
- if(strlen($attribs["_image"]))
- {
- $o .= "<IMG SRC=\"".$attribs["_image"]."\" BORDER=\"0\" />";
- }
- $o .= "</A>";
- }
- }
- return $o;
-}
-
-/*
- @description: Used in conjuction with n_list_reviews. This function generates the page navigation
- for the list of reviews. If this tag is called before the list tag, this function will load
- the reviews. For that reason, the _ListType attribute is required if the pagnav
- tag preceeds the n_list_reviews tag in the template. Generally, it is good practice to
- duplicate all attributes set for n_list_reviews.
- @attrib: _PagesToList:int: Number of pages to list (default is 10)
- @attrib: _Template:tpl: destination template for page links (defaults to current template)
- @attrib: _ShortList:bool: If set, uses the shortlist configuration value for article reviews
- @attrib: _ArticleId:int: If set, the this value is used for an Article ID (default to the current link)
- @attrib: _label:lang: language tag to include in the output if there are pages to list. If there are no pages
- listed, this text will not be included (resulting in an empty output)
-*/
-function n_review_pagenav($attribs)
-{
- global $l_var_list, $n_var_list_update, $objArticleList;
-
- $DestTemplate = $attribs["_template"];
- $PagesToList = $attribs["_pagestolist"];
- if(!is_numeric($PagesToList))
- $PagesToList = 10;
- $NewsId = (int)$attribs["_articleid"];
- if($NewsId)
- {
- $a =& $objArticleList->GetItem($NewsId);
- }
- else
- $a =& $objArticleList->GetCurrentItem();
-
- if(is_object($a))
- {
- if($a->ReviewsLoaded()==0)
- {
- if($attribs["_shortlist"])
- {
- $a->ReviewPerPageVar = "Perpage_NewsReviews_Short";
- }
- else
- {
- $a->ReviewPerPageVar = "Perpage_NewsReviews";
- }
- $ReviewList =& $a->GetItemReviews($n_var_list["rp"]);
- }
- else
- $ReviewList =& $a->Reviews;
- $o = $ReviewList->GetPageLinkList($n_var_list_update,$DestTemplate);
- }
- if(strlen($o) && strlen($attribs["_label"]))
- $o = language($attribs["_label"]).$o;
- return $o;
-}
-
-
-/*
- @description: Returns the number of items related to the current article
- @attrib: _ItemId:int: the article to use (If not set, the current article is used)
- @attrib: _ItemType:: Name of item to count (ie: _ItemType="Category,Topic")
- @example: <inp:n_related_count _ItemType="Category" />
-*/
-function n_related_count($attribs)
-{
- global $objItemTypes, $objArticleList, $content_set;
- global $ArticleRelations;
-
- $id = $attribs["_itemid"];
- $item_type = strtolower($attribs["_itemtype"]);
- $count = 0;
- if(!is_numeric($id))
- {
- $c =& $objArticleList->GetCurrentItem();
- }
- else
- $c =& $objArticleList->GetItem($id);
-
- if(is_object($c))
- {
- $ResourceId = $c->Get("ResourceId");
- if(!is_object($ArticleRelations))
- {
- $ArticleRelations = new clsMultiTypeList();
- LoadRelatedItems($Related, $ArticleRelations,$c->Get("ResourceId"));
- }
-
- if(strlen($attribs["_itemtype"]))
- {
- $objType = $objItemTypes->GetTypeByName($item_type);
- if(is_object($objType))
- {
- $TargetType = $objType->Get("ItemType");
- }
- else
- $TargetType="";
- }
-
- if($ArticleRelations->NumItems()>0)
- {
- for($x=0;$x<$ArticleRelations->NumItems();$x++)
- {
- $a = $ArticleRelations->GetItemByIndex($x);
- if($a->type == $TargetType || !strlen($TargetType))
- {
- $count++;
- }
- }
- }
- }
- return $count;
-}
-
-/*
- @description: List items related to the current article
- @attrib: _ItemId:int: the article to use (If not set, the current article is used)
- @attrib: _ListItems:: List of item types to include (ie: _ListItems="Category,Topic")
- @attrib: _*Template:none: For each item type lsted in _ListItems, an item type template must be included
- (ie: _CategoryTemplate=".." _TopicTemplate="..")
- @example: <inp:n_related_items _ListItems="Category,Topic" _CategoryTemplate="cat_related" _LinkTemplate="inbulletin/topic_related" />
-*/
-function n_related_items($attribs)
-{
- global $objItemTypes, $objArticleList, $objCatList, $content_set, $objSession;
- static $Related;
-
- global $ArticleRelations;
-
-// echo "<PRE>"; print_r($ArticleRelations); echo "</PRE>";
- $id = $attribs["_itemid"];
- if(!is_numeric($id))
- {
- $c =& $objArticleList->GetCurrentItem();
- }
- else
- $c =& $objArticleList->GetItem($id);
-
- $data_sent=0;
-
- if(is_object($c))
- {
- $ResourceId = $c->Get("ResourceId");
- $IncludeList = explode(",",trim(strtolower($attribs["_listitems"])));
- $o = "";
- if(!is_object($ArticleRelations))
- {
- $ArticleRelations = new clsMultiTypeList();
- LoadRelatedItems($Related, $ArticleRelations,$c->Get("ResourceId"));
- }
-
- if($ArticleRelations->NumItems()>0)
- {
- for($inc=0;$inc<count($IncludeList);$inc++)
- {
- $t_attr = "_".$IncludeList[$inc]."template";
- $t = $attribs[$t_attr];
- $item_type = $IncludeList[$inc];
-
- if(strlen($item_type))
- {
- $objType = $objItemTypes->GetTypeByName($item_type);
- if(is_object($objType))
- {
- foreach($ArticleRelations->Items as $item)
- {
- if(is_object($item))
- {
- if(strtolower($objType->Get("ItemName")) == strtolower($item_type) && $item->type==$objType->Get("ItemType"))
- {
- if(strlen($item->BasePermissionName))
- {
- $perm = $item->BasePermissionName.".VIEW";
- $haspem = $objSession->HasCatPermission($perm,$item->Get("CategoryId"));
- }
- else
- $hasperm = 1;
-
- if($hasperm)
- {
- $data_sent =1;
- $classname = $objType->Get("ClassName");
- if(strlen($classname))
- {
- $l = new $classname;
- $l->Data = $item->Data;
- $o .= $l->ParseTemplate($t);
- }
- }
- }
- }
- $item = NULL;
- }
- }
- else
- echo $item_type." not found <br>\n";
- }
- }
- if($data_sent)
- {
- return $o;
- }
- else
- {
- $content_set=0;
- return "";
- }
- }
- else
- {
- $content_set = 0;
- return "";
- }
- }
- else
- {
- $content_set = 0;
- return "";
- }
-}
-
-/*
- @description: Generates the ACTTION property for a FORM tag used by In-Link
- @attrib: _Template:tpl: If set, this is the template the form submits to (default is the current template)
- @attrib: _Form:: The form name<br>Possible Values:
- <UL>
- <LI>n_rate: Form used to rate an article
- <LI>n_rate_confirm: Confirm for rate article
- <LI>n_addreview: add a review for an article
- <LI>n_review_confirm: Review confirmation
- <LI>n_sort_articles: Sort articles
- <LI>n_getting_rated: Form for external rating
- </UL>
- @example: <FORM enctype="multipart/form-data" method="POST" NAME="article_review" ACTION="<inp:n_form_action _Form="n_rate" _confirm="innews/rate_confirm" />">
-*/
-function n_form_action($attribs = array())
-{
- global $var_list_update, $var_list, $n_var_list_update, $objSession, $objArticleList;
-
- $var_list_update['t'] = getArrayValue($attribs, '_template') ? $attribs['_template'] : $var_list['t'];
-
- if( is_object($objArticleList) && $objArticleList->CurrentItem ) $n_var_list_update['id'] = $objArticleList->CurrentItem;
-
- $ret = '';
- $form = strtolower( $attribs['_form'] );
- $url_params = Array();
-
- switch($form)
- {
- case 'n_addreview':
- if( !$objSession->SessionEnabled() )
- {
- $var_list_update['t'] = 'error_session';
- }
- else
- {
- $url_params = Array( 'Action' => 'n_add_review', 'DestTemplate' => $attribs['_finishtemplate'] );
- if ( $objSession->HasCatPermission('NEWS.REVIEW.PENDING') )
- {
- $url_params['Confirm'] = $attribs[ getArrayValue($attribs, '_confirmpending') ? '_confirmpending' : '_confirm' ];
- }
-
- if ( $objSession->HasCatPermission('NEWS.REVIEW') )
- {
- $url_params['Confirm'] = $attribs['_confirm'];
- }
-
- $n_var_list_update['id'] = $objArticleList->CurrentItem;
- if( !$url_params['Confirm'] ) unset($url_params['Confirm']);
- }
- break;
-
- case 'n_review_confirm':
- $var_list_update['t'] = getArrayValue($_GET, 'DestTemplate') ? $_GET['DestTemplate'] : $var_list['t'];
- $n_var_list_update['id'] = $objArticleList->CurrentItem;
- break;
-
- case 'n_rate':
- if( !$objSession->SessionEnabled() )
- {
- $var_list_update['t'] = 'error_session';
- }
- else
- {
- $url_params = Array( 'Action' => 'n_rate_news', 'DestTemplate' => $attribs['_finishtemplate'] );
- if ( $objSession->HasCatPermission('NEWS.RATE') && getArrayValue($attribs, '_confirm') ) $url_params['Confirm'] = $attribs['_confirm'];
-
- $n_var_list_update['id'] = $objArticleList->CurrentItem;
- if( getArrayValue($attribs, '_duplicate') ) $url_params['Duplicate'] = $attribs['_duplicate'];
- }
- break;
-
- case 'n_getting_rated':
- if( !$objSession->SessionEnabled() )
- {
- $var_list_update['t'] = 'error_session';
- }
- else
- {
- $url_params = Array( 'Action' => 'n_rate_news', 'DestTemplate' => $attribs['_finishtemplate'] );
- if ( $objSession->HasCatPermission('NEWS.RATE') && getArrayValue($attribs, '_confirm') ) $url_params['Confirm'] = $attribs['_confirm'];
-
- $n_var_list_update['id'] = $objArticleList->CurrentItem;
- $var_list_update['t'] = 'innews/rate';
-
- if( getArrayValue($attribs, '_duplicate') ) $url_params['Duplicate'] = $attribs['_duplicate'];
- }
- break;
-
- case 'n_rate_confirm':
- $var_list_update['t'] = getArrayValue($_GET, 'DestTemplate') ? $_GET['DestTemplate'] : $var_list['t'];
- $n_var_list_update['id'] = $objArticleList->CurrentItem;
- break;
-
- case 'n_sort_articles':
- $url_params = Array('Action' => 'n_sort_articles');
- break;
-
- }
-
- return HREF_Wrapper('', $url_params);
-}
-
-?>
Property changes on: trunk/in-news/parser.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.33
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin_templates/articles/articles_custom.tpl
===================================================================
--- trunk/in-news/admin_templates/articles/articles_custom.tpl (revision 12830)
+++ trunk/in-news/admin_templates/articles/articles_custom.tpl (nonexistent)
@@ -1,63 +0,0 @@
-<inp2:m_RequireLogin permissions="NEWS.VIEW" perm_prefix="n"/>
-<inp2:m_include t="incs/header" nobody="yes"/>
-
-<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
-<inp2:m_RenderElement name="section_header" prefix="n" icon="icon46_articles" module="in-news" title="!la_title_Articles!"/>
-
-<inp2:m_include t="in-news/articles/articles_tabs"/>
-
-<inp2:m_RenderElement name="blue_bar" prefix="n" title_preset="articles_custom" module="in-news" icon="icon46_articles"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('n','<inp2:n_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('n','OnCancelEdit');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
- a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
- go_to_id('n', '<inp2:n_PrevId/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
- go_to_id('n', '<inp2:n_NextId/>');
- }
- ) );
-
- function edit(){ }
-
- a_toolbar.Render();
-
- <inp2:m_if check="n_IsSingle">
- a_toolbar.HideButton('prev');
- a_toolbar.HideButton('next');
- a_toolbar.HideButton('sep1');
- <inp2:m_else/>
- <inp2:m_if check="n_IsLast" >
- a_toolbar.DisableButton('next');
- </inp2:m_if>
- <inp2:m_if check="n_IsFirst" >
- a_toolbar.DisableButton('prev');
- </inp2:m_if>
- </inp2:m_if>
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:m_include t="in-portal/incs/custom_blocks"/>
-<inp2:m_RenderElement name="grid" PrefixSpecial="cf" IdField="CustomFieldId" SourcePrefix="n" value_field="Value" per_page="-1" grid="SeparateTab" header_block="grid_column_title_no_sorting" no_init="no_init"/>
-
-<inp2:m_include t="incs/footer"/>
Property changes on: trunk/in-news/admin_templates/articles/articles_custom.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin_templates/articles/relations_edit.tpl
===================================================================
--- trunk/in-news/admin_templates/articles/relations_edit.tpl (revision 12830)
+++ trunk/in-news/admin_templates/articles/relations_edit.tpl (nonexistent)
@@ -1,47 +0,0 @@
-<inp2:m_RequireLogin permissions="NEWS.VIEW" perm_prefix="n"/>
-<inp2:m_include t="incs/header" nobody="yes"/>
-
-<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
-<inp2:m_RenderElement name="section_header" prefix="n" icon="icon46_articles" module="in-news" title="!la_title_Articles!"/>
-
-<inp2:m_RenderElement name="blue_bar" prefix="n" title_preset="relations_edit" module="in-news" icon="icon46_articles"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('n-rel','<inp2:n-rel_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('n-rel','OnCancel');
- }
- ) );
-
- a_toolbar.Render();
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:m_include t="in-portal/categories/ci_blocks"/>
-
-<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
- <inp2:m_RenderElement name="subsection" title="!la_section_Relation!"/>
- <inp2:m_RenderElement name="inp_edit_hidden" prefix="n-rel" field="SourceId"/>
- <inp2:m_RenderElement name="inp_edit_hidden" prefix="n-rel" field="SourceType"/>
- <inp2:m_RenderElement name="inp_edit_hidden" prefix="n-rel" field="TargetId"/>
- <inp2:m_RenderElement name="inp_edit_hidden" prefix="n-rel" field="TargetType"/>
-
- <inp2:m_RenderElement name="inp_id_label" prefix="n-rel" field="RelationshipId" title="!la_fld_RelationshipId!"/>
- <inp2:m_RenderElement name="inp_edit_relation" prefix="n-rel" field="TargetId" title="!la_fld_TargetId!"/>
- <inp2:m_RenderElement name="inp_edit_radio" prefix="n-rel" field="Type" title="!la_fld_RelationshipType!"/>
- <inp2:m_RenderElement name="inp_edit_checkbox" prefix="n-rel" field="Enabled" title="!la_fld_Enabled!"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="n-rel" field="Priority" title="!la_fld_Priority!" size="4"/>
-</table>
-<inp2:m_include t="incs/footer"/>
Property changes on: trunk/in-news/admin_templates/articles/relations_edit.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin_templates/articles/articles_images.tpl
===================================================================
--- trunk/in-news/admin_templates/articles/articles_images.tpl (revision 12830)
+++ trunk/in-news/admin_templates/articles/articles_images.tpl (nonexistent)
@@ -1,110 +0,0 @@
-<inp2:m_RequireLogin permissions="NEWS.VIEW" perm_prefix="n"/>
-<inp2:m_include t="incs/header" nobody="yes"/>
-
-<inp2:m_include t="in-portal/incs/image_blocks"/>
-
-<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
-<inp2:m_RenderElement name="section_header" prefix="n" icon="icon46_articles" module="in-news" title="!la_title_Articles!"/>
-
-<inp2:m_include t="in-news/articles/articles_tabs"/>
-
-<inp2:m_RenderElement name="blue_bar" prefix="n" title_preset="articles_images" module="in-news" icon="icon46_articles"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
-
- function edit()
- {
- std_edit_temp_item('n-img', 'in-news/articles/images_edit');
- }
-
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('n','<inp2:n_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('n','OnCancelEdit');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
- a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
- go_to_id('n', '<inp2:n_PrevId/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
- go_to_id('n', '<inp2:n_NextId/>');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep2') );
-
-
-
- a_toolbar.AddButton( new ToolBarButton('new_image', '<inp2:m_phrase label="la_ToolTip_New_Images" escape="1"/>',
- function() {
- std_new_item('n-img', 'in-news/articles/images_edit')
- } ) );
-
- a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
- a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
- function() {
- std_delete_items('n-img')
- } ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep3') );
-
- a_toolbar.AddButton( new ToolBarButton('move_up', '<inp2:m_phrase label="la_ToolTip_MoveUp" escape="1"/>', function() {
- submit_event('n-img','OnMassMoveUp');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarButton('move_down', '<inp2:m_phrase label="la_ToolTip_MoveDown" escape="1"/>', function() {
- submit_event('n-img','OnMassMoveDown');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarButton('primary_image', '<inp2:m_phrase label="la_ToolTip_SetPrimary" escape="1"/>', function() {
- submit_event('n-img','OnSetPrimary');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep4') );
-
- a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
- show_viewmenu(a_toolbar,'view');
- }
- ) );
-
- a_toolbar.Render();
-
- <inp2:m_if check="n_IsSingle" >
- a_toolbar.HideButton('prev');
- a_toolbar.HideButton('next');
- a_toolbar.HideButton('sep1');
- <inp2:m_else/>
- <inp2:m_if check="n_IsLast" >
- a_toolbar.DisableButton('next');
- </inp2:m_if>
- <inp2:m_if check="n_IsFirst" >
- a_toolbar.DisableButton('prev');
- </inp2:m_if>
- </inp2:m_if>
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:m_RenderElement name="grid" PrefixSpecial="n-img" IdField="ImageId" grid="Default" menu_filters="yes"/>
-<script type="text/javascript">
- Grids['n-img'].SetDependantToolbarButtons( new Array('edit','delete','move_up','move_down','primary_image') );
-</script>
-
-<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: trunk/in-news/admin_templates/articles/articles_images.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin_templates/articles/articles_relations.tpl
===================================================================
--- trunk/in-news/admin_templates/articles/articles_relations.tpl (revision 12830)
+++ trunk/in-news/admin_templates/articles/articles_relations.tpl (nonexistent)
@@ -1,108 +0,0 @@
-<inp2:m_RequireLogin permissions="NEWS.VIEW" perm_prefix="n"/>
-<inp2:m_include t="incs/header" nobody="yes"/>
-
-<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
-<inp2:m_RenderElement name="section_header" prefix="n" icon="icon46_articles" module="in-news" title="!la_title_Articles!"/>
-
-<inp2:m_include t="in-news/articles/articles_tabs"/>
-
-<inp2:m_RenderElement name="blue_bar" prefix="n" title_preset="articles_relations" module="in-news" icon="icon46_articles"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('n','<inp2:n_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('n','OnCancelEdit');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
- a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
- go_to_id('n', '<inp2:n_PrevId/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
- go_to_id('n', '<inp2:n_NextId/>');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep2') );
-
- //Relations related:
- a_toolbar.AddButton( new ToolBarButton('new_relation', '<inp2:m_phrase label="la_ToolTip_New_Relation" escape="1"/>',
- function() {
- openSelector('n-rel', '<inp2:adm_SelectorLink prefix="n-rel" selection_mode="single" tab_prefixes="all"/>', 'TargetId', '950x600');
- } ) );
-
- function edit()
- {
- std_edit_temp_item('n-rel', 'in-news/articles/relations_edit');
- }
-
- a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
- a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
- function() {
- std_delete_items('n-rel')
- } ) );
-
-
- a_toolbar.AddButton( new ToolBarSeparator('sep3') );
-
- a_toolbar.AddButton( new ToolBarButton('approve', '<inp2:m_phrase label="la_ToolTip_Approve" escape="1"/>', function() {
- submit_event('n-rel','OnMassApprove');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarButton('decline', '<inp2:m_phrase label="la_ToolTip_Decline" escape="1"/>', function() {
- submit_event('n-rel','OnMassDecline');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep4') );
-
- a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
- show_viewmenu(a_toolbar,'view');
- }
- ) );
-
- a_toolbar.Render();
-
- <inp2:m_if check="n_IsSingle" >
- a_toolbar.HideButton('prev');
- a_toolbar.HideButton('next');
- a_toolbar.HideButton('sep1');
- //a_toolbar.HideButton('sep2');
- <inp2:m_else/>
- <inp2:m_if check="n_IsLast" >
- a_toolbar.DisableButton('next');
- </inp2:m_if>
- <inp2:m_if check="n_IsFirst" >
- a_toolbar.DisableButton('prev');
- </inp2:m_if>
- </inp2:m_if>
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:m_RenderElement name="grid" PrefixSpecial="n-rel" IdField="RelationshipId" grid="Default" menu_filters="yes"/>
-<script type="text/javascript">
- Grids['n-rel'].SetDependantToolbarButtons( new Array('edit','delete','approve','decline') );
-</script>
-<input type="hidden" name="TargetId" id="TargetId" value="<inp2:m_get name="TargetId"/>">
-<input type="hidden" name="TargetType" id="TargetType" value="<inp2:m_get name="TargetType"/>">
-<inp2:m_include t="incs/footer"/>
-
-<script type="text/javascript">
- var $env = document.getElementById('sid').value+'-:m<inp2:m_get name="m_cat_id"/>-1-1-1-s';
-</script>
\ No newline at end of file
Property changes on: trunk/in-news/admin_templates/articles/articles_relations.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin_templates/articles/articles_tabs.tpl
===================================================================
--- trunk/in-news/admin_templates/articles/articles_tabs.tpl (revision 12830)
+++ trunk/in-news/admin_templates/articles/articles_tabs.tpl (nonexistent)
@@ -1,17 +0,0 @@
-<table cellpadding="0" cellspacing="0" border="0" width="100%">
-<tr>
- <td align="right" width="100%">
- <table cellpadding="0" cellspacing="0" border="0" height="23">
- <tr>
- <inp2:m_RenderElement name="tab" title="la_tab_General" t="in-news/articles/articles_edit" main_prefix="n"/>
- <inp2:m_RenderElement name="tab" title="la_tab_Categories" t="in-news/articles/articles_categories" main_prefix="n"/>
- <inp2:m_RenderElement name="tab" title="la_tab_Relations" t="in-news/articles/articles_relations" main_prefix="n"/>
-
- <inp2:m_RenderElement name="tab" title="la_tab_Images" t="in-news/articles/articles_images" main_prefix="n"/>
- <inp2:m_RenderElement name="tab" title="la_tab_Reviews" t="in-news/articles/articles_reviews" main_prefix="n"/>
- <inp2:m_RenderElement name="tab" title="la_tab_Custom" t="in-news/articles/articles_custom" main_prefix="n"/>
- </tr>
- </table>
- </td>
-</tr>
-</table>
\ No newline at end of file
Property changes on: trunk/in-news/admin_templates/articles/articles_tabs.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin_templates/articles/articles_edit.tpl
===================================================================
--- trunk/in-news/admin_templates/articles/articles_edit.tpl (revision 12830)
+++ trunk/in-news/admin_templates/articles/articles_edit.tpl (nonexistent)
@@ -1,134 +0,0 @@
-<inp2:m_RequireLogin permissions="NEWS.VIEW" perm_prefix="n"/>
-<inp2:m_include t="incs/header" nobody="yes"/>
-
-<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF" onload="reflect_filename();">
-<inp2:m_RenderElement name="section_header" prefix="n" icon="icon46_articles" module="in-news" title="!la_title_Articles!"/>
-
-<inp2:m_include t="in-news/articles/articles_tabs"/>
-
-<inp2:m_RenderElement name="blue_bar" prefix="n" title_preset="articles_edit" module="in-news" icon="icon46_articles"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('n','<inp2:n_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('n','OnCancelEdit');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
- a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
- go_to_id('n', '<inp2:n_PrevId/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
- go_to_id('n', '<inp2:n_NextId/>');
- }
- ) );
-
- //a_toolbar.AddButton( new ToolBarSeparator('sep2') );
-
- a_toolbar.Render();
-
- <inp2:m_if check="n_IsSingle" >
- a_toolbar.HideButton('prev');
- a_toolbar.HideButton('next');
- a_toolbar.HideButton('sep1');
- //a_toolbar.HideButton('sep2');
- <inp2:m_else/>
- <inp2:m_if check="n_IsLast" >
- a_toolbar.DisableButton('next');
- </inp2:m_if>
- <inp2:m_if check="n_IsFirst" >
- a_toolbar.DisableButton('prev');
- </inp2:m_if>
- </inp2:m_if>
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:n_SaveWarning name="grid_save_warning"/>
-<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
- <inp2:m_RenderElement name="subsection" prefix="n" title="la_section_Article" original_title="la_section_OriginalValues" display_original="1"/>
-
- <inp2:m_RenderElement name="inp_id_label" prefix="n" field="NewsId" title="!la_fld_Id!" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="n" field="Title" title="!la_fld_Title!" size="40" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_user" prefix="n" field="CreatedById" title="!la_fld_Author!" size="25" display_original="1"/>
-
- <inp2:m_RenderElement name="inp_edit_textarea" prefix="n" field="Body" title="!la_fld_Body!" cols="70" rows="8" display_original="1"/>
-
- <!-- excerpt: begin -->
- <tr class="<inp2:m_odd_even odd="table-color1" even="table-color2"/>">
- <td class="text" valign="top">
- <span class="<inp2:m_if check="n_HasError" field="Excerpt">error</inp2:m_if>">
- <inp2:m_phrase label="la_fld_Excerpt"/><inp2:m_if check="n_IsRequired" field="Excerpt"/><span class="error"> *</span></inp2:m_if>:</span><br>
- <a href="javascript:OpenEditor('&section=in-link:editlink_general','kernel_form','<inp2:n_InputName field="Excerpt"/>');"><img src="img/icons/icon24_link_editor.gif" style="cursor: pointer;" border="0"></a>
- </td>
- <td>
- <textarea tabindex="<inp2:m_get param="tab_index"/>" id="<inp2:n_InputName field="Excerpt"/>" name="<inp2:n_InputName field="Excerpt"/>" cols="70" rows="3"><inp2:n_Field field="Excerpt"/></textarea><br />
- <input type="checkbox" name="generate_excerpt" id="generate_excerpt" value="1" /><label for="generate_excerpt"><inp2:m_phrase name="la_prompt_AutoGen_Excerpt"/></label>
- </td>
- <td class="error"><inp2:n_Error field="Excerpt"/>&nbsp;</td>
- <inp2:m_if check="n_DisplayOriginal" display_original="1">
- <inp2:m_RenderElement prefix="n" field="Excerpt" name="inp_original_label"/>
- </inp2:m_if>
- </tr>
- <!-- excerpt: end -->
-
- <inp2:m_RenderElement name="inp_edit_checkbox" prefix="n" field="AutomaticFilename" title="la_fld_AutomaticFilename" onchange="reflect_filename()" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="n" field="Filename" title="la_fld_Filename" size="53" display_original="1"/>
-
- <inp2:m_RenderElement name="subsection" prefix="n" title="la_section_Properties" original_title="la_section_OriginalValues" display_original="1"/>
- <inp2:m_if check="n_DisplayOriginal" display_original="1">
- <tr class="<inp2:m_odd_even odd="table-color1" even="table-color2"/>">
- <inp2:m_RenderElement name="inp_edit_field_caption" prefix="n" field="Status" title="!la_fld_Status!"/>
- <td colspan="3">
- <inp2:m_Phrase label="la_UseGridToApproveDecline" />
- </td>
- </tr>
- <inp2:m_else/>
- <inp2:m_RenderElement name="inp_edit_radio" prefix="n" field="Status" title="!la_fld_Status!" display_original="1"/>
- </inp2:m_if>
-
- <inp2:m_RenderElement name="inp_edit_radio" prefix="n" field="NewItem" title="!la_fld_New!" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_radio" prefix="n" field="HotItem" title="!la_fld_Hot!" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_radio" prefix="n" field="PopItem" title="!la_fld_Pop!" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_checkbox" prefix="n" field="EditorsPick" title="!la_fld_EditorsPick!" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_checkbox" prefix="n" field="LeadStory" title="!la_fld_LeadStory!" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_checkbox" prefix="n" field="LeadCatStory" title="!la_fld_LeadCatStory!" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="n" field="Priority" title="!la_fld_Priority!" size="4" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_date_time" prefix="n" field="CreatedOn" title="!la_fld_CreatedOn!" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_date_time" prefix="n" field="StartDate" title="!la_fld_StartDate!" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_date_time" prefix="n" field="EndOn" title="!la_fld_EndOn!" display_original="1"/>
-
- <inp2:m_RenderElement name="subsection" prefix="n" title="la_section_Counters" original_title="la_section_OriginalValues" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="n" field="CachedRating" title="!la_fld_Rating!" hint_label="la_prompt_RatingLimits" size="4" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="n" field="CachedVotesQty" title="!la_fld_Votes!" hint_label="la_prompt_VoteLimits" size="4" display_original="1"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="n" field="Hits" title="!la_fld_Hits!" hint_label="la_prompt_HitLimits" size="4" display_original="1"/>
- <input type="hidden" name="Hits_original" id="Hits_original" value="<inp2:n_Field name="Hits" db="db" />" />
-
- <!-- custom fields: begin -->
- <inp2:m_include t="in-portal/incs/custom_blocks"/>
- <inp2:cf.general_PrintList render_as="cv_row_block" SourcePrefix="n" value_field="Value" per_page="-1" grid="Default" original_title="la_section_OriginalValues" display_original="1"/>
- <!-- custom fields: end -->
-</table>
-
-<script type="text/javascript">
- function reflect_filename()
- {
- var $checked = document.getElementById('_cb_<inp2:n_InputName field="AutomaticFilename"/>').checked;
- document.getElementById('<inp2:n_InputName field="Filename"/>').readOnly = $checked;
- }
-</script>
-<inp2:m_include t="incs/footer"/>
Property changes on: trunk/in-news/admin_templates/articles/articles_edit.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.6
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin_templates/articles/articles_reviews.tpl
===================================================================
--- trunk/in-news/admin_templates/articles/articles_reviews.tpl (revision 12830)
+++ trunk/in-news/admin_templates/articles/articles_reviews.tpl (nonexistent)
@@ -1,121 +0,0 @@
-<inp2:m_RequireLogin permissions="NEWS.VIEW" perm_prefix="n"/>
-<inp2:m_include t="incs/header" nobody="yes"/>
-
-<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
-<inp2:m_RenderElement name="section_header" prefix="n" icon="icon46_articles" module="in-news" title="!la_title_Articles!"/>
-
-<inp2:m_include t="in-news/articles/articles_tabs"/>
-
-<inp2:m_RenderElement name="blue_bar" prefix="n" title_preset="articles_reviews" module="in-news" icon="icon46_articles"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('n','<inp2:n_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('n','OnCancelEdit');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
- a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
- go_to_id('n', '<inp2:n_PrevId/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
- go_to_id('n', '<inp2:n_NextId/>');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep2') );
-
- //Pricing related:
- a_toolbar.AddButton( new ToolBarButton('new_review', '<inp2:m_phrase label="la_ToolTip_NewReview" escape="1"/>',
- function() {
- std_new_item('n-rev', 'in-news/articles/review_edit')
- } ) );
-
- function edit()
- {
- std_edit_temp_item('n-rev', 'in-news/articles/review_edit');
- }
-
- a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
- a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
- function() {
- std_delete_items('n-rev')
- } ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep3') );
-
- a_toolbar.AddButton( new ToolBarButton('approve', '<inp2:m_phrase label="la_ToolTip_Approve" escape="1"/>', function() {
- submit_event('n-rev','OnMassApprove');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarButton('decline', '<inp2:m_phrase label="la_ToolTip_Decline" escape="1"/>', function() {
- submit_event('n-rev','OnMassDecline');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep4') );
-
- a_toolbar.AddButton( new ToolBarButton('move_up', '<inp2:m_phrase label="la_ToolTip_MoveUp" escape="1"/>', function() {
- submit_event('n-rev','OnMassMoveUp');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarButton('move_down', '<inp2:m_phrase label="la_ToolTip_MoveDown" escape="1"/>', function() {
- submit_event('n-rev','OnMassMoveDown');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep5') );
-
- a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
- show_viewmenu(a_toolbar,'view');
- }
- ) );
-
- a_toolbar.Render();
-
- <inp2:m_if check="n_IsSingle" >
- a_toolbar.HideButton('prev');
- a_toolbar.HideButton('next');
- a_toolbar.HideButton('sep1');
- <inp2:m_else/>
- <inp2:m_if check="n_IsLast" >
- a_toolbar.DisableButton('next');
- </inp2:m_if>
- <inp2:m_if check="n_IsFirst" >
- a_toolbar.DisableButton('prev');
- </inp2:m_if>
- </inp2:m_if>
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:m_DefineElement name="reviewtext_checkbox_td">
- <td valign="top" class="text">
- <input type="checkbox" name="<inp2:{$PrefixSpecial}_InputName field="$IdField" IdField="$IdField"/>" id="<inp2:{$PrefixSpecial}_InputName field="$IdField" IdField="$IdField"/>">
- <img src="<inp2:ModulePath module="In-Portal"/>img/itemicons/<inp2:{$PrefixSpecial}_ItemIcon grid="$grid"/>">&nbsp;
- <inp2:Field field="$field" no_special="no_special" cut_first="100"/>
- </td>
-</inp2:m_DefineElement>
-
-<inp2:m_RenderElement name="grid" PrefixSpecial="n-rev" IdField="ReviewId" grid="Default" menu_filters="yes"/>
-<script type="text/javascript">
- Grids['n-rev'].SetDependantToolbarButtons( new Array('edit','delete','approve','decline','move_up','move_down') );
-</script>
-
-<inp2:m_include t="incs/footer"/>
Property changes on: trunk/in-news/admin_templates/articles/articles_reviews.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin_templates/articles/images_edit.tpl
===================================================================
--- trunk/in-news/admin_templates/articles/images_edit.tpl (revision 12830)
+++ trunk/in-news/admin_templates/articles/images_edit.tpl (nonexistent)
@@ -1,60 +0,0 @@
-<inp2:m_RequireLogin permissions="NEWS.VIEW" perm_prefix="n"/>
-<inp2:m_include t="incs/header" nobody="yes"/>
-
-<inp2:m_include t="in-portal/incs/image_blocks"/>
-
-<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
-<inp2:m_RenderElement name="section_header" prefix="n" icon="icon46_articles" module="in-news" title="!la_Text_Articles!"/>
-
-<inp2:m_RenderElement name="blue_bar" prefix="n" title_preset="images_edit" module="in-news" icon="icon46_articles"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('n-img','<inp2:n-img_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('n-img','OnCancel');
- }
- ) );
-
- a_toolbar.Render();
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
- <inp2:m_RenderElement name="subsection" title="!la_section_Image!"/>
- <inp2:m_RenderElement name="inp_edit_hidden" prefix="n-img" field="ResourceId"/>
- <inp2:m_RenderElement name="inp_label" prefix="n-img" field="ImageId" title="!la_fld_ImageId!"/>
-
- <inp2:m_RenderElement name="inp_edit_box" prefix="n-img" field="Name" title="!la_fld_Name!" size="40"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="n-img" field="AltName" title="!la_fld_AltValue!" size="40"/>
-
- <inp2:m_RenderElement name="inp_edit_checkbox" prefix="n-img" field="Enabled" title="!la_fld_Enabled!" onchange="check_primary()" />
- <inp2:m_RenderElement name="inp_edit_checkbox" prefix="n-img" field="DefaultImg" title="!la_fld_Primary!" onchange="check_status()" />
- <inp2:m_RenderElement name="inp_edit_box" prefix="n-img" field="Priority" title="!la_fld_Priority!" size="5"/>
-
- <inp2:m_RenderElement name="subsection" title="!la_section_ThumbnailImage!"/>
- <inp2:m_RenderElement name="thumbnail_section" prefix="n-img"/>
-
- <inp2:m_RenderElement name="subsection" title="!la_section_FullSizeImage!"/>
- <inp2:m_RenderElement name="inp_edit_checkbox" prefix="n-img" field="SameImages" title="!la_fld_SameAsThumb!" onchange="toggle_fullsize()"/>
- <inp2:m_RenderElement name="fullsize_section" prefix="n-img"/>
-
-</table>
-
-<script type="text/javascript">
- <inp2:m_RenderElement name="images_edit_js" prefix="n-img"/>
- toggle_fullsize();
-</script>
-
-<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: trunk/in-news/admin_templates/articles/images_edit.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin_templates/articles/articles_categories.tpl
===================================================================
--- trunk/in-news/admin_templates/articles/articles_categories.tpl (revision 12830)
+++ trunk/in-news/admin_templates/articles/articles_categories.tpl (nonexistent)
@@ -1,91 +0,0 @@
-<inp2:m_RequireLogin permissions="NEWS.VIEW" perm_prefix="n"/>
-<inp2:m_include t="incs/header" nobody="yes"/>
-
-<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
-<inp2:m_RenderElement name="section_header" prefix="n" icon="icon46_articles" module="in-news" title="!la_title_Articles!"/>
-
-<inp2:m_include t="in-news/articles/articles_tabs"/>
-
-<inp2:m_RenderElement name="blue_bar" prefix="n" title_preset="articles_categories" module="in-news" icon="icon46_articles"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- function edit(){ }
-
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('n','<inp2:n_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('n','OnCancelEdit');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
- a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
- go_to_id('n', '<inp2:n_PrevId/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
- go_to_id('n', '<inp2:n_NextId/>');
- }
- ) );
-
- a_toolbar.AddButton( new ToolBarSeparator('sep2') );
-
- //Category related:
- a_toolbar.AddButton( new ToolBarButton('new_cat', '<inp2:m_phrase label="la_ToolTip_New_Category" escape="1"/>',
- function() {
- openSelector('n', '<inp2:adm_SelectorLink prefix="n" selection_mode="multi" tab_prefixes="none"/>', 'ItemCategory');
- } ) );
-
- a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
- function() {
- std_delete_items('n-ci')
- } ) );
-
- a_toolbar.AddButton( new ToolBarButton('primary_cat', '<inp2:m_phrase label="la_ToolTip_SetPrimaryCategory" escape="1"/>', function() {
- submit_event('n-ci','OnSetPrimary');
- }
- ) );
-
- a_toolbar.Render();
-
- <inp2:m_if check="n_IsSingle" >
- a_toolbar.HideButton('prev');
- a_toolbar.HideButton('next');
- a_toolbar.HideButton('sep1');
- <inp2:m_else/>
- <inp2:m_if check="n_IsLast" >
- a_toolbar.DisableButton('next');
- </inp2:m_if>
- <inp2:m_if check="n_IsFirst" >
- a_toolbar.DisableButton('prev');
- </inp2:m_if>
- </inp2:m_if>
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<inp2:m_DefineElement name="grid_checkbox_category_td" >
- <td valign="top" class="text">
- <input type="checkbox" name="<inp2:{$PrefixSpecial}_InputName field="$IdField"/>" id="<inp2:{$PrefixSpecial}_InputName field="$IdField"/>">
- <img src="<inp2:ModulePath />img/itemicons/<inp2:{$PrefixSpecial}_ItemIcon grid="$grid"/>">&nbsp;
- <inp2:CategoryName field="$field" primary_title="!la_PrimaryCategory!" no_special="1"/>
- </td>
-</inp2:m_DefineElement>
-
-<inp2:m_RenderElement name="grid" PrefixSpecial="n-ci" IdField="CategoryId" grid="Default" header_block="grid_column_title" data_block="grid_data_td" search="on"/>
-<script type="text/javascript">
- Grids['n-ci'].SetDependantToolbarButtons( new Array('delete','primary_cat') );
-</script>
-
-<inp2:m_include t="incs/footer"/>
Property changes on: trunk/in-news/admin_templates/articles/articles_categories.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin_templates/articles/review_edit.tpl
===================================================================
--- trunk/in-news/admin_templates/articles/review_edit.tpl (revision 12830)
+++ trunk/in-news/admin_templates/articles/review_edit.tpl (nonexistent)
@@ -1,57 +0,0 @@
-<inp2:m_RequireLogin permissions="NEWS.VIEW" perm_prefix="n"/>
-<inp2:m_include t="incs/header" nobody="yes"/>
-
-<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
-<inp2:m_RenderElement name="section_header" prefix="n" icon="icon46_articles" module="in-news" title="!la_Text_Reviews!"/>
-
-<inp2:m_RenderElement name="blue_bar" prefix="n" title_preset="reviews_edit" module="in-news" icon="icon46_articles"/>
-
-<!-- ToolBar --->
-<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
-<tbody>
- <tr>
- <td>
- <script type="text/javascript">
- a_toolbar = new ToolBar();
- a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
- submit_event('n-rev','<inp2:n-rev_SaveEvent/>');
- }
- ) );
- a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
- submit_event('n-rev','OnCancel');
- }
- ) );
-
- a_toolbar.Render();
-
- <inp2:m_if check="n-rev_IsSingle" >
- a_toolbar.HideButton('prev');
- a_toolbar.HideButton('next');
- a_toolbar.HideButton('sep1');
- <inp2:m_else/>
- <inp2:m_if check="n-rev_IsLast" >
- a_toolbar.DisableButton('next');
- </inp2:m_if>
- <inp2:m_if check="n-rev_IsFirst" >
- a_toolbar.DisableButton('prev');
- </inp2:m_if>
- </inp2:m_if>
- </script>
- </td>
- </tr>
-</tbody>
-</table>
-
-<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
- <inp2:m_RenderElement name="subsection" title="!la_Text_Review!"/>
- <inp2:m_RenderElement name="inp_edit_hidden" prefix="n-rev" field="ItemId"/>
- <inp2:m_RenderElement name="inp_edit_checkbox_allow_html" prefix="n-rev" field="TextFormat"/>
- <inp2:m_RenderElement name="inp_label" prefix="n-rev" field="ReviewId" title="!la_fld_ReviewId!"/>
- <inp2:m_RenderElement name="inp_edit_user" prefix="n-rev" field="CreatedById" title="!la_fld_CreatedById!" class="text"/>
- <inp2:m_RenderElement name="inp_edit_textarea" prefix="n-rev" field="ReviewText" title="!la_fld_ReviewText!" cols="70" rows="8"/>
- <inp2:m_RenderElement name="subsection" title="!la_Text_General!"/>
- <inp2:m_RenderElement name="inp_edit_radio" prefix="n-rev" field="Status" title="!la_fld_Status!"/>
- <inp2:m_RenderElement name="inp_edit_box" prefix="n-rev" field="Priority" title="!la_fld_Priority!" size="3" class="text"/>
- <inp2:m_RenderElement name="inp_edit_date_time" prefix="n-rev" field="CreatedOn" title="!la_fld_CreatedOn!" size="20" class="text"/>
-</table>
-<inp2:m_include t="incs/footer"/>
Property changes on: trunk/in-news/admin_templates/articles/review_edit.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin_templates/category_properties.tpl
===================================================================
--- trunk/in-news/admin_templates/category_properties.tpl (revision 12830)
+++ trunk/in-news/admin_templates/category_properties.tpl (nonexistent)
@@ -1,31 +0,0 @@
-<inp2:m_RenderElement name="subsection" title="!la_In-news!"/>
-<inp2:m_DefineElement name="inp_edit_type" class="" is_last="" maxlength="" onblur="" size="" is_last="" has_empty="0" empty_value="" type_field="">
- <tr class="<inp2:m_odd_even odd="table-color1" even="table-color2"/>">
- <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title" is_last="$is_last"/>
- <td>
- <input type="text" name="<inp2:{$prefix}_InputName field="$field" />" id="<inp2:{$prefix}_InputName field="$field" />" value="<inp2:{$prefix}_Field field="$field" />" tabindex="<inp2:m_get param="tab_index"/>" size="<inp2:m_param name="size"/>" maxlength="<inp2:m_param name="maxlength"/>" class="<inp2:m_param name="class"/>" onblur="<inp2:m_Param name="onblur"/>">
-
- <select tabindex="<inp2:m_get param="tab_index"/>" name="<inp2:{$prefix}_InputName field="$type_field"/>" id="<inp2:{$prefix}_InputName field="$type_field"/>" onchange="<inp2:m_Param name="onchange"/>">
- <inp2:m_if check="m_ParamEquals" name="use_phrases" value="1" >
- <inp2:{$prefix}_PredefinedOptions field="$type_field" block="inp_option_phrase" selected="selected" has_empty="$has_empty" empty_value="$empty_value"/>
- <inp2:m_else/>
- <inp2:{$prefix}_PredefinedOptions field="$type_field" block="inp_option_item" selected="selected" has_empty="$has_empty" empty_value="$empty_value"/>
- </inp2:m_if>
- </select>
-
- <inp2:m_if check="{$prefix}_HasParam" name="hint_label"><span class="small"><inp2:m_phrase label="$hint_label"/></span></inp2:m_if>
- </td>
- <td class="error"><inp2:{$prefix}_Error field="$field"/>&nbsp;</td>
- </tr>
-</inp2:m_DefineElement>
-
-<inp2:m_RenderElement name="inp_edit_box" prefix="c" field="cust_n_ItemTemplate" type_field="cust_n_ItemTemplate" title="!la_fld_cust_n_ItemTemplate!" size="50"/>
-
-<inp2:m_RenderElement name="subsection" title="!la_section_RssProperties!"/>
-<inp2:m_RenderElement name="inp_edit_box" prefix="c" field="cust_RssSource" type_field="cust_RssSource" title="!la_fld_RssSource!" size="50"/>
-<inp2:m_RenderElement name="inp_edit_type" prefix="c" field="cust_RssUpdateInterval" type_field="cust_RssUpdateIntervalType" title="!la_fld_RssUpdateInterval!" use_phrases="1"/>
-
-<inp2:m_RenderElement name="subsection" title="!la_section_RssExpiration!"/>
-<inp2:m_RenderElement name="inp_edit_type" prefix="c" field="cust_RssDefaultExpiration" type_field="cust_RssDefaultExpirationType" title="!la_fld_RssDefaultExpiration!" use_phrases="1"/>
-<inp2:m_RenderElement name="inp_edit_type" prefix="c" field="cust_RssExpireInterval" type_field="cust_RssExpireIntervalType" title="!la_fld_RssExpireInterval!" use_phrases="1"/>
-<inp2:m_RenderElement name="inp_edit_checkbox" prefix="c" field="cust_RssDeleteExpired" title="!la_fld_RssDeleteExpired!"/>
Property changes on: trunk/in-news/admin_templates/category_properties.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin_templates/catalog_tab.tpl
===================================================================
--- trunk/in-news/admin_templates/catalog_tab.tpl (revision 12830)
+++ trunk/in-news/admin_templates/catalog_tab.tpl (nonexistent)
@@ -1,60 +0,0 @@
-<inp2:m_DefineElement name="catalog_tab">
- <inp2:m_if check="m_ParamEquals" name="tab_init" value="" inverse="inverse">
- <inp2:m_if check="m_ParamEquals" name="tab_init" value="1">
- a_toolbar.AddButton( new ToolBarButton('in-news:new_article', '<inp2:m_phrase label="la_ToolTip_NewArticle" escape="1"/>', function() {
- $form_name = $Catalog.queryTabRegistry('prefix', '<inp2:m_param name="prefix"/>', 'tab_id') + '_form';
- std_precreate_item('<inp2:m_param name="prefix"/>', 'in-news/articles/articles_edit');
- }, true
- ) );
- </inp2:m_if>
-
- <inp2:m_if check="m_ParamEquals" name="tab_init" value="2">
- <div id="articles_div" prefix="<inp2:m_param name="prefix"/>" view_template="in-news/catalog_tab" edit_template="in-news/articles/articles_edit" category_id="-1" dep_buttons="new_article" class="catalog-tab"></div>
- <script type="text/javascript">$Catalog.registerTab('articles');</script>
- </inp2:m_if>
- <inp2:m_else/>
- <inp2:lang.current_Field name="Charset" result_to_var="charset"/>
- <inp2:m_Header data="Content-type: text/plain; charset=$charset"/>
- <inp2:m_include t="incs/blocks"/>
- <inp2:m_include t="incs/grid_blocks"/>
- <inp2:m_include t="in-portal/categories/ci_blocks"/>
- $Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:{$prefix}_CatalogItemCount/>');
- $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id"/>);
-
- <inp2:m_RenderElement name="grid_js" selected_class="selected_div" tag_name="tr" PrefixSpecial="$prefix" IdField="NewsId" grid="Default" menu_filters="yes"/>
- <inp2:m_RenderElement name="grid_search_buttons" PrefixSpecial="$prefix" grid="Default" ajax="1"/>
- <inp2:m_if check="m_ParamEquals" name="tab_dependant" value="yes">
- Grids['<inp2:m_param name="prefix"/>'].AddAlternativeGrid('<inp2:m_param name="cat_prefix"/>', true);
- </inp2:m_if>
- Grids['<inp2:m_param name="prefix"/>'].SetDependantToolbarButtons( new Array('edit','delete','approve','decline','sep3','cut','copy','move_up','move_down','sep6'));
- $Catalog.reflectPasteButton(<inp2:c_HasClipboard/>);
- $Catalog.setViewMenu('<inp2:m_param name="prefix"/>');
- <inp2:m_if check="m_ParamEquals" name="tab_mode" value="single">
- Grids['<inp2:m_param name="prefix"/>'].EnableRadioMode();
- Grids['<inp2:m_param name="prefix"/>'].DblClick = function() {return false};
- </inp2:m_if>
- #separator#
- <!-- articles tab: begin -->
- <inp2:m_RenderElement name="kernel_form" form_name="articles_form"/>
-
- <inp2:m_DefineElement name="article_expire_td">
- <td valign="top" class="text">
- <inp2:m_if check="Field" name="$field">
- <inp2:Field field="$field" grid="$grid" no_special="$no_special" format="$format"/>
- <inp2:m_else/>
- <inp2:m_phrase name="la_Never"/>
- </inp2:m_if>
- </td>
- </inp2:m_DefineElement>
-
- <inp2:m_if check="m_ParamEquals" name="tab_mode" value="multi">
- <inp2:m_RenderElement name="grid" ajax="1" PrefixSpecial="$prefix" IdField="NewsId" grid="Default" no_toolbar="no_toolbar" menu_filters="yes"/>
- <inp2:m_else/>
- <inp2:m_RenderElement name="grid" ajax="1" PrefixSpecial="$prefix" IdField="NewsId" grid="Radio" no_toolbar="no_toolbar" menu_filters="yes"/>
- </inp2:m_if>
- <inp2:m_RenderElement name="kernel_form_end"/>
- <!-- articles tab: end -->
- </inp2:m_if>
-</inp2:m_DefineElement>
-
-<inp2:n_InitCatalogTab render_as="catalog_tab"/>
\ No newline at end of file
Property changes on: trunk/in-news/admin_templates/catalog_tab.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.12
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/toolbar/tool_new_article_f2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/toolbar/tool_new_article_f2.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/toolbar/tool_new_article_f3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/toolbar/tool_new_article_f3.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/toolbar/tool_new_article.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/toolbar/tool_new_article.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon46_list_settings_in-newz.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon46_list_settings_in-newz.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon46_settings_in-newz.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon46_settings_in-newz.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon24_settings_email.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon24_settings_email.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon24_settings_general.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon24_settings_general.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon24_settings_search.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon24_settings_search.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon46_list_settings_email.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon46_list_settings_email.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon46_articles.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon46_articles.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon46_list_settings_general.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon46_list_settings_general.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon24_settings_custom.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon24_settings_custom.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon46_list_settings_custom.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon46_list_settings_custom.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon46_list_settings_output.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon46_list_settings_output.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon24_settings_in-link.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon24_settings_in-link.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon24_settings_output.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon24_settings_output.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon46_list_settings_search.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon46_list_settings_search.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/icons/icon24_settings_in-newz.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/icons/icon24_settings_in-newz.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/logo_bg.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/logo_bg.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/itemicons/icon16_article_pick.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/itemicons/icon16_article_pick.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/itemicons/icon16_article_hot.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/itemicons/icon16_article_hot.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/itemicons/icon16_article_pop.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/itemicons/icon16_article_pop.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/itemicons/icon16_article.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/itemicons/icon16_article.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/itemicons/icon16_article_new.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/itemicons/icon16_article_new.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/itemicons/icon16_article_pending.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/itemicons/icon16_article_pending.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/admin_templates/img/itemicons/icon16_article_disabled.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/in-news/admin_templates/img/itemicons/icon16_article_disabled.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/in-news/in-news_config.php
===================================================================
--- trunk/in-news/in-news_config.php (revision 12830)
+++ trunk/in-news/in-news_config.php (nonexistent)
@@ -1 +0,0 @@
-<?php $config = Array(); ?>
\ No newline at end of file
Property changes on: trunk/in-news/in-news_config.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/in-news/rssparser.php
===================================================================
--- trunk/in-news/rssparser.php (revision 12830)
+++ trunk/in-news/rssparser.php (nonexistent)
@@ -1,237 +0,0 @@
-<?php
-/*
-CaRP
-Copyright (c) 2002-3 Antone Roundy
-http://www.mouken.com/rss/
-
-This program may be copied, modified and redistributed under the terms of the
-GNU General Public License. This program is distributed with NO WARRANTY
-WHATSOEVER, including the implied warranty of merchantability or fitness for
-a particular purpose.
-See http://www.gnu.org/copyleft/gpl.html for details.
-*/
-
-$carpversion='2.4.1';
-$carpconf=array(
- 'cachepath'=>'/www/data/rsscache',
- 'cacheinterval'=>60,
- 'cachetime'=>'',
- 'timeout'=>15,
- 'sendhost'=>1,
- 'descriptiontags'=>'b|/b|i|/i|br|p|/p|hr|span|/span|font|/font',
- 'newwindow'=>0,
- 'showdesc'=>0,
- 'maxdesc'=>0,
- 'truncdesc'=>0,
- 'posttruncdesc'=>'<i>... continues</i>',
- 'maxitems'=>15,
- 'maxtitle'=>80,
- 'defaulttitle'=>'(no title)',
- 'linkclass'=>'',
- 'linkstyle'=>'',
- 'linkdiv'=>'',
- 'preitem'=>'',
- 'postitem'=>'<br>',
- 'preitems'=>'',
- 'postitems'=>'',
- 'showctitle'=>0,
- 'showclink'=>1,
- 'showcdesc'=>0,
- 'maxctitle'=>80,
- 'cclass'=>'',
- 'cstyle'=>'',
- 'cdiv'=>'',
- 'encodingin'=>'',
- 'encodingout'=>'',
- 'maxredir'=>10,
-/* If you modify or override the next line, please post a similar link
-somewhere on your website. If you incorporate CaRP into another product and
-feel the need to change this line, please ensure that there is a similar link
-which will be displayed by default somewhere in your product. Thanks! */
- 'poweredby'=>'<br><i><a href="http://www.mouken.com/rss/" target="_blank">Newsfeed display by CaRP</a></i>'
-);
-
-class RSSParser {
- var $insideitem=0;
- var $insidechannel=0;
- var $tag='';
- var $title='';
- var $description='';
- var $link='';
- var $ctitle='';
- var $cdescription='';
- var $clink='';
- var $itemcount=0;
- var $top='';
- var $body='';
- var $truncdesc=0;
-
- function startElement($parser,$tagName,$attrs) {
- $this->tag=$tagName;
- if ($tagName=="ITEM") $this->insideitem=1;
- if ($tagName=="CHANNEL") $this->insidechannel=1;
- else if ($this->insidechannel&&!(($tagName=="TITLE")||($tagName=="DESCRIPTION")||($tagName=="LINK"))) $this->insidechannel++;
- }
-
- function endElement($parser,$tagName) {
- global $carpconf;
- if ($tagName=="ITEM") {
- if ($this->itemcount<$carpconf['maxitems']) {
- if (strlen($this->title)>$carpconf['maxtitle']) $this->title=substr($this->title,0,$carpconf['maxtitle']-3).'...';
- $this->title=htmlspecialchars(trim($this->title));
- if (!strlen($this->title)) $this->title=$carpconf['defaulttitle'];
- $this->body.=$carpconf['preitem'].$carpconf['linkdiv'];
- $this->body.="<a href=\"".trim($this->link)."\"".($carpconf['newwindow']?' target="_blank"':'').
- (strlen($carpconf['linkclass'])?(' class="'.$carpconf['linkclass'].'"'):'').
- (strlen($carpconf['linkstyle'])?(' style="'.$carpconf['linkstyle'].'"'):'').
- '>'.$this->title.'</a>'.(strlen($carpconf['linkdiv'])?"</div>\n":($carpconf['showdesc']?"<br>\n":''));
- if ($carpconf['showdesc']) {
- if (strlen($carpconf['desctags'])) $adddesc=trim(preg_replace("#<(?!".$carpconf['desctags'].")(.*?)>#is","&lt;\\1\\2&gt;",$this->description));
- else $adddesc=trim(preg_replace("#<(.*?)>#is","&lt;\\1&gt;",$this->description));
- if ($carpconf['maxdesc']&&(strlen($adddesc)>$carpconf['maxdesc'])) $this->body.=substr($adddesc,0,$this->truncdesc).$carpconf['posttruncdesc'];
- else $this->body.=$adddesc;
- }
- $this->body.=$carpconf['postitem']."\n";
- $this->itemcount++;
- $this->title=$this->description=$this->link='';
- }
- $this->insideitem=false;
- } else if ($tagName=="CHANNEL") {
- if ($carpconf['showctitle']) {
- if (strlen($this->ctitle)>$carpconf['maxctitle']) $this->ctitle=substr($this->ctitle,0,$carpconf['maxctitle']-3).'...';
- $this->ctitle=htmlspecialchars(trim($this->ctitle));
- if (!strlen($this->ctitle)) $this->ctitle=$carpconf['defaulttitle'];
- $this->top.=$carpconf['cdiv'];
- if ($carpconf['showclink']) $this->top.="<a href=\"".trim($this->clink)."\"".($carpconf['newwindow']?' target="_blank"':'').
- (strlen($carpconf['cclass'])?(' class="'.$carpconf['cclass'].'"'):'').
- (strlen($carpconf['cstyle'])?(' style="'.$carpconf['cstyle'].'"'):'').
- ">".$this->ctitle."</a>";
- else if (strlen($carpconf['cclass'].$carpconf['cstyle'])) $this->top.='<span'.
- (strlen($carpconf['cclass'])?(' class="'.$carpconf['cclass'].'"'):'').
- (strlen($carpconf['cstyle'])?(' style="'.$carpconf['cstyle'].'"'):'').
- '>'.$this->ctitle."</span>";
- else $this->top.=$this->ctitle;
- $this->top.=strlen($carpconf['cdiv'])?"</div>\n":"<br>\n";
- if ($carpconf['showcdesc']) {
- if (strlen($carpconf['desctags'])) $this->top.=trim(preg_replace("#<(?!".$carpconf['desctags'].")(.*?)>#is","&lt;\\1\\2&gt;",$this->cdescription))."<p>\n";
- else $this->top.=trim(preg_replace("#<(.*?)>#is","&lt;\\1&gt;",$this->cdescription))."<p>\n";
- }
- }
- $this->ctitle=$this->cdescription=$this->clink='';
- $this->insidechannel=false;
- } else if ($this->insidechannel>1) $this->insidechannel--;
- }
-
- function characterData($parser,$data) {
- if ($this->insideitem) {
- switch ($this->tag) {
- case "TITLE": $this->title.=$data; break;
- case "DESCRIPTION": $this->description.=$data; break;
- case "LINK": $this->link.=$data; break;
- }
- } else if ($this->insidechannel==1) {
- switch ($this->tag) {
- case "TITLE": $this->ctitle.=$data; break;
- case "DESCRIPTION": $this->cdescription.=$data; break;
- case "LINK": $this->clink.=$data; break;
- }
- }
- }
-}
-
-function CaRPError($s) { echo "<br>\n[CaRP] $s<br>\n"; }
-
-function OpenRSSFeed($url) {
- global $carpconf,$carpversion,$CaRPRedirs;
-
- if (preg_match("#^http://#i",$url)) {
- list($domain,$therest)=explode('/',substr($url,7),2);
- if (preg_match("/\:[0-9]+$/",$domain)) list($domain,$port)=explode(':',$domain,2);
- else $port=80;
- $fp=fsockopen($domain,$port,$errno,$errstr,$carpconf['timeout']);
- if ($fp) {
- $slash=preg_match("#^http://#i",$therest)?'':'/';
- $senddomain=$carpconf['sendhost']?"\r\nHost: $domain":'';
- fputs($fp,"GET $slash$therest HTTP/1.0$senddomain\r\nUser-Agent: CaRP/$carpversion\r\n\r\n");
- while ((!feof($fp))&&preg_match("/[^\r\n]/",$header=fgets($fp,1000))) {
- if (preg_match("/^Location:/i",$header)) {
- fclose($fp);
- if (count($CaRPRedirs)<$carpconf['maxredir']) {
- $loc=trim(preg_replace("/^Location:/i",'',$header));
- $lochttp=preg_match("#^http://#i",$loc);
- if (!(strlen($slash)||$lochttp)) {
- list($rdomain,$rtherest)=explode('/',substr($therest,strpos($therest,':')+3),2);
- $loc="http://$rdomain$loc";
- }
- if (!(strlen($slash)&&$lochttp)) $loc="http://$domain".(($port==80)?'':":$port").(strlen($slash)?'':'/').$loc;
- for ($i=count($CaRPRedirs)-1;$i>=0;$i--) if (!strcmp($loc,$CaRPRedirs[$i])) {
- CaRPError('Redirection loop detected. Giving up.');
- return 0;
- }
- $CaRPRedirs[count($CaRPRedirs)]=$loc;
- return OpenRSSFeed($loc);
- } else {
- CaRPError('Too many redirects. Giving up.');
- return 0;
- }
- }
- }
- } else echo CaRPError("$errstr ($errno)");
- } else $fp=fopen($url,'r');
- return $fp;
-}
-
-function ShowRSSPage($url,$cachefile) { ShowRSSFeed($url,$cachefile); }
-
-function ShowRSSFeed($url,$cachefile='') {
- global $carpconf,$CaRPRedirs;
- $carpconf['desctags']=preg_replace("/\|/",'\b|',$carpconf['descriptiontags']).'\b';
- $cache=0;
- if (strlen($cachefile)) {
- $cachefile=preg_replace("/\.\./",'.',$cachefile);
- if (file_exists($carpconf['cachepath']."/$cachefile")) {
- $mtime=filemtime($carpconf['cachepath']."/$cachefile");
- $nowtime = adodb_mktime();
- if (strlen($carpconf['cachetime'])) {
- list($hour,$min)=explode(':',$carpconf['cachetime']);
- $limtime = adodb_mktime($hour,$min,0);
- $cache=($mtime>$limtime-(($nowtime<$limtime)?86400:0))?1:2;
- } else $cache=(($nowtime-$mtime)<($carpconf['cacheinterval']*60))?1:2;
- } else $cache=2;
- }
- if ($cache%2==0) {
- $xml_parser=xml_parser_create($carpconf['encodingin']);
- if (strlen($carpconf['encodingout'])) xml_parser_set_option($xml_parser,XML_OPTION_TARGET_ENCODING,$carpconf['encodingout']);
- $rss_parser=new RSSParser();
- xml_set_object($xml_parser,$rss_parser);
- xml_set_element_handler($xml_parser,"startElement","endElement");
- xml_set_character_data_handler($xml_parser,"characterData");
- if ($cache) {
- if (!($cfp=fopen($carpconf['cachepath']."/$cachefile",'w'))) {
- CaRPError("Unable to create/open RSS cache file.");
- xml_parser_free($xml_parser);
- return;
- }
- }
- $CaRPRedirs=array();
- if ($fp=OpenRSSFeed($url)) {
- if ($carpconf['maxdesc']) $rss_parser->truncdesc=$carpconf['truncdesc']?$carpconf['truncdesc']:($carpconf['maxdesc']-strlen($carpconf['posttruncdesc']));
- while ($data=preg_replace("/&(?!lt|gt|amp|apos|quot)(.*\b)/is","&amp;\\1\\2",fread($fp,4096))) {
- if (!xml_parse($xml_parser,$data,feof($fp))) {
- CaRPError("XML error: ".xml_error_string(xml_get_error_code($xml_parser))." at line ".xml_get_current_line_number($xml_parser));
- fclose($fp);
- xml_parser_free($xml_parser);
- return;
- }
- }
- fclose($fp);
- echo $rss_parser->top.$carpconf['preitems'].$rss_parser->body.$carpconf['postitems'].$carpconf['poweredby'];
- if ($cfp) {
- fwrite($cfp,$rss_parser->top.$carpconf['preitems'].$rss_parser->body.$carpconf['postitems'].$carpconf['poweredby']);
- fclose($cfp);
- }
- xml_parser_free($xml_parser);
- } else readfile($carpconf['cachepath']."/$cachefile");
- } else readfile($carpconf['cachepath']."/$cachefile");
-}
-?>
Property changes on: trunk/in-news/rssparser.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/quicklinks/edpick.tpl
===================================================================
--- trunk/themes/default/innews/quicklinks/edpick.tpl (revision 12830)
+++ trunk/themes/default/innews/quicklinks/edpick.tpl (nonexistent)
@@ -1,7 +0,0 @@
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="friend-box-top"><inp:m_language _Phrase="lu_editors_picks" /></td>
- </tr>
- <inp:include _Template="innews/quicklinks/edpick/articles.tpl" _DataExists=1 />
-</table>
-
Property changes on: trunk/themes/default/innews/quicklinks/edpick.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/quicklinks/new.tpl
===================================================================
--- trunk/themes/default/innews/quicklinks/new.tpl (revision 12830)
+++ trunk/themes/default/innews/quicklinks/new.tpl (nonexistent)
@@ -1,6 +0,0 @@
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="friend-box-top"><inp:m_language _Phrase="lu_new_articles" /></td>
- </tr>
- <inp:include _Template="innews/quicklinks/new/articles.tpl" _DataExists=1 />
-</table>
Property changes on: trunk/themes/default/innews/quicklinks/new.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/quicklinks/new/articles.tpl
===================================================================
--- trunk/themes/default/innews/quicklinks/new/articles.tpl (revision 12830)
+++ trunk/themes/default/innews/quicklinks/new/articles.tpl (nonexistent)
@@ -1,17 +0,0 @@
-<tr>
- <td class="bgr-quick-links">
- <table width="100%" border="0" cellspacing="0" cellpadding="1">
- <tr>
- <td colspan="2" class="quick-title">
- <inp:m_module_link _Module="In-News" _Text="lu_articles" _Template="new.tpl" _Root="1" />
- <span class="statistics">(<inp:n_list_count _ListType="new" _Paging="0" _MaxCount="10" _ShortList="1" />)</span>
- <img src="img/arr_more.gif" width="16" height="7" alt="" />
- </td>
- </tr>
- <inp:n_list_news _ListType="new" _Paging="0" _MaxCount="10" _ShortList="1" _ItemTemplate="innews/quicklinks/articles_element.tpl" _DataExists=1 />
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- </table>
- </td>
-</tr>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/quicklinks/new/articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/quicklinks/edpick/articles.tpl
===================================================================
--- trunk/themes/default/innews/quicklinks/edpick/articles.tpl (revision 12830)
+++ trunk/themes/default/innews/quicklinks/edpick/articles.tpl (nonexistent)
@@ -1,18 +0,0 @@
-<tr>
- <td class="bgr-quick-links">
- <table width="100%" border="0" cellspacing="0" cellpadding="1">
- <tr>
- <td colspan="2" class="quick-title">
- <inp:m_module_link _Module="In-News" _Text="lu_articles" _Template="pick.tpl" _Root="1" />
- <span class="statistics">(<inp:n_list_count _ListType="pick" _Paging="0" _MaxCount="10" />)</span>
- <img src="img/arr_more.gif" width="16" height="7" alt="" />
- </td>
- </tr>
- <inp:n_list_news _ListType="pick" _Paging="0" _MaxCount="10" _ItemTemplate="innews/quicklinks/articles_element.tpl" _DataExists=1 _ShortList=1 />
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- </table>
- </td>
-</tr>
-
Property changes on: trunk/themes/default/innews/quicklinks/edpick/articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/quicklinks/articles_element.tpl
===================================================================
--- trunk/themes/default/innews/quicklinks/articles_element.tpl (revision 12830)
+++ trunk/themes/default/innews/quicklinks/articles_element.tpl (nonexistent)
@@ -1,6 +0,0 @@
- <tr>
- <td align="right"><img src="img/arr_yell.gif" width="7" height="7" alt="" /></td>
- <td class="quick-links" WIDTH="100%"><a href="<inp:article _field="link" _template="__default__" />"><inp:article _field="title" /></a></td>
- </tr>
-
-
Property changes on: trunk/themes/default/innews/quicklinks/articles_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/body_image.tpl
===================================================================
--- trunk/themes/default/innews/body_image.tpl (revision 12830)
+++ trunk/themes/default/innews/body_image.tpl (nonexistent)
@@ -1,38 +0,0 @@
-<!-- text image 1 -->
-<table width="200" border="0" cellspacing="0" cellpadding="0" align="left">
- <tbody><tr>
- <td width="10000"><img src="<inp:image _field="thumb_url" />" width="200" height="150" alt=""><br></td>
- <td>&nbsp;</td>
- </tr>
- <tr>
-
- <td><img src="img/s.gif" width="1" height="1" alt=""><br></td>
- <td><img src="img/s.gif" width="5" height="1" alt=""><br></td>
- </tr>
- <tr>
- <td class="bgr-updatefill">
- <!-- underimage info & zoom -->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tbody><tr>
- <td><img src="img/s.gif" width="5" height="1" alt=""><br></td>
-
- <td class="field-title" width="10000">
- <inp:image _field="alt" />
- </td>
- <td align="right"><a href="javascript:;" onmouseover="self.status = '';return true;" onclick="window.open('<inp:image _field="full_url" />','','toolbar=0,location=0,status=0,menubar=0,directories=0,resizable=1,scrollbars=1,width=450,height=370,top=100,left=200');"><img src="img/ic_zoom.gif" width="16" height="16" alt="<inp:m_language _Phrase="lu_enlarge_picture" />"></a><br></td>
- <td class="zoom"><a href="javascript:;" onmouseover="self.status = '';return true;" onclick="window.open('<inp:image _field="full_url" />','','toolbar=0,location=0,status=0,menubar=0,directories=0,resizable=1,scrollbars=1,width=450,height=370,top=100,left=200');" title="<inp:m_language _Phrase="lu_enlarge_picture" />"><inp:m_language _Phrase="lu_zoom" /></a></td>
- <td><img src="img/s.gif" width="5" height="1" alt=""><br></td>
- </tr>
-
- </tbody></table>
- <!-- end underimage info & zoom -->
- </td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="1" height="2" alt=""><br></td>
- <td><img src="img/s.gif" width="1" height="2" alt=""><br></td>
-
- </tr>
-</tbody></table>
-<!-- end text image 1 -->
Property changes on: trunk/themes/default/innews/body_image.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/pick.tpl
===================================================================
--- trunk/themes/default/innews/pick.tpl (revision 12830)
+++ trunk/themes/default/innews/pick.tpl (nonexistent)
@@ -1,69 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
- </tr>
- <tr height="100%">
- <td valign="top" class="bott-line">
-
- <!-- path //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
- </tr>
- <tr>
- <td class="bgr-path">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><inp:m_navbar _RootTemplate="index" _Template="__default__" _LinkCurrent="1" _separator=" &gt; " /></td>
- <td align="right">
- <table border="0" cellspacing="0" cellpadding="0" align="right">
- <tr>
- <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
- <td>&nbsp;</td>
- <td class="post-action"><span onclick="showSeg('langmenu',true); "><inp:m_lang_field _Field="LocalName" /></span></td>
- <td>&nbsp;&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <inp:include _Template="lang_select/lang_menu.tpl" />
- </td>
- </tr>
- </table>
- <!-- path \\-->
-
- <inp:include _template="innews/pick/articles.tpl" />
- </td>
-
- <!-- white line content/right column //-->
- <td><img src="img/s.gif" width="1" height="1" alt="" /></td>
- <!-- white line content/right column \\-->
-
- <!-- right column //-->
- <td valign="top" height="100%" class="open-box"><inp:include _template="innews/pick/right.tpl" /></td>
- <!-- right column \\-->
-
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
-
- <inp:include _Template="common/footer.tpl" />
-</table>
-
-</body>
-</html>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/pick.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/main.tpl
===================================================================
--- trunk/themes/default/innews/main.tpl (revision 12830)
+++ trunk/themes/default/innews/main.tpl (nonexistent)
@@ -1,61 +0,0 @@
-<!-- news update line -->
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-updatefill" width="10000"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td nowrap="nowrap" class="updated"><inp:m_language _Phrase="lu_news_updated" />: <inp:n_article_modified /></td>
- </tr>
- </table>
- <!-- end news update line -->
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000" class="bgr-news">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="5"><h2><inp:m_module_link _Module="In-News" _Template="index" _Text="lu_news" _Root="1"/></h2></td>
- </tr>
- <tr>
- <td colspan="5"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- <tr>
- <td class="statistics"><inp:m_language _Phrase="lu_total_news" />:&nbsp;<span><inp:m_itemcount _ItemType="Article" _GroupOnly="1" /></span></td>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td class="statistics"><inp:m_language _Phrase="lu_added_today" />:&nbsp;<span><inp:m_itemcount _ItemType="Article" _Today="1" _GroupOnly="1" /></span></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="5"><img src="img/s.gif" width="1" height="3" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="5" class="bgr-updatefill"><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- </tr>
- </table>
-
- <!-- news content -->
- <br />
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top">
- <inp:n_list_news _ListType="pick" _ItemTemplate="innews/main/topstories.tpl" _ShortList="1" />
- </td>
- </tr>
- <tr>
- <td align="right" valign="top" class="posts">
- <a href="<inp:n_root_link _Template="__default__" />"><inp:m_language _Phrase="lu_more" /></a><img src="img/arr_more.gif" width="16" height="7" alt="" />
- </td>
- </tr>
- </table>
-
- <!-- end news content -->
- </td>
- </tr>
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="2" class="bgr-separate"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- </table>
Property changes on: trunk/themes/default/innews/main.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/related_links.tpl
===================================================================
--- trunk/themes/default/innews/related_links.tpl (revision 12830)
+++ trunk/themes/default/innews/related_links.tpl (nonexistent)
@@ -1,43 +0,0 @@
-<!-- related links line -->
-<img src="img/s.gif" width="1" height="1" alt="" /><br />
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-updatelight"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- </tr>
-</table>
-<!-- end related links line -->
-
-<!-- related links -->
-<img src="img/s.gif" width="1" height="5" alt="" /><br />
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <h3><inp:m_language _Phrase="lu_related_links" /> <span>(<inp:n_related_count _ItemType="Link" />)</span></h3>
- </td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="3" alt="" /><br /></td>
- </tr>
- <tr>
- <td class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- </table>
-
- <!-- related item content -->
- <br />
- <inp:n_related_items _ListItems="Link" _LinkTemplate="inlink/related_element" _Columns="2" _NoTable="0" />
- <!-- end item content -->
- </td>
- </tr>
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
-</table>
-<!-- end related links -->
-
-
-
Property changes on: trunk/themes/default/innews/related_links.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/main_popitems.tpl
===================================================================
--- trunk/themes/default/innews/main_popitems.tpl (revision 12830)
+++ trunk/themes/default/innews/main_popitems.tpl (nonexistent)
@@ -1,17 +0,0 @@
- <tr>
- <td class="bgr-quick-links-top" valign="top">
- <table width="100%" border="0" cellspacing="0" cellpadding="1">
- <tr>
- <td colspan="2" class="quick-title">
- <inp:m_module_link _Module="In-News" _Text="lu_news" _Template="index" _Root="1" />
- <span class="statistics">(<inp:n_list_count _ListType="pop" _ShortList="1" />)</span>
- <img src="img/arr_more.gif" width="16" height="7" alt="" />
- </td>
- </tr>
- <inp:n_list_news _ListType="pop" _ShortList="1" _ItemTemplate="innews/popitem_element" />
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- </table>
- </td>
- </tr>
Property changes on: trunk/themes/default/innews/main_popitems.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/trash/main_catlead.tpl
===================================================================
--- trunk/themes/default/innews/trash/main_catlead.tpl (revision 12830)
+++ trunk/themes/default/innews/trash/main_catlead.tpl (nonexistent)
@@ -1,34 +0,0 @@
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="innews/img/ic_newspaper.gif" width="16" height="16" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td class="item" valign="top">
- <a href="<inp:article _field="link" _template="innews/article" />"><inp:article _field="title" /></a>
- <span class="article-pick"><inp:article _field="pick" /></span>
- <span class="article-top"></span>
- <span class="article-pop"><inp:article _field="pop" /></span>
- <span class="article-new"><inp:article _field="new" /></span>
- <inp:article _Field="rating" _DisplayMode="graphical" _ImageOn="img/star_rate.gif" _ImageOff="img/star.gif" />
- <br />
- <span class="comments">(<inp:m_language _Phrase="lu_added" />: <inp:article _Field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _field="votes" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _field="reviews" />)</span>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td>
- <table width="100%" border="0" cellspacing="7" cellpadding="0">
- <tr>
- <td>&nbsp;</td>
- <td valign="top"><inp:article _field="image" _thumbnail="0" _Primary="1" _ImageTag="1" _defaulturl="img/noimage.gif" align="left" border="0" width="120" height="75" /><br /></td>
- <td valign="top"><inp:article _field="excerpt" /></td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-<br />
\ No newline at end of file
Property changes on: trunk/themes/default/innews/trash/main_catlead.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/trash/article_element.tpl
===================================================================
--- trunk/themes/default/innews/trash/article_element.tpl (revision 12830)
+++ trunk/themes/default/innews/trash/article_element.tpl (nonexistent)
@@ -1,80 +0,0 @@
-
-
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="innews/img/ic_newspaper.gif" width="16" height="16" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td class="item" valign="top" width="10000">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="item" valign="top" width="10000">
- <a href="<inp:article _field="link" _template="__default__" />"><inp:article _field="title" /></a>
- </td>
- <td valign="top">&nbsp;&nbsp;<br /></td>
- <td valign="top" nowrap="nowrap">
- <inp:article _field="hot"><img src="img/ic_hot.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_hot" />" /></inp>
- <inp:article _field="new"><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /></inp>
- <inp:article _field="pop"><img src="img/ic_pop.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_pop" />" /></inp>
- <inp:article _field="pick"><img src="img/ic_pick.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_editors_pick" />" /></inp>
- <inp:article _field="favorite"><img src="img/ic_favorite.gif" width="11" height="11" alt="favorite" /></inp><br />
- </td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top" nowrap="nowrap"><inp:article _Field="rating" _DisplayMode="graphical" _OffImage="img/star.gif" _OnImage="img/star_rate.gif" /></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td valign="top">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><inp:article _field="image" _thumbnail="1" _primary="1" _ImageTag="1" _defaulturl="img/noimage.gif" align="left" border="0" width="50" height="50"/><br /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top" width="100%"><inp:article _field="excerpt" /></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td class="comments" nowrap>
- (<inp:m_language _Phrase="lu_added" />: <inp:article _Field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _field="votes" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _field="reviews" />)
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td class="dott-line">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><a href="<inp:article _field="link" _Template="__default__" />"><img src="img/ic_details.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _Template="__default__" />"><inp:m_language _Phrase="lu_details" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/rate" />"><img src="img/ic_rateit.gif" width="22" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/rate" />"><inp:m_language _Phrase="lu_rateit" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/reviews" />"><img src="img/ic_reviews.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/reviews" />"><inp:m_language _Phrase="lu_reviews" /></a></td>
-
- <inp:m_perm_text _Perm="login">
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
- <td><a href="<inp:article _field="add_favorite_link" />"><img src="img/ic_addtofav.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><inp:article _Field="favorite_toggle" _AddLabel="lu_add_to_favorites" _DelLabel="lu_remove_from_favorites" /></td>
- </inp>
- </tr>
- </table>
- </td>
- </tr>
-</table><br><br>
Property changes on: trunk/themes/default/innews/trash/article_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/trash/articles.tpl
===================================================================
--- trunk/themes/default/innews/trash/articles.tpl (revision 12830)
+++ trunk/themes/default/innews/trash/articles.tpl (nonexistent)
@@ -1,57 +0,0 @@
-<!-- page title //-->
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="50"><img src="innews/img/ic_news_big.gif" width="46" height="46" alt="" /><br /></td>
- <td><h2><inp:m_language _Phrase="lu_news" /> <span>(<inp:n_List_count _ListType="category" _CatLead="primary" _Paging="1" _ShortList="0" />)</span></h2><span class="statistics"><inp:m_language _Phrase="lu_added_today"/>:&nbsp;<span>(<inp:m_itemcount _ItemType="Article" _Today="1" _GroupOnly="1" />)</span></span></td>
- <td valign="top" align="right" class="pagination"><inp:n_news_pagenav _label="lu_page_label" _ShortList="0" />&nbsp;</td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="3"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td colspan="2">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="comments"><inp:m_language _Phrase="lu_legend" />:</td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td><img src="img/ic_hot.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_hot" />" /><br /></td>
- <td class="comments"> -<inp:m_language _Phrase="lu_hot" /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /><br /></td>
- <td class="comments"> -<inp:m_language _Phrase="lu_new" /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="new" /><br /></td>
- <td><img src="img/ic_pop.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_pop" />" /><br /></td>
- <td class="comments"> -<inp:m_language _Phrase="lu_pop" /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td><img src="img/ic_top.gif" width="11" height="11" alt="top" /><br /></td>
- <td class="comments"> -<inp:m_language _Phrase="lu_top" /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td><img src="img/ic_pick.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_editors_pick" />" /><br /></td>
- <td class="comments">&nbsp; -<inp:m_language _Phrase="lu_pick" /></td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-<!-- page title \\-->
-
-<br /><br />
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="30" height="1" alt="" /><br /></td>
- <td valign="top">
- <inp:n_list_news _ListType="category" _CatLead="primary" _Paging="1" _ShortList="0" _ItemTemplate="innews/index/article_element.tpl" /><br />
- </td>
- </tr>
- <tr>
- <td colspan=2 class="pagination" align="right">
- <inp:n_news_pagenav _ListType="category" _CatLead="primary" _ShortList=0 _Label="lu_page_label" />
- </td>
- </tr>
-</table>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/trash/articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/trash/main_popitems.tpl
===================================================================
--- trunk/themes/default/innews/trash/main_popitems.tpl (revision 12830)
+++ trunk/themes/default/innews/trash/main_popitems.tpl (nonexistent)
@@ -1,16 +0,0 @@
- <tr>
- <td class="bgr-quick-links-top" valign="top">
- <table width="100%" border="0" cellspacing="0" cellpadding="1">
- <tr>
- <td colspan="2" class="quick-title">
- <inp:m_module_link _Module="In-News" _Text="lu_news" _Template="index" _Root="1" />
- <img src="img/arr_more.gif" width="16" height="7" alt="" />
- </td>
- </tr>
- <inp:n_list_news _ListType="hot" _ShortList="1" _ItemTemplate="innews/popitem_element" />
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- </table>
- </td>
- </tr>
Property changes on: trunk/themes/default/innews/trash/main_popitems.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/rate.tpl
===================================================================
--- trunk/themes/default/innews/rate.tpl (revision 12830)
+++ trunk/themes/default/innews/rate.tpl (nonexistent)
@@ -1,91 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
- </tr>
-
- <tr height="100%">
- <td valign="top" class="bott-line">
- <!-- navbar -->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
- </tr>
- <tr>
- <td class="bgr-path">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><inp:m_navbar _Template="__default__" _LinkCurrent="1" _RootTemplate="index" _separator=" &gt; " /></td>
- <td align="right">
- <table border="0" cellspacing="0" cellpadding="0" align="right">
- <tr>
- <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
- <td>&nbsp;</td>
- <td class="post-action"><span onclick="showSeg('langmenu',true); "><a href="<inp:m_template_link _Template="lang_select" />"><inp:m_lang_field _Field="LocalName" /></a></span></td>
- <td>&nbsp;&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <inp:include _Template="lang_select/lang_menu.tpl" />
- </td>
- <!--<td width="10000" valign="top" class="bgr-path">&nbsp;</td>-->
- </tr>
- </table>
-
- <!-- update line -->
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-updatefill" width="10000"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td nowrap="nowrap" class="updated">news updated: <inp:n_news_field _field="modified" /></td>
- </tr>
- </table>
- <!-- end update line -->
-
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000" class="bgr-news">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
-
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top">
- <h1><inp:m_language _Phrase="lu_rate_article" /></h1></TD> </TR>
- </TABLE>
- <inp:perm_include _Template="innews/rate/rate_form.tpl" _noaccess="access_denied.tpl" _Permission="NEWS.RATE" />
- </TD>
- </TR>
- </TABLE>
- </TD>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
-
- <!-- start right flexible cell in main content table -->
- <td valign="top" height="100%" class="open-box"><inp:include _template="innews/detail/right.tpl" /></td>
-
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
- <inp:include _template="common/footer.tpl" />
-</table>
-
-</body>
-</html>
Property changes on: trunk/themes/default/innews/rate.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/detail/article.tpl
===================================================================
--- trunk/themes/default/innews/detail/article.tpl (revision 12830)
+++ trunk/themes/default/innews/detail/article.tpl (nonexistent)
@@ -1,103 +0,0 @@
-<!-- page title -->
-
-<script type="text/javascript">
-function zoom(url)
-{
- var width = 200;
- var height = 200;
- var screen_x = (screen.availWidth-width)/2;
- var screen_y = (screen.availHeight-height)/2;
- window.open(url, 'zoomed', 'width='+width+',height='+height+',resizable=yes,left='+screen_x+',top='+screen_y);
-}
-</script>
-
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <img src="innews/img/ic_news_big.gif" width="46" height="46" alt="" /><br />
- <img src="img/s.gif" width="50" height="1" alt="" /><br />
- </td>
- <td width="100%"><h1><inp:article _Field="title" /></h1></td>
- </tr>
- <tr><td colspan="2"><H2><inp:m_language _Phrase="lu_article_details" /></H2></td></tr>
- <tr>
- <td colspan="2" valign="top"><br>
- <!-- Article Image //-->
- <table width="100" border="0" cellspacing="0" cellpadding="0" style="float: left; margin-right: 10px">
- <tr>
- <td>
- <img src="<inp:article _field="image" _Thumbnail="1" _NoThumbnail="0" _primary="1" _defaulturl="img/noimage.gif" />" border="0" alt=""><br />
- <inp:article _field="image" _primary="1" _thumbnail="0" _NoThumbnail="1">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td align="right" class="bgr-updatefill" ><a href="javascript:zoom('<inp:m_template_link _Template="showimage" _UnSecure="1" _Query="&url=<inp:article _field="image" _Thumbnail="0" _primary="1" _defaulturl="img/noimage.gif" />" />')"><img src="img/ic_zoom.gif" width="16" height="16" alt="<inp:m_language _Phrase="lu_zoom" />" /></a><br /></td>
- <td class="bgr-updatefill" width="100%" nowrap><span class="zoom"><a href="javascript:zoom('<inp:m_template_link _Template="showimage" _UnSecure="1" _Query="&url=<inp:article _field="image" _Thumbnail="0" _primary="1" _defaulturl="img/noimage.gif" />" />')"><inp:m_language _Phrase="lu_zoom" /></a></span>&nbsp;</td>
- </tr>
- </table>
- </inp>
- </td>
- </tr>
- <tr><td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td></tr>
-
- </table>
- <!-- Article Image \\-->
-
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="comments">
- (<inp:m_language _Phrase="lu_added" />: <inp:article _field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _Field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _Field="reviews" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _Field="votes" />)<br />
- <span class="comments"><inp:m_language _Phrase="lu_category" />: </SPAN><span class="tips"><A HREF="<inp:article _field="cat_link" _Template="catindex" />"><inp:article _field="fullpath" /></A></span><br />
- </td>
- </tr>
- <tr>
- <td>
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <inp:article _field="pick"><img src="img/ic_pick.gif" width="11" height="11" alt="editors' pick" /></inp>
- <inp:article _field="hot"><img src="img/ic_hot.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_hot" />" /></inp> <inp:article _field="new"><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /></inp>
- <inp:article _field="pop"><img src="img/ic_pop.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_pop" />" /></inp>
- <inp:article _Field="rating" _DisplayMode="graphical" _OffImage="img/star.gif" _OnImage="img/star_rate.gif" /><br />
- </td>
- </tr>
- </table>
-
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
-
- <inp:m_perm_text _Perm="login">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><a href="<inp:article _field="link" _template="innews/rate" />"><img src="img/ic_rateit.gif" width="22" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/rate" />"><inp:m_language _Phrase="lu_rate_this_article" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/reviews" />"><img src="img/ic_reviews.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _Field="link" _Template="innews/addreview" />"><inp:m_language _Phrase="lu_review_this_article" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
- <td><a href="<inp:article _field="add_favorite_link" />"><img src="img/ic_addtofav.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><inp:article _Field="favorite_toggle" _AddLabel="lu_add_to_favorites" _DelLabel="lu_remove_from_favorites" /></td>
- </tr>
- </table>
-
-
-
- <!--<table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/ic_addtofav.gif" width="16" height="16" alt="" /><br /></td>
- <td class="links-action"><a href="<inp:n_news_field _field="add_favorite_link" />"><inp:m_language _Phrase="lu_add_to_favorites" /></a></td>
- </tr>
- </table>-->
- </inp>
- <br />
- <inp:article _Field="body" _Parsed="1" />
-
- </td>
- </tr>
-</table>
-<!-- end page title -->
-
-<br />
\ No newline at end of file
Property changes on: trunk/themes/default/innews/detail/article.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/detail/right/actionbox.tpl
===================================================================
--- trunk/themes/default/innews/detail/right/actionbox.tpl (revision 12830)
+++ trunk/themes/default/innews/detail/right/actionbox.tpl (nonexistent)
@@ -1,74 +0,0 @@
-<!-- action box //-->
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="30" width="10000" class="act-box-top"><inp:m_language _Phrase="lu_action" /><span class="act-sep">|</span> <span class="act-title-it"><inp:m_language _Phrase="lu_box" /></span></td>
- <td rowspan="4" valign="top" align="right" class="bgr-underactbox"><img src="img/box.gif" width="59" height="59" alt="" /><br /></td>
- </tr>
- <tr><!-- Here You Can -->
- <td height="13" bgcolor="#64A1DF" class="path">&nbsp; <inp:m_language _Phrase="lu_action_prompt" /></td>
- </tr>
- <tr>
- <td height="1"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td valign="top" align="right"><img src="img/a_box_left.jpg" width="129" height="15" alt="" /><br /></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="bgr-act" valign="top">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="img/act_cat.gif" width="14" height="12" alt="" /><br /></td>
- <td height="1"><img src="img/s.gif" width="5" height="20" alt="" /><br /></td>
- <td valign="top" class="box-links"><a href="<inp:m_template_link _Template="suggest_cat" />"><inp:m_language _Phrase="lu_suggest_category" /></a></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr><!-- Also You Can -->
- <td height="10" bgcolor="#64A1DF" class="path">&nbsp; <inp:m_language _Phrase="lu_subaction_prompt" /></td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td class="bgr-act valign="top">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="3"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- </tr>
- <inp:m_perm_text _Perm="login">
- <tr>
- <td valign="top"><a href="<inp:n_news_field _field="add_favorite_link" />"><img src="img/act_favor.gif" width="14" height="12" alt="" /></a><br /></td>
- <td height="1"><img src="img/s.gif" width="5" height="20" alt="" /><br /></td>
- <td valign="top" class="box-links">
- <inp:n_news_field _Field="favorite_toggle" _AddLabel="lu_add_to_favorites" _DelLabel="lu_remove_from_favorites" /></td>
- </tr>
- </inp>
- <tr><!-- Rate Article -->
- <td valign="top"><img src="img/act_rate.gif" width="14" height="12" alt="" /><br /></td>
- <td height="1"><img src="img/s.gif" width="5" height="20" alt="" /><br /></td>
- <td valign="top" class="box-links"><a href="<inp:n_news_field _field="link" _template="innews/rate" />"><inp:m_language _Phrase="lu_rate_this_article" /></a></td>
- </tr>
-
- <tr><!-- Review Article -->
- <td valign="top"><img src="img/act_review.gif" width="14" height="12" alt="" /><br /></td>
- <td height="1"><img src="img/s.gif" width="5" height="20" alt="" /><br /></td>
- <td valign="top" class="box-links"><a href="<inp:n_news_field _Field="link" _Template="innews/addreview" />"><inp:m_language _Phrase="lu_review_this_article" /></a></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="bgr-act-bottom"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
-</table>
-<!-- action box \\-->
\ No newline at end of file
Property changes on: trunk/themes/default/innews/detail/right/actionbox.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/detail/right.tpl
===================================================================
--- trunk/themes/default/innews/detail/right.tpl (revision 12830)
+++ trunk/themes/default/innews/detail/right.tpl (nonexistent)
@@ -1,19 +0,0 @@
-<!-- Template=right.tpl -->
-
-<!-- login box //-->
-<inp:m_loginbox _LoginTemplate="misc/right_login" _LoggedInTemplate="misc/right_loggedin" />
-<!-- login box \\-->
-
-<!-- search box //-->
-<inp:include _Template="misc/right_searchbox" />
-<!-- search box \\-->
-
-<!-- recommend box //-->
-<inp:include _Template="misc/right_recommend" />
-<!-- recommend box \\-->
-
-<inp:include _Template="innews/detail/right/actionbox.tpl" />
-
-<!-- quick links box //-->
-<inp:include _Template="innews/quicklinks/edpick.tpl" _DataExists="1"/>
-<!-- quick links box \\-->
\ No newline at end of file
Property changes on: trunk/themes/default/innews/detail/right.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/related_element.tpl
===================================================================
--- trunk/themes/default/innews/related_element.tpl (revision 12830)
+++ trunk/themes/default/innews/related_element.tpl (nonexistent)
@@ -1,36 +0,0 @@
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="innews/img/ic_newspaper.gif" width="16" height="16" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td class="item" valign="top">
- <a href="<inp:article _field="cat_link" _template="__default__" />"><inp:article _field="title" /></a>
- <span class="article-pick"><inp:article _field="pick" /></span>
- <span class="article-top"></span>
- <span class="article-pop"><inp:article _field="pop" /></span>
- <span class="article-new"><inp:article _field="new" /></span>
- <inp:article _Field="rating" _DisplayMode="graphical" _OffImage="img/star.gif" _OnImage="img/star_rate.gif" />
- <br />
- <span class="comments">(<inp:m_language _Phrase="lu_added" />: <inp:article _Field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _field="votes" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _field="reviews" />)</span>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td>
- <table width="100%" border="0" cellspacing="7" cellpadding="0">
- <tr>
- <td>&nbsp;</td>
- <td valign="top">
- <inp:article _field="image" _thumbnail="0" _primary="1" _ImageTag=1 _defaulturl="img/noimage.gif" align="left" border="0" width="120" height="75" /><br /></td>
- <td valign="top"><inp:article _field="excerpt" /></td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-<br />
-
Property changes on: trunk/themes/default/innews/related_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/my_account/articles.tpl
===================================================================
--- trunk/themes/default/innews/my_account/articles.tpl (revision 12830)
+++ trunk/themes/default/innews/my_account/articles.tpl (nonexistent)
@@ -1,8 +0,0 @@
-<td><img src="img/s.gif" width="70" height="1" alt="" /><br /></td>
-<td valign="top"><img src="img/ic_myfavorites46.gif" width="46" height="46" alt="" /><br /></td>
-<td width="10000" class="item">
- <a href="<inp:m_template_link _Template="innews/my_items" />"><inp:m_language _Phrase="lu_my_articles" /></a>
- <p><inp:m_language _Phrase="lu_my_articles_description" /></p>
-</td>
-<td>&nbsp;</td>
-
Property changes on: trunk/themes/default/innews/my_account/articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/my_account/new_items.tpl
===================================================================
--- trunk/themes/default/innews/my_account/new_items.tpl (revision 12830)
+++ trunk/themes/default/innews/my_account/new_items.tpl (nonexistent)
@@ -1,22 +0,0 @@
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="10000">
-
- <!-- page title //-->
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="50"><img src="img/my_profile.gif" width="46" height="46" alt="" /><br /></td>
- <td><h1><inp:m_language _Phrase="lu_articles" /></h1><br/><br/></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td><inp:n_list_news _ListType="my_new" _CatLead="primary" _Paging="1" _ForcePaging="1" _ShortList="1" _ItemTemplate="innews/index/article_element.tpl" /></td>
- </tr>
- <tr>
- <td align="right"><inp:n_link_more _ListType="my_new" _ShortList="1" _Template="innews/my_account/new_articles.tpl" _text="lu_more" _Image="img/arr_more.gif" /></td>
- </tr>
- </table>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/my_account/new_items.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/my_account/new_articles.tpl
===================================================================
--- trunk/themes/default/innews/my_account/new_articles.tpl (revision 12830)
+++ trunk/themes/default/innews/my_account/new_articles.tpl (nonexistent)
@@ -1,112 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
- </tr>
- <tr height="100%">
- <td valign="top" class="bott-line">
-
- <!-- path //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
- </tr>
- <tr>
- <td class="bgr-path">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><inp:m_navbar _RootTemplate="index" _Template="__default__" _LinkCurrent="1" _separator=" &gt; " /></td>
- <td align="right">
- <table border="0" cellspacing="0" cellpadding="0" align="right">
- <tr>
- <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
- <td>&nbsp;</td>
- <td class="post-action"><span onclick="showSeg('langmenu',true); "><inp:m_lang_field _Field="LocalName" /></span></td>
- <td>&nbsp;&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <inp:include _Template="lang_select/lang_menu.tpl" />
- </td>
- </tr>
- </table>
- <!-- path \\-->
-
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="100%" class="bgr-links">
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <!-- page title -->
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="50"><img src="innews/img/ic_news_big.gif" width="46" height="46" alt="" /><br /></td>
- <td><h1><inp:m_language _Phrase="lu_new_since_news" /> <span>(<inp:n_list_count _ListType="my_new" _CatInfo="1" _Paging="1" _ShortList="0" />)</span></h1><span class="statistics"><inp:m_language _Phrase="lu_added_today"/>:&nbsp;<span>(<inp:m_itemcount _ItemType="Article" _Today="1" _GroupOnly="1" />)</span></span></td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- </table><img src="img/s.gif" width="1" height="5" alt="" /><br />
- <br />
- <!-- page title \\-->
-
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="pagination" align="right">
- <!--<img src="img/ic_pages.gif" width="9" height="12" alt="" />--> <inp:n_news_pagenav _ListType="my_new" _CatInfo="1" _ShortList=0 _Label="lu_page_label" _PageIcon="img/ic_pages.gif" />
- </td>
- </tr>
- </table><img src="img/s.gif" width="1" height="10" alt="" /><br />
- <inp:include _Template="innews/sort_articles.tpl"/>
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><inp:n_list_news _ListType="my_new" _CatInfo="1" _Paging="1" _ShortList="0" _ItemTemplate="innews/pick/article_element.tpl" /><br /></td>
- </tr>
- </table>
-
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="pagination" align="right">
- <img src="img/ic_pages.gif" width="9" height="12" alt="" /> <inp:n_news_pagenav _ListType="pick" _CatInfo="1" _ShortList=0 _Label="lu_page_label" />
- </td>
- </tr>
- </table><img src="img/s.gif" width="1" height="10" alt="" /><br />
-
- </td>
- </tr>
-</table>
- </td>
-
- <!-- white line content/right column //-->
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <!-- white line content/right column \\-->
-
- <!-- right column //-->
- <td valign="top" height="100%" class="open-box"><inp:include _template="innews/pick/right.tpl" /></td>
- <!-- right column \\-->
-
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
-
- <inp:include _Template="common/footer.tpl" />
-</table>
-
-</body>
-</html>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/my_account/new_articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/style.css
===================================================================
--- trunk/themes/default/innews/style.css (revision 12830)
+++ trunk/themes/default/innews/style.css (nonexistent)
@@ -1,71 +0,0 @@
-.site-lead-sm, .cat-lead-sm {
- font: normal 10px verdana;
- color: #1F569A;
- padding: 0px 10px
- }
-
-.bgr-site-lead {
- background: #1f569a url(img/bgr_site_leadstory.jpg) repeat-x top left
- }
-
-.site-lead-title, .cat-lead-title {
- font: bold 18px arial, sans-serif;
- color: #FFFF66;
- padding: 10px;
- line-height: 18px
- }
-.site-lead-title a {
- color: #FFFF66;
- text-decoration: none
- }
-.site-lead-title a:hover {
- color: #FFF;
- text-decoration: none
- }
-
-.site-lead-extract, .site-lead-extract p {
- font: 14px arial, sans-serif;
- color: #fff;
- }
-.site-lead-extract a {
- color: #fff;
- }
-.site-lead-extract a:hover {
- color: #deebf8
- }
-
-
-.bgr-cat-lead {
- background: #f4f4f4 url(img/bgr_cat_leadstory.jpg) repeat-x top left
- }
-.cat-lead-sm {
- color: #fff;
- background: #1F569A
- }
-.cat-lead-title {
- font-weight: normal;
- color: #1F569A;
- line-height: 16px
- }
-.cat-lead-title a, .cat-lead-title a:hover {
- text-decoration: none
- }
-
-.full-sitelead a, .full-catlead a {
- font: 10px verdana, sans-serif;
- padding: 2 5;
- color: #FFFF66;
- text-decoration: none;
- }
-
-.full-sitelead a:hover {
- color: #fff;
- text-decoration: none
- }
-
-.full-catlead a {
- color: #1f569a
- }
-.full-catlead a:hover {
- text-decoration: none
- }
\ No newline at end of file
Property changes on: trunk/themes/default/innews/style.css
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/new.tpl
===================================================================
--- trunk/themes/default/innews/new.tpl (revision 12830)
+++ trunk/themes/default/innews/new.tpl (nonexistent)
@@ -1,69 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
- </tr>
- <tr height="100%">
- <td valign="top" class="bott-line">
-
- <!-- path //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
- </tr>
- <tr>
- <td class="bgr-path">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><inp:m_navbar _RootTemplate="index" _Template="__default__" _LinkCurrent="1" _separator=" &gt; " /></td>
- <td align="right">
- <table border="0" cellspacing="0" cellpadding="0" align="right">
- <tr>
- <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
- <td>&nbsp;</td>
- <td class="post-action"><span onclick="showSeg('langmenu',true); "><a href="<inp:m_template_link _Template="lang_select" />"><inp:m_lang_field _Field="LocalName" /></a></span></td>
- <td>&nbsp;&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <inp:include _Template="lang_select/lang_menu.tpl" />
- </td>
- </tr>
- </table>
- <!-- path \\-->
-
- <inp:include _template="innews/new/articles.tpl" />
- </td>
-
- <!-- white line content/right column //-->
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <!-- white line content/right column \\-->
-
- <!-- right column //-->
- <td valign="top" height="100%" class="open-box"><inp:include _template="innews/new/right.tpl" /></td>
- <!-- right column \\-->
-
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
-
- <inp:include _Template="common/footer.tpl" />
-</table>
-
-</body>
-</html>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/new.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/index.tpl
===================================================================
--- trunk/themes/default/innews/index.tpl (revision 12830)
+++ trunk/themes/default/innews/index.tpl (nonexistent)
@@ -1,121 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- content //-->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
- </tr>
- <tr height="100%">
- <td valign="top" class="bott-line">
-
- <!-- path //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
- </tr>
- <tr>
- <td class="bgr-path">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><inp:m_navbar _RootTemplate="index" _Template="__default__" _Module="In-News" _ModuleRootTemplate="__default__" _separator=" &gt; " /></td>
- <td align="right">
- <table border="0" cellspacing="0" cellpadding="0" align="right">
- <tr>
- <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
- <td>&nbsp;</td>
- <td class="post-action"><span onclick="showSeg('langmenu',true); "><inp:m_lang_field _Field="LocalName" /></span></td>
- <td>&nbsp;&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <inp:include _Template="lang_select/lang_menu.tpl" />
- </td>
- </tr>
- </table>
- <!-- path \\-->
-
- <!-- update line //-->
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-updatefill" width="10000"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td nowrap="nowrap" class="updated"><inp:m_language _Phrase="lu_news_updated" />: <inp:n_article_modified />&nbsp;</td>
- </tr>
- </table>
- <!-- update line \\-->
-
- <inp:include _Template="innews/sort_articles.tpl" />
-
- <!-- Category Title //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="20"><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td width="50"><img src="innews/img/ic_news_big.gif" width="46" height="46" alt="" vspace="10" /><br /></td>
- <td><h1><inp:m_category_field _Field="name" /></h1></td>
- </tr>
- </table>
- <!-- Category Title \\-->
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td width="100%" valign="top"><inp:n_list_news _ListType="LeadStory" _MaxCount="1" _ItemTemplate="innews/index/sitelead_element.tpl" _CatLead="Exclusive" _Paging="1" /></td>
- </tr>
- </table>
-
-
- <br />
-
- <!-- Current CATEGORY SUB-CATs with Lead articles //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td width="100%" valign="top"><inp:m_list_cats _ItemTemplate="innews/index/subcat_element.tpl" _NoTable="1" /></td>
- </tr>
- </table>
-
- <!-- Current CATEGORY articles //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="100%"><br />
- <inp:include _template="innews/index/articles.tpl" _DataExists=1 _NoDataTemplate="innews/index/no_articles.tpl" />
- <a href="<inp2:m_Link template="innews/rss_feed"/>"><inp2:m_Phrase name="lu_rss_feed"/></a><br /><br />
- </td>
- </tr>
- </table>
- <!-- Current CATEGORY articles \\-->
-
- </td>
-
- <!-- white line content/right column //-->
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <!-- white line content/right column \\-->
-
- <!-- right column //-->
- <td valign="top" height="100%" class="open-box"><inp:include _template="innews/index/right.tpl" /></td>
- <!-- right column \\-->
- </tr>
- </table>
- </td>
- </tr>
- <!-- content \\-->
-
-
- <inp:include _Template="common/footer.tpl" />
-</table>
-
-</body>
-</html>
Property changes on: trunk/themes/default/innews/index.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.6
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/related_news.tpl
===================================================================
--- trunk/themes/default/innews/related_news.tpl (revision 12830)
+++ trunk/themes/default/innews/related_news.tpl (nonexistent)
@@ -1,43 +0,0 @@
-<!-- related news line -->
-<img src="img/s.gif" width="1" height="1" alt="" /><br />
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-updatelight"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- </tr>
-</table>
-<!-- end related news line -->
-
-<!-- related news -->
-<img src="img/s.gif" width="1" height="5" alt="" /><br />
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <h3><inp:m_language _Phrase="lu_related_articles" /> <span>(<inp:n_related_count _ItemType="Article" />)</span></h3>
- </td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="3" alt="" /><br /></td>
- </tr>
- <tr>
- <td class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- </table>
-
- <!-- related item content -->
- <br />
- <inp:n_related_items _ListItems="Article" _ArticleTemplate="innews/related_element" _Columns="2" _NoTable="0" />
- <!-- end item content -->
- </td>
- </tr>
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
-</table>
-<!-- end related news -->
-
-
-
Property changes on: trunk/themes/default/innews/related_news.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/img/ic_news_big.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default/innews/img/ic_news_big.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default/innews/img/exclam_mark.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default/innews/img/exclam_mark.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default/innews/img/bgr_cat_leadstory.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default/innews/img/bgr_cat_leadstory.jpg
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default/innews/img/ic_myarticles.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default/innews/img/ic_myarticles.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default/innews/img/menubar.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default/innews/img/menubar.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default/innews/img/bgr_site_leadstory.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default/innews/img/bgr_site_leadstory.jpg
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default/innews/img/sample_pic2.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default/innews/img/sample_pic2.jpg
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default/innews/img/bgr_news.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default/innews/img/bgr_news.jpg
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default/innews/img/ic_head_news.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default/innews/img/ic_head_news.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default/innews/img/ic_newspaper.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default/innews/img/ic_newspaper.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default/innews/img/sample_pic.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default/innews/img/sample_pic.jpg
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default/innews/img/ic_category.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default/innews/img/ic_category.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default/innews/img/ic_news.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default/innews/img/ic_news.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default/innews/main/topstories.tpl
===================================================================
--- trunk/themes/default/innews/main/topstories.tpl (revision 12830)
+++ trunk/themes/default/innews/main/topstories.tpl (nonexistent)
@@ -1,83 +0,0 @@
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="innews/img/ic_newspaper.gif" width="16" height="16" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td class="item" valign="top" width="10000">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="item" valign="top" width="10000">
- <a href="<inp:article _field="cat_link" _Template="__default__" />"><inp:article _field="title" /></a>
- </td>
- <td valign="top">&nbsp;&nbsp;<br /></td>
- <td valign="top" nowrap="nowrap">
- <inp:article _field="hot"><img src="img/ic_hot.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_hot" />" /></inp>
- <inp:article _field="new"><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /></inp>
- <inp:article _field="pop"><img src="img/ic_pop.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_pop" />" /></inp>
- <inp:article _field="pick"><img src="img/ic_pick.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_editors_pick" />" /></inp>
- <inp:article _field="favorite"><img src="img/ic_favorite.gif" width="11" height="11" alt="favorite" /></inp><br />
- </td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top" nowrap="nowrap"><inp:article _Field="rating" _DisplayMode="graphical" _OffImage="img/star.gif" _OnImage="img/star_rate.gif" /></td>
- </tr>
- <tr>
- <td colspan="5">
- <span class="comments"><inp:m_language _Phrase="lu_category" />: </SPAN><span class="tips"><A HREF="<inp:article _field="cat_link" _Template="__default__" />"><inp:article _field="fullpath" /></A></span>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td valign="top">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><inp:article _field="image" _thumbnail="0" _primary="1" _ImageTag="1" _defaulturl="img/noimage.gif" align="left" border="0" width="120" height="75" /><br /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top" width="100%"><inp:article _field="excerpt" /></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td class="comments">
- (<inp:m_language _Phrase="lu_added" />: <inp:article _Field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _field="votes" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _field="reviews" />)
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td>
- <table class="dott-line" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><a href="<inp:article _field="cat_link" _Template="__default__" />"><img src="img/ic_details.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="cat_link" _Template="__default__" />"><inp:m_language _Phrase="lu_details" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/rate" />"><img src="img/ic_rateit.gif" width="22" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/rate" />"><inp:m_language _Phrase="lu_rate_article" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/reviews" />"><img src="img/ic_reviews.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/reviews" />"><inp:m_language _Phrase="lu_reviews" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="add_favorite_link" />"><img src="img/ic_addtofav.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><inp:article _Field="favorite_toggle" _AddLabel="lu_add_to_favorites" _DelLabel="lu_remove_from_favorites" /></td>
-
- </tr>
- </table>
- </td>
- </tr>
-</table><br><br>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/main/topstories.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/main/favorites_element.tpl
===================================================================
--- trunk/themes/default/innews/main/favorites_element.tpl (revision 12830)
+++ trunk/themes/default/innews/main/favorites_element.tpl (nonexistent)
@@ -1,86 +0,0 @@
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="innews/img/ic_newspaper.gif" width="16" height="16" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td class="item" valign="top">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="item" valign="top">
- <a href="<inp:article _field="cat_link" _Template="__default__" />"><inp:article _field="title" /></a>
- </td>
- <td valign="top">&nbsp;&nbsp;<br /></td>
- <td valign="top" nowrap>
- <inp:article _field="hot"><img src="img/ic_hot.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_hot" />" /></inp>
- <inp:article _field="new"><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /></inp>
- <inp:article _field="pop"><img src="img/ic_pop.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_pop" />" /></inp>
- <inp:article _field="pick"><img src="img/ic_pick.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_editors_pick" />" /></inp>
- <inp:article _field="favorite"><img src="img/ic_favorite.gif" width="11" height="11" alt="favorite" /></inp><br />
- </td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top" width="55"><inp:article _Field="rating" _DisplayMode="graphical" _OffImage="img/star.gif" _OnImage="img/star_rate.gif" /></td>
- </tr>
- <tr>
- <td colspan="5">
- <span class="comments"><inp:m_language _Phrase="lu_category" />: </SPAN><span class="tips"><A HREF="<inp:article _field="cat_link" _Template="__default__" />"><inp:article _field="fullpath" /></A></span>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td valign="top">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><inp:article _field="image" _thumbnail="0" _primary="1" _ImageTag="1" _defaulturl="img/noimage.gif" align="left" border="0" width="120" height="75" /><br /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top" width="100%"><inp:article _field="excerpt" /></td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td class="comments">
- (<inp:m_language _Phrase="lu_added" />: <inp:article _Field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _field="votes" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _field="reviews" />)
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td >
- <table class="dott-line" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><a href="<inp:article _field="cat_link" _Template="__default__" />"><img src="img/ic_details.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="cat_link" _Template="__default__" />"><inp:m_language _Phrase="lu_details" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/rate" />"><img src="img/ic_rateit.gif" width="22" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/rate" />"><inp:m_language _Phrase="lu_rate_article" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/reviews" />"><img src="img/ic_reviews.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/reviews" />"><inp:m_language _Phrase="lu_reviews" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="add_favorite_link" />"><img src="img/ic_removefromfav.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><inp:article _Field="favorite_toggle" _AddLabel="lu_add_to_favorites" _DelLabel="lu_remove_from_favorites" /></td>
-
- </tr>
- </table>
- </td>
- </tr>
-</table><br /><br />
\ No newline at end of file
Property changes on: trunk/themes/default/innews/main/favorites_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/main/favorites.tpl
===================================================================
--- trunk/themes/default/innews/main/favorites.tpl (revision 12830)
+++ trunk/themes/default/innews/main/favorites.tpl (nonexistent)
@@ -1,44 +0,0 @@
-<!-- articles -->
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top">
-
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="2">
- <h2><inp:m_language _Phrase="lu_news" /> <span>(<inp:n_list_count _ShortList="1" _ListType="favorites" />)</span></h2>
- </td>
- </tr>
- <tr><td colspan="2"><img src="img/s.gif" width="1" height="3" alt="" /><br /></td></tr>
- <tr>
- <td class="statistics"><inp:m_language _Phrase="lu_added_today" />:&nbsp;<span>(<inp:n_list_count _Today="1" _ShortList="1" _ListType="favorites" />)</span></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- </tr>
- <tr><td colspan="2"><img src="img/s.gif" width="1" height="3" alt="" /><br /></td></tr>
- <tr>
- <td colspan="2" class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- </table>
-
- <!-- article content -->
- <br />
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top">
- <inp:n_list_news _ListType="favorites" _ShortList="1" _ItemTemplate="innews/main/favorites_element.tpl" />
- </td>
- </tr>
- <tr>
- <td align="right" valign="top" class="posts">
- <inp:n_link_more _ListType="favorites" _ShortList="1" _Template="innews/item_favorites.tpl" _text="lu_more" _Image="img/arr_more.gif" />
- </td>
- </tr>
- </table>
- <!-- end article content -->
- </td>
- </tr>
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="20" alt="" /></td>
- </tr>
-</table>
-<!-- end articles -->
Property changes on: trunk/themes/default/innews/main/favorites.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/main/edpick/articles.tpl
===================================================================
--- trunk/themes/default/innews/main/edpick/articles.tpl (revision 12830)
+++ trunk/themes/default/innews/main/edpick/articles.tpl (nonexistent)
@@ -1,18 +0,0 @@
-<tr>
- <td class="bgr-quick-links">
- <table width="100%" border="0" cellspacing="0" cellpadding="1">
- <tr>
- <td colspan="2" class="quick-title">
- <inp:m_module_link _Module="In-News" _Text="lu_articles" _Template="pick.tpl" _Root="1" />
- <span class="statistics">(<inp:n_list_count _ListType="pick" _Paging="0" _MaxCount="3" />)</span>
- <img src="img/arr_more.gif" width="16" height="7" alt="" />
- </td>
- </tr>
- <inp:n_list_news _ListType="pick" _NoTable="1" _Paging="0" _MaxCount="3" _ItemTemplate="innews/main/edpick/articles_element.tpl" />
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- </table>
- </td>
-</tr>
-
Property changes on: trunk/themes/default/innews/main/edpick/articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/main/edpick/articles_element.tpl
===================================================================
--- trunk/themes/default/innews/main/edpick/articles_element.tpl (revision 12830)
+++ trunk/themes/default/innews/main/edpick/articles_element.tpl (nonexistent)
@@ -1,6 +0,0 @@
- <tr>
- <td align="right"><img src="img/arr_yell.gif" width="7" height="7" alt="" /></td>
- <td class="quick-links" WIDTH="100%"><a href="<inp:article _field="cat_link" _template="__default__" />"><inp:article _field="title" /></a></td>
- </tr>
-
-
Property changes on: trunk/themes/default/innews/main/edpick/articles_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/pick/article_element.tpl
===================================================================
--- trunk/themes/default/innews/pick/article_element.tpl (revision 12830)
+++ trunk/themes/default/innews/pick/article_element.tpl (nonexistent)
@@ -1,82 +0,0 @@
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="innews/img/ic_newspaper.gif" width="16" height="16" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td class="item" valign="top" width="10000">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="item" valign="top" width="10000">
- <a href="<inp:article _field="link" _Template="__default__" />"><inp:article _field="title" /></a>
- </td>
- <td valign="top">&nbsp;<inp:article _field="pick"><img src="img/ic_pick.gif" width="11" height="11" alt="" /></inp></td>
- <td valign="top">
- <inp:article _field="hot"><img src="img/ic_hot.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_hot" />" /></inp>
- <inp:article _field="new"><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /></inp>
- <inp:article _field="pop"><img src="img/ic_pop.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_pop" />" /></inp>
- <inp:article _field="favorite"><img src="img/ic_favorite.gif" width="11" height="11" alt="favorite" /></inp><br />
- </td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top" nowrap="nowrap"><inp:article _Field="rating" _DisplayMode="graphical" _OffImage="img/star.gif" _OnImage="img/star_rate.gif" /></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td valign="top">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><inp:article _field="image" _thumbnail="0" _Primary="1" _ImageTag="1" _defaulturl="img/noimage.gif" align="left" border="0" width="120" height="75" /><br /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top"><inp:article _field="excerpt" /></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td class="comments">
- (<inp:m_language _Phrase="lu_added" />: <inp:article _Field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _field="votes" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _field="reviews" />)
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td class="dott-line">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><a href="<inp:article _field="link" _Template="__default__" />"><img src="img/ic_details.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _Template="__default__" />"><inp:m_language _Phrase="lu_details" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/rate" />"><img src="img/ic_rateit.gif" width="22" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/rate" />"><inp:m_language _Phrase="lu_rate_article" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/reviews" />"><img src="img/ic_reviews.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/reviews" />"><inp:m_language _Phrase="lu_reviews" /></a></td>
-
- <!--<td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="add_favorite_link" />"><img src="img/ic_addtofav.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="add_favorite_link" />"><inp:m_language _Phrase="lu_add_to_favorites" /></a></td>
- -->
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href=""><img src="img/ic_removefromfav.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href=""><inp:m_language _Phrase="lu_remove_from_favorites" /></a></td>
- </tr>
- </table>
- </td>
- </tr>
-</table><br><br>
Property changes on: trunk/themes/default/innews/pick/article_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/pick/articles.tpl
===================================================================
--- trunk/themes/default/innews/pick/articles.tpl (revision 12830)
+++ trunk/themes/default/innews/pick/articles.tpl (nonexistent)
@@ -1,66 +0,0 @@
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="100%" class="bgr-links">
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <!-- page title -->
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="50"><img src="innews/img/ic_news_big.gif" width="46" height="46" alt="" /><br /></td>
- <td><h1><inp:m_language _Phrase="lu_pick_news" /> <span>(<inp:n_list_count _ListType="pick" _CatInfo="1" _Paging="1" _ShortList="0" />)</span></h1><span class="statistics"><inp:m_language _Phrase="lu_added_today"/>:&nbsp;<span>(<inp:m_itemcount _ItemType="Article" _Today="1" _GroupOnly="1" />)</span></span></td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- </table><img src="img/s.gif" width="1" height="5" alt="" /><br />
-
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <TD WIDTH="50">&nbsp;</TD>
- <td class="comments"><inp:m_language _Phrase="lu_legend" />:</td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td><img src="img/ic_hot.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_hot" />" /><br /></td>
- <td class="tips"> -<inp:m_language _Phrase="lu_hot" /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /><br /></td>
- <td class="tips"> -<inp:m_language _Phrase="lu_new" /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td><img src="img/ic_pop.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_pop" />" /><br /></td>
- <td class="tips"> -<inp:m_language _Phrase="lu_pop" /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td><img src="img/ic_top.gif" width="11" height="11" alt="" /><br /></td>
- <td class="tips"> -<inp:m_language _Phrase="lu_top" /></td>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td><img src="img/ic_pick.gif" width="11" height="11" alt="" /><br /></td>
- <td class="tips"> -<inp:m_language _Phrase="lu_editors_pick" /></td>
- </tr>
- </table><br />
- <!-- page title \\-->
-
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="pagination" align="right">
- <!--<img src="img/ic_pages.gif" width="9" height="12" alt="" />--> <inp:n_news_pagenav _ListType="pick" _CatInfo="1" _ShortList=0 _Label="lu_page_label" _PageIcon="img/ic_pages.gif" />
- </td>
- </tr>
- </table><img src="img/s.gif" width="1" height="10" alt="" /><br />
- <inp:include _Template="innews/sort_articles.tpl"/>
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><inp:n_list_news _ListType="pick" _CatInfo="1" _Paging="1" _ShortList="0" _ItemTemplate="innews/pick/article_element.tpl" /><br /></td>
- </tr>
- </table>
-
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="pagination" align="right">
- <img src="img/ic_pages.gif" width="9" height="12" alt="" /> <inp:n_news_pagenav _ListType="pick" _CatInfo="1" _ShortList=0 _Label="lu_page_label" />
- </td>
- </tr>
- </table><img src="img/s.gif" width="1" height="10" alt="" /><br />
-
- </td>
- </tr>
-</table>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/pick/articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/pick/right.tpl
===================================================================
--- trunk/themes/default/innews/pick/right.tpl (revision 12830)
+++ trunk/themes/default/innews/pick/right.tpl (nonexistent)
@@ -1,19 +0,0 @@
-<!-- Template=right.tpl -->
-
-<!-- login box //-->
-<inp:m_loginbox _LoginTemplate="misc/right_login" _LoggedInTemplate="misc/right_loggedin" />
-<!-- login box \\-->
-
-<!-- search box //-->
-<inp:include _Template="misc/right_searchbox" />
-<!-- search box \\-->
-
-<!-- recommend box //-->
-<inp:include _Template="misc/right_recommend" />
-<!-- recommend box \\-->
-
-<inp:include _Template="innews/index/right/actionbox.tpl" />
-
-<!-- quick links box //-->
-<inp:include _Template="innews/quicklinks/new.tpl" _DataExists="1"/>
-<!-- quick links box \\-->
Property changes on: trunk/themes/default/innews/pick/right.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/advsearch/adv_searchtype_options.tpl
===================================================================
--- trunk/themes/default/innews/advsearch/adv_searchtype_options.tpl (revision 12830)
+++ trunk/themes/default/innews/advsearch/adv_searchtype_options.tpl (nonexistent)
@@ -1 +0,0 @@
-<OPTION VALUE="2"><inp:m_language _Phrase="lu_articles" /></OPTION>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/advsearch/adv_searchtype_options.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/catindex.tpl
===================================================================
--- trunk/themes/default/innews/catindex.tpl (revision 12830)
+++ trunk/themes/default/innews/catindex.tpl (nonexistent)
@@ -1,62 +0,0 @@
- <!-- news update line //-->
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-updatefill" width="10000"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td nowrap="nowrap" class="updated"><inp:m_language _Phrase="lu_news_updated" />: <inp:n_article_modified /></td>
- </tr>
- </table>
- <!-- news update line \\-->
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000" class="bgr-news">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="5"><h1><inp:m_language _Phrase="lu_news" /> <span>(<inp:n_list_count _ListType="category" _catlead="primary" _ShortList="1"/>)</span> </h1></td>
- </tr>
- <tr>
- <td colspan="5"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- <tr>
- <td class="statistics"><inp:m_language _Phrase="lu_total_news" />:&nbsp;<span><inp:m_itemcount _ItemType="Article" _GroupOnly="1" /></span></td>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td class="statistics"><inp:m_language _Phrase="lu_added_today" />:&nbsp;<span><inp:m_itemcount _ItemType="Article" _Today="1" _GroupOnly="1" /></span></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="5"><img src="img/s.gif" width="1" height="3" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="5" class="bgr-updatefill"><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- </tr>
- </table>
-
- <!-- news content -->
- <br />
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top">
- <inp:n_list_news _ListType="category" _ItemTemplate="innews/index/article_element.tpl" _catlead="primary" _ShortList="1" />
- </td>
- </tr>
- <tr>
- <td align="right" valign="top" class="posts">
- <inp:n_link_more _ListType="category" _Template="__default__" _text="lu_more" _Image="img/arr_more.gif" />
- </td>
- </tr>
- </table>
-
- <!-- end news content -->
- </td>
- </tr>
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="2" class="bgr-separate"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- </table>
-
Property changes on: trunk/themes/default/innews/catindex.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/addreview/review_access_denied.tpl
===================================================================
--- trunk/themes/default/innews/addreview/review_access_denied.tpl (revision 12830)
+++ trunk/themes/default/innews/addreview/review_access_denied.tpl (nonexistent)
@@ -1,63 +0,0 @@
-<SPAN CLASS="error">
-<inp:m_language _Phrase="lu_review_access_denied" />
-</SPAN>
-<FORM method="POST" NAME="login" ACTION="<inp:m_form_action _form="login"/>">
-<table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <!--<td valign="top"><img src="img/pic_login.jpg" width="45" height="236" alt="" /><br /></td>-->
- <td valign="top" width="10000">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="3" class="field-content-top"><h2><inp:m_language _Phrase="lu_existing_users" /></h2></td>
- </tr>
- <tr>
- <td colspan="3" class="error"><inp:m_list_form_errors _Form="login" _ItemTemplate="misc/form_error.tpl" /></td>
- </tr>
- <tr>
- <td class="field-name">
- <inp2:m_if check="u_UseUsernames">
- <inp:m_form_prompt _field="login_user" _Form="login" _langtext="lu_prompt_username" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" />
- <inp2:m_else/>
- <inp:m_form_prompt _field="login_user" _Form="login" _langtext="lu_prompt_email" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" />
- </inp2:m_if>
- <span class="error">*</span>
- </td>
- <td width="100%" class="field-content-input"><inp:m_form_input type="text" class="input" style="width:135px;" _field="login_user" _Form="login" _Required="1" /><br /></td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td class="field-name"><inp:m_form_prompt _form="login" _Field="login_password" _langtext="lu_prompt_password" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" /> <span class="error">*</span></td>
- <td class="field-content-input"><inp:m_form_input type="password" class="input" _field="login_password" _Form="login" _Required="1" style="width:135px;" /><br /></td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td class="field-name">&nbsp;</td>
- <td class="field-content" valign="top">
- <span class="tips"><a href="<inp:m_template_link _Template="forgotpw" />"><inp:m_language _Phrase="lu_forgot_password_link" /></a></span><br />
- <img src="img/s.gif" width="1" height="15" alt="" /><br />
- <INPUT type="submit" name="login" value="<inp:m_language _Phrase="lu_login" />" class="button">
- </td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td colspan="2" class="field-content"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="3" class="field-content-top">
- <br />
- <h2><inp:m_language _Phrase="lu_new_users" /></h2>
- <inp:m_language _Phrase="lu_register_text" />
- </td>
- </tr>
- <tr>
- <td class="field-name"><br /><br /></td>
- <td colspan="2" class="field-content"><span class="item-my"><a href="<inp:m_template_link _Template="register" />"><inp:m_language _Phrase="lu_register" /></a></span></td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-</form>
-
-
Property changes on: trunk/themes/default/innews/addreview/review_access_denied.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/addreview/review_confirm.tpl
===================================================================
--- trunk/themes/default/innews/addreview/review_confirm.tpl (revision 12830)
+++ trunk/themes/default/innews/addreview/review_confirm.tpl (nonexistent)
@@ -1,110 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
- </tr>
- <tr height="100%">
- <td valign="top" class="bott-line">
-
- <!-- path //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
- </tr>
- <tr>
- <td class="bgr-path">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><inp:m_navbar _RootTemplate="index" _Template="__default__" _separator=" &gt; " /></td>
- <td align="right">
- <table border="0" cellspacing="0" cellpadding="0" align="right">
- <tr>
- <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
- <td>&nbsp;</td>
- <td class="post-action"><span onclick="showSeg('langmenu',true); "><a href="<inp:m_template_link _Template="lang_select" />"><inp:m_lang_field _Field="LocalName" /></a></span></td>
- <td>&nbsp;&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <inp:include _Template="lang_select/lang_menu.tpl" />
- </td>
- </tr>
- </table>
- <!-- path \\-->
-
- <!-- confirm //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <FORM method="POST" NAME="addreview_confirm" ACTION="<inp:n_form_action _Form="n_review_confirm" />">
- <tr>
- <td width="50"><img src="img/ic_confirm_big.gif" width="46" height="46" alt="" /><br /></td>
- <td><h1><inp:m_language _Phrase="lu_review_news" /></h1></td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></TD>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td><br />
- <h2><inp:m_language _Phrase="lu_news_review_confirm" /></h2>
- <inp:m_language _Phrase="lu_news_addreview_confirm_text" /><br /><br />
- </td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></TD>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td>
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
- </td>
- </tr>
- </FORM>
- </table>
- </td>
- </tr>
- </table>
- <!-- confirm \\-->
- </td>
-
- <!-- white line content/right column //-->
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <!-- white line content/right column \\-->
-
-
- <!-- right column //-->
- <td valign="top" height="100%" class="open-box"><inp:include _template="innews/detail/right.tpl" /></td>
- <!-- right column \\-->
-
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
-
- <inp:include _Template="common/footer.tpl" />
-</table>
-
-</body>
-</html>
-
Property changes on: trunk/themes/default/innews/addreview/review_confirm.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/addreview/addreview_form.tpl
===================================================================
--- trunk/themes/default/innews/addreview/addreview_form.tpl (revision 12830)
+++ trunk/themes/default/innews/addreview/addreview_form.tpl (nonexistent)
@@ -1,51 +0,0 @@
-<!-- suggest link content -->
- <FORM enctype="multipart/form-data" method="POST" NAME="addreview" ACTION="<inp:n_form_action _Form="n_addreview" _Confirm="innews/addreview/review_confirm.tpl" _ConfirmPending="innews/addreview/review_confirm_pending.tpl" _FinishTemplate="innews/reviews.tpl" />">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="4">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><h2><inp:m_language _Phrase="lu_add_review" /></h2></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td class="tips">(<span class="error">*</span><inp:m_language _Phrase="lu_required_field" />)</td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td colspan="4" class="error"><inp:m_list_form_errors _Form="n_addreview" _ItemTemplate="misc/form_error.tpl" /></td>
- </tr>
- <tr>
- <td colspan="4" class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="4"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="16" height="1" alt="" /><br /></td>
- <td><inp:m_form_prompt _Form="n_addreview" _Field="review" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_prompt_review" /> <span class="error">*</span></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td><inp:m_form_textarea class="textarea" _field="review" _Form="n_addreview" _Required="1" ROWS="10" style="width:350px;" /><br /></td>
- </tr>
- <tr>
- <td colspan="4"><img src="img/s.gif" width="1" height="20" alt="" /><br /></td>
- </tr>
-
- <!-- buttons -->
- <tr>
- <td colspan="4"><img src="img/s.gif" width="1" height="3" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="4" class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="4">
- <img src="img/s.gif" width="1" height="3" alt="" /><br />
- <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_add_review" />" class="button">
- <INPUT type="button" name="cancel" value="<inp:m_language _Phrase="lu_cancel" />" class="button" onClick="javascript:document.location='<inp:m_template_link _Unsecure="1" _Template="__default__" />';">
- </td>
- </tr>
- <!-- end buttons -->
- </table>
- </FORM>
-
Property changes on: trunk/themes/default/innews/addreview/addreview_form.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/addreview/review_confirm_pending.tpl
===================================================================
--- trunk/themes/default/innews/addreview/review_confirm_pending.tpl (revision 12830)
+++ trunk/themes/default/innews/addreview/review_confirm_pending.tpl (nonexistent)
@@ -1,96 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr height="100%">
- <td valign="top">
- <!-- navbar -->
- <img src="img/s.gif" width="10" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td style="background: url('img/bgr_path.jpg')"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td style="background: url('img/bgr_path.jpg')">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><inp:m_navbar _RootTemplate="index" _separator=" &gt; " /></td>
- </tr>
- </table>
- </td>
- <td width="10000" valign="top" class="bgr-path">&nbsp;</td>
- </tr>
- </table>
- <!-- end navbar -->
-
- <!-- confirm //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <FORM method="POST" NAME="addreview_confirm" ACTION="<inp:n_form_action _Form="n_review_confirm" />">
- <tr>
- <td width="50"><img src="img/ic_confirm_big.gif" width="46" height="46" alt="" /><br /></td>
- <td><h1><inp:m_language _Phrase="lu_review_news" /></h1></td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></TD>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td><br />
- <h2><inp:m_language _Phrase="lu_news_review_confirm_pending" /></h2>
- <inp:m_language _Phrase="lu_news_addreview_confirm__pending_text" /><br /><br />
- </td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></TD>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td>
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
- </td>
- </tr>
- </FORM>
- </table>
- </td>
- </tr>
- </table>
- <!-- confirm \\-->
- </td>
-
- <!-- start vertical white line in main conent table -->
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <!-- end vertical white line in main conent table -->
-
-
- <!-- start right flexible cell in main content table -->
- <td valign="top">
- <inp:include _template="innews/addreview/right.tpl" />
- </td>
- <!-- end right flexible cell in main content table -->
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
-
- <inp:include _Template="common/footer.tpl" />
-</table>
-
-</body>
-</html>
-
Property changes on: trunk/themes/default/innews/addreview/review_confirm_pending.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/item_favorites.tpl
===================================================================
--- trunk/themes/default/innews/item_favorites.tpl (revision 12830)
+++ trunk/themes/default/innews/item_favorites.tpl (nonexistent)
@@ -1,93 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
- </tr>
- <tr height="100%">
- <td valign="top" class="bott-line">
- <!-- navbar -->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td style="background: url('img/bgr_path.jpg')"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
- </tr>
- <tr height="24">
- <td style="background: url('img/bgr_path.jpg')">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><a href="<inp:m_template_link _Template="index" _Category=0 />"><inp:m_language _Phrase="lu_home" /></a> >
- <A HREF="<inp:m_template_link _template="my_account" />"><inp:m_language _Phrase="lu_myaccount" /></A> >
- <A HREF="<inp:m_template_link _template="my_favorites" />"><inp:m_language _Phrase="lu_my_favorites" /></A> >
- <inp:m_language _Phrase="lu_my_news_favorites" />
- </td>
- </tr>
- </table>
- </td>
- <!--<td width="10000" valign="top" class="bgr-path">&nbsp;</td>-->
- </tr>
- </table>
- <!-- end navbar -->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000" class="bgr-myaccount">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <!-- page title -->
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="50"><img src="img/ic_myfavorites_big.gif" width="46" height="46" alt="" /><br /></td>
- <td><h1><inp:m_language _Phrase="lu_my_news_favorites" /> <span>(<inp:n_list_count _ShortList="0" _ListType="favorites" _Paging="1" />)</span></h1></td>
- </tr>
- </table>
- <!-- end page title -->
- <br />
- <inp:include _Template="innews/sort_articles.tpl" />
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="40" height="1" alt="" /><br /></td>
- <td valign="top">
- <inp:n_list_news _ShortList="0" _ListType="favorites" _ItemTemplate="innews/main/favorites_element.tpl" />
- </td>
- </tr>
- <tr>
- <td colspan="2" align="right" valign="top" class="pagination">
- <inp:n_news_pagenav _ListType="favorites" _Label="lu_page_label" _ShortList="0" />
- </td>
- </tr>
- </table>
- </TD>
- </TR>
- </TABLE>
- </td>
-
- <!-- start vertical white line in main conent table -->
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <!-- end vertical white line in main conent table -->
-
-
- <!-- start right flexible cell in main content table -->
- <td valign="top" class="open-box">
- <inp:include _template="innews/index/right.tpl" />
- </td>
- <!-- end right flexible cell in main content table -->
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
-
- <inp:include _Template="common/footer.tpl" />
-</table>
-
-</body>
-</html>
Property changes on: trunk/themes/default/innews/item_favorites.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/menubar_element.tpl
===================================================================
--- trunk/themes/default/innews/menubar_element.tpl (revision 12830)
+++ trunk/themes/default/innews/menubar_element.tpl (nonexistent)
@@ -1,5 +0,0 @@
-<td>
- <inp:m_module_link _Module="In-News" _image="innews/img/ic_head_news.gif" onmouseover="highlight_link('menubar_news','#ffffff');" onmouseout="highlight_link('menubar_news','');" _Template="index" _Root="1" id="navbar_news_image" />
-</td>
-<td><inp:m_module_link _Module="In-News" _Text="lu_news" _Template="index" _Root="1" id="menubar_news" /></td>
-<td><img src="img/ic_head_separ.gif" width="11" height="24" alt="" /></td>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/menubar_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/rss_feed.tpl
===================================================================
--- trunk/themes/default/innews/rss_feed.tpl (revision 12830)
+++ trunk/themes/default/innews/rss_feed.tpl (nonexistent)
@@ -1,16 +0,0 @@
-<inp2:m_XMLTemplate /><?xml version="1.0" encoding="<inp2:lang.current_Field name="Charset"/>"?>
-<inp2:m_DefineElement name="article_element">
-<item>
- <title><inp2:Field name="Title"/></title>
- <link><inp2:n_ArticleLink template="innews/detail"/></link>
- <description><inp2:Field name="Description"/></description>
-</item>
-</inp2:m_DefineElement>
-
-<channel>
- <title><inp:m_page_title/></title>
- <link><inp2:m_Link template="innews/index"/></link>
-
-
-<inp2:n_PrintList render_as="article_element" per_page="-1"/>
-</channel>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/rss_feed.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/addreview.tpl
===================================================================
--- trunk/themes/default/innews/addreview.tpl (revision 12830)
+++ trunk/themes/default/innews/addreview.tpl (nonexistent)
@@ -1,92 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
- </tr>
- <tr height="100%">
- <td valign="top" class="bott-line">
- <!-- path //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
- </tr>
- <tr>
- <td class="bgr-path">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><inp:m_navbar _RootTemplate="index" _Template="__default__" _separator=" &gt; " /></td>
- <td align="right">
- <table border="0" cellspacing="0" cellpadding="0" align="right">
- <tr>
- <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
- <td>&nbsp;</td>
- <td class="post-action"><span onclick="showSeg('langmenu',true); "><inp:m_lang_field _Field="LocalName" /></span></td>
- <td>&nbsp;&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <inp:include _Template="lang_select/lang_menu.tpl" />
- </td>
- <!--<td width="10000" valign="top" class="bgr-path">&nbsp;</td>-->
- </tr>
- </table>
- <!-- path \\-->
-
-
- <!-- details update line -->
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-updatefill" width="10000"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td nowrap="nowrap" class="updated"><inp:m_language _Phrase="lu_details_updated" />: <inp:n_news_field _Field="modified" /></td>
- </tr>
- </table>
- <!-- end details update line -->
-
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top">
- <h1><inp:m_language _Phrase="lu_article_reviews" /></h1>
- </td>
- </TR>
- <TR>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top">
- <inp:perm_include _Template="innews/addreview/addreview_form.tpl" _noaccess="access_denied.tpl" _Permission="NEWS.REVIEW, NEWS.REVIEW.PENDING" /></TD>
- </TR>
- </TABLE>
- </TD>
-
-
- <!-- white line content/right column //-->
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <!-- white line content/right column \\-->
-
-
- <!-- right column //-->
- <td valign="top" height="100%" class="open-box"><inp:include _template="innews/detail/right.tpl" /></td>
- <!-- right column \\-->
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
- <inp:include _template="common/footer.tpl" />
-</table>
-</body>
-</html>
Property changes on: trunk/themes/default/innews/addreview.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/review/review_element.tpl
===================================================================
--- trunk/themes/default/innews/review/review_element.tpl (revision 12830)
+++ trunk/themes/default/innews/review/review_element.tpl (nonexistent)
@@ -1,14 +0,0 @@
-<TABLE BORDER=0>
-<tr>
- <td valign="top" class="reviewer">
- <img src="img/s.gif" width="120" height="1" alt="" /><br />
- <inp:m_language _Phrase="lu_by" /> <inp:review _field="reviewer" _usertag="login" /><br />
- <span class="tips"><inp:m_language _Phrase="lu_added" />: <inp:review _field="date" /></span>
- </td>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" ALIGN="left">
- <inp:review _field="text" /><br />
- <img src="img/s.gif" width="1" height="15" alt="" /><br />
- </td>
-</tr>
-</TABLE>
Property changes on: trunk/themes/default/innews/review/review_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/review/review_list.tpl
===================================================================
--- trunk/themes/default/innews/review/review_list.tpl (revision 12830)
+++ trunk/themes/default/innews/review/review_list.tpl (nonexistent)
@@ -1,49 +0,0 @@
-<!-- reviews update line -->
-<img src="img/s.gif" width="1" height="1" alt="" /><br />
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-updatefill" width="10000"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td nowrap="nowrap" class="updated"><inp:m_language _Phrase="lu_reviews_updated" />:<inp:n_review_modified /></td>
- </tr>
-</table>
-<!-- end reviews update line -->
-<!-- reviews -->
-<img src="img/s.gif" width="1" height="1" alt="" /><br />
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><h2><inp:m_language _Phrase="lu_reviews" /><span>(<inp:n_news_field _field="reviews" />)</span></h2></td>
- </tr>
- <tr>
- <td class="statistics"><inp:m_language _Phrase="lu_added_today" />:&nbsp;<span>(<inp:n_news_field _field="reviews" _Today="1" />)</span></td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="3" alt="" /><br /></td>
- </tr>
- <tr>
- <td class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></td>
- </tr>
- </table>
-
- <!-- review content -->
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <TR><TD>
- <inp:n_list_reviews _ReviewTemplate="innews/review/review_element.tpl" />
- </TD></TR>
- <tr>
- <td align="right" class="pagination"><inp:n_review_pagenav _Label="lu_page_label"/></td>
- </tr>
- </table>
- <!-- end review content -->
- </td>
-</tr>
-<tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="20" alt="" /><br /></td>
-</tr>
-</table>
-<!-- end reviews -->
-
Property changes on: trunk/themes/default/innews/review/review_list.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/new/article_element.tpl
===================================================================
--- trunk/themes/default/innews/new/article_element.tpl (revision 12830)
+++ trunk/themes/default/innews/new/article_element.tpl (nonexistent)
@@ -1,82 +0,0 @@
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="innews/img/ic_newspaper.gif" width="16" height="16" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td class="item" valign="top" width="10000">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="item" valign="top" width="10000">
- <a href="<inp:article _field="link" _Template="__default__" />"><inp:article _field="title" /></a>
- </td>
- <td valign="top">&nbsp;<inp:article _field="pick"><img src="img/ed_pick2.gif" width="22" height="22" alt="" /></inp>&nbsp;<br /></td>
- <td valign="top">
- <inp:article _field="hot"><img src="img/ic_hot.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_hot" />" /></inp>
- <inp:article _field="new"><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /></inp>
- <inp:article _field="pop"><img src="img/ic_pop.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_pop" />" /></inp>
- <inp:article _field="favorite"><img src="img/ic_favorite.gif" width="11" height="11" alt="favorite" /></inp><br />
- </td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top" nowrap="nowrap"><inp:article _Field="rating" _DisplayMode="graphical" _OffImage="img/star.gif" _OnImage="img/star_rate.gif" /></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td valign="top">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><inp:article _field="image" _thumbnail="0" _Primary="1" _ImageTag _defaulturl="img/noimage.gif" align="left" border="0" width="120" height="75" /><br /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top"><inp:article _field="excerpt" /></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td class="comments">
- (<inp:m_language _Phrase="lu_added" />: <inp:article _Field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _field="votes" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _field="reviews" />)
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td class="dott-line">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><a href="<inp:article _field="link" _Template="__default__" />"><img src="img/ic_details.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _Template="__default__" />"><inp:m_language _Phrase="lu_details" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/rate" />"><img src="img/ic_rateit.gif" width="22" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/rate" />"><inp:m_language _Phrase="lu_rateit" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/reviews" />"><img src="img/ic_reviews.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/reviews" />"><inp:m_language _Phrase="lu_reviews" /></a></td>
-
- <!--<td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="add_favorite_link" />"><img src="img/ic_addtofav.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="add_favorite_link" />"><inp:m_language _Phrase="lu_add_to_favorites" /></a></td>
- -->
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href=""><img src="img/ic_remove.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href=""><inp:m_language _Phrase="lu_remove_from_favorites" /></a></td>
- </tr>
- </table>
- </td>
- </tr>
-</table><br><br>
Property changes on: trunk/themes/default/innews/new/article_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/new/articles.tpl
===================================================================
--- trunk/themes/default/innews/new/articles.tpl (revision 12830)
+++ trunk/themes/default/innews/new/articles.tpl (nonexistent)
@@ -1,57 +0,0 @@
-<!-- page title //-->
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="50"><img src="innews/img/ic_news_big.gif" width="46" height="46" alt="" /><br /></td>
- <td><h1><inp:m_language _Phrase="lu_new_news" /> <span>(<inp:n_list_count _ListType="new" _CatInfo="1" _Paging="1" _ShortList="0" />)</span></h1><span class="statistics"><inp:m_language _Phrase="lu_added_today"/>:&nbsp;<span>(<inp:m_itemcount _ItemType="Article" _Today="1" _GroupOnly="1" />)</span></span></td>
- <td valign="top" align="right" class="pagination"><inp:n_news_pagenav _ListType="new" _label="lu_page_label" _CatInfo="1" _ShortList="0" />&nbsp;</td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="3"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td colspan="2">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="comments">LEGEND:</td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td><img src="img/ic_hot.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_hot" />" /><br /></td>
- <td class="comments"> -Hot</td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /><br /></td>
- <td class="comments"> -New</td>
- <td><img src="img/s.gif" width="10" height="1" alt="new" /><br /></td>
- <td><img src="img/ic_pop.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_pop" />" /><br /></td>
- <td class="comments"> -Pop</td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td><img src="img/ic_top.gif" width="11" height="11" alt="top" /><br /></td>
- <td class="comments"> -Top</td>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td><img src="img/ed_pick2.gif" width="22" height="22" alt="editors' pick" /><br /></td>
- <td class="comments">&nbsp; - Editors Pick</td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-<!-- page title \\-->
-
-<br /><br />
-<table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="30" height="1" alt="" /><br /></td>
- <td valign="top">
- <inp:n_list_news _ListType="new" _CatInfo="1" _Paging="1" _ShortList="0" _ItemTemplate="innews/new/article_element.tpl" /><br />
- </td>
- </tr>
- <tr>
- <td colspan=2 class="pagination" align="right">
- <inp:n_news_pagenav _ListType="new" _CatInfo="1" _ShortList=0 _Label="lu_page_label" />
- </td>
- </tr>
-</table>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/new/articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/new/right.tpl
===================================================================
--- trunk/themes/default/innews/new/right.tpl (revision 12830)
+++ trunk/themes/default/innews/new/right.tpl (nonexistent)
@@ -1,19 +0,0 @@
-<!-- Template=right.tpl -->
-
-<!-- login box //-->
-<inp:m_loginbox _LoginTemplate="misc/right_login" _LoggedInTemplate="misc/right_loggedin" />
-<!-- login box \\-->
-
-<!-- search box //-->
-<inp:include _Template="misc/right_searchbox" />
-<!-- search box \\-->
-
-<!-- recommend box //-->
-<inp:include _Template="misc/right_recommend" />
-<!-- recommend box \\-->
-
-<inp:include _Template="innews/index/right/actionbox.tpl" />
-
-<!-- quick links box //-->
-<inp:include _Template="innews/quicklinks/edpick.tpl" _DataExists="1"/>
-<!-- quick links box \\-->
\ No newline at end of file
Property changes on: trunk/themes/default/innews/new/right.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/rate/getting_rated.tpl
===================================================================
--- trunk/themes/default/innews/rate/getting_rated.tpl (revision 12830)
+++ trunk/themes/default/innews/rate/getting_rated.tpl (nonexistent)
@@ -1,63 +0,0 @@
-<inp:n_news_detail _ItemTemplate="innews/detail/article.tpl" />
-<!-- rate link content -->
-
-<inp:m_language _Phrase="lu_getting_rated_text" />
-<BR /><BR />
-<textarea cols="70" rows="15">
-<FORM enctype="multipart/form-data" method="POST" NAME="addrating" ACTION="<inp:n_form_action _Form="n_getting_rated" _Confirm="innews/rate/rate_confirm.tpl" _Duplicate="innews/rate/rate_duplicate.tpl" _FinishTemplate="__default__" />">
-<table border="0" cellspacing="0" cellpadding="0">
-<tr>
-<td colspan="4">
-<table border="0" cellspacing="0" cellpadding="0">
-<tr>
-<td><h2><inp:m_language _Phrase="lu_rate_news" /></h2></td>
-<td><img src="<inp:m_theme_url />img/s.gif" width="10" height="1" alt="" /><br /></td>
-<td class="tips">(<span class="error">*</span><inp:m_language _Phrase="lu_required_field" />)</td>
-</tr>
-</table></td>
-</tr>
-<tr><td colspan="4" class="error"><inp:m_list_form_errors _Form="n_rate" _ItemTemplate="misc/form_error.tpl" /></td></tr>
-<tr><td colspan="4" class="bgr-updatefill"><img src="<inp:m_theme_url />img/s.gif" width="300" height="1" alt="" /><br /></td></tr><tr><td colspan="4"><img src="<inp:m_theme_url />img/s.gif" width="1" height="5" alt="" /><br /></td></tr>
-<tr>
-<td><img src="<inp:m_theme_url />img/s.gif" width="16" height="1" alt="" /><br /></td>
-<td colspan="2"><inp:m_form_input type="radio" _required="1" _field="rating" _form="l_rate" VALUE="5" /><img src="<inp:m_theme_url />img/star_rate.gif"><img src="<inp:m_theme_url />img/star_rate.gif"><img src="<inp:m_theme_url />img/star_rate.gif"><img src="<inp:m_theme_url />img/star_rate.gif"><img src="<inp:m_theme_url />img/star_rate.gif"></TD>
-<td><inp:m_form_prompt _Form="l_rate" _Field="review" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_5" /></td>
-</tr>
-<tr>
-<td><img src="<inp:m_theme_url />img/s.gif" width="16" height="1" alt="" /><br /></td>
-<td colspan="2"><inp:m_form_input type="radio" _field="rating" _form="l_rate" VALUE="4" /><img src="<inp:m_theme_url />img/star_rate.gif"><img src="<inp:m_theme_url />img/star_rate.gif"><img src="<inp:m_theme_url />img/star_rate.gif"><img src="<inp:m_theme_url />img/star_rate.gif"></TD> <TD><inp:m_form_prompt _Form="l_rate" _Field="review" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_4" /></td>
-</tr>
-<tr>
-<td><img src="<inp:m_theme_url />img/s.gif" width="16" height="1" alt="" /><br /></td>
-<TD COLSPAN=2><inp:m_form_input type="radio" _field="rating" _form="l_rate" VALUE="3" /><img src="<inp:m_theme_url />img/star_rate.gif"><img src="<inp:m_theme_url />img/star_rate.gif"><img src="<inp:m_theme_url />img/star_rate.gif"></TD>
-<TD><inp:m_form_prompt _Form="l_rate" _Field="review" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_3" /></td>
-</tr>
-<tr>
-<td><img src="<inp:m_theme_url />img/s.gif" width="16" height="1" alt="" /><br /></td>
-<TD COLSPAN=2><inp:m_form_input type="radio" _field="rating" _form="l_rate" VALUE="2" /><img src="<inp:m_theme_url />img/star_rate.gif"><img src="<inp:m_theme_url />img/star_rate.gif"></TD>
- <TD><inp:m_form_prompt _Form="l_rate" _Field="review" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_2" /></td>
-</tr>
-<tr>
-<td><img src="<inp:m_theme_url />img/s.gif" width="16" height="1" alt="" /><br /></td>
-<TD COLSPAN=2><inp:m_form_input type="radio" _field="rating" _form="l_rate" VALUE="1" /><img src="<inp:m_theme_url />img/star_rate.gif"></TD>
-<TD><inp:m_form_prompt _Form="l_rate" _Field="review" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_1" /></td>
-</tr>
-<tr>
-<td><img src="<inp:m_theme_url />img/s.gif" width="16" height="1" alt="" /><br /></td>
-<TD COLSPAN=2><inp:m_form_input type="radio" _field="rating" _form="l_rate" VALUE="0" /></TD>
-<TD><inp:m_form_prompt _Form="l_rate" _Field="review" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_0" /></td>
-</tr>
-<tr>
-<td colspan="4"><img src="<inp:m_theme_url />img/s.gif" width="1" height="20" alt="" /><br /></td>
-</tr>
-<tr>
-<td colspan="4"><img src="<inp:m_theme_url />img/s.gif" width="1" height="3" alt="" /><br /></td>
-</tr>
-<tr>
-<td colspan="4" class="bgr-updatefill"><img src="<inp:m_theme_url />img/s.gif" width="300" height="1" alt="" /><br /></td>
-</tr>
-<tr>
-<td colspan="4"><img src="<inp:m_theme_url />img/s.gif" width="1" height="3" alt="" /><br /><INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_rate_news" />" class="button"></td>
-</tr>
-</table>
-</FORM></textarea>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/rate/getting_rated.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/rate/rate_form.tpl
===================================================================
--- trunk/themes/default/innews/rate/rate_form.tpl (revision 12830)
+++ trunk/themes/default/innews/rate/rate_form.tpl (nonexistent)
@@ -1,110 +0,0 @@
-<inp:n_news_detail _ItemTemplate="innews/detail/article.tpl" />
-<!-- rate news content -->
-<FORM enctype="multipart/form-data" method="POST" NAME="addrating" ACTION="<inp:n_form_action _Form="n_rate" _Confirm="innews/rate/rate_confirm.tpl" _Duplicate="innews/rate/rate_duplicate.tpl" _FinishTemplate="__default__" />">
-<table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="4">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><h2><inp:m_language _Phrase="lu_rate_news" /></h2></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td class="tips">(<span class="error">*</span><inp:m_language _Phrase="lu_required_field" />)</td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td colspan="4" class="error"><inp:m_list_form_errors _Form="n_rate" _ItemTemplate="misc/form_error.tpl" /></td>
- </tr>
- <tr>
- <td colspan="4" class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="4"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="16" height="1" alt="" /><br /></td>
- <TD COLSPAN=2>
- <inp:m_form_input type="radio" _required="1" _field="rating" _form="n_rate" VALUE="5" />
- <IMG SRC="img/star_rate.gif"><IMG SRC="img/star_rate.gif"><IMG SRC="img/star_rate.gif"><IMG SRC="img/star_rate.gif"><IMG SRC="img/star_rate.gif">
- </TD>
- <TD>
- <inp:m_form_prompt _Form="n_rate" _Field="rating" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_5" />
- </td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="16" height="1" alt="" /><br /></td>
- <TD COLSPAN=2>
- <inp:m_form_input type="radio" _field="rating" _form="n_rate" VALUE="4" />
- <IMG SRC="img/star_rate.gif"><IMG SRC="img/star_rate.gif"><IMG SRC="img/star_rate.gif"><IMG SRC="img/star_rate.gif">
- </TD>
-
- <TD>
- <inp:m_form_prompt _Form="n_rate" _Field="rating" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_4" />
- </td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="16" height="1" alt="" /><br /></td>
- <TD COLSPAN=2>
- <inp:m_form_input type="radio" _field="rating" _form="n_rate" VALUE="3" />
- <IMG SRC="img/star_rate.gif"><IMG SRC="img/star_rate.gif"><IMG SRC="img/star_rate.gif">
- </TD><TD>
- <inp:m_form_prompt _Form="n_rate" _Field="rating" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_3" />
- </td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="16" height="1" alt="" /><br /></td>
- <TD COLSPAN=2>
- <inp:m_form_input type="radio" _field="rating" _form="n_rate" VALUE="2" />
- <IMG SRC="img/star_rate.gif"><IMG SRC="img/star_rate.gif">
- </TD>
- <TD>
- <inp:m_form_prompt _Form="n_rate" _Field="rating" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_2" />
- </td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="16" height="1" alt="" /><br /></td>
- <TD COLSPAN=2>
- <inp:m_form_input type="radio" _field="rating" _form="n_rate" VALUE="1" />
- <IMG SRC="img/star_rate.gif">
- </TD>
- <TD>
- <inp:m_form_prompt _Form="n_rate" _Field="rating" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_1" />
- </td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="16" height="1" alt="" /><br /></td>
- <TD COLSPAN=2>
- <inp:m_form_input type="radio" _field="rating" _form="n_rate" VALUE="0" />
-
- </TD>
- <TD>
- <inp:m_form_prompt _Form="n_rate" _Field="rating" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_0" />
- </td>
- </tr>
-
- <tr>
- <td colspan="4"><img src="img/s.gif" width="1" height="20" alt="" /><br /></td>
- </tr>
-
- <!-- buttons -->
- <tr>
- <td colspan="4"><img src="img/s.gif" width="1" height="3" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="4" class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="4">
- <img src="img/s.gif" width="1" height="3" alt="" /><br />
- <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_rate_news" />" class="button">
- <INPUT type="button" name="cancel" value="<inp:m_language _Phrase="lu_cancel" />" class="button" onClick="javascript:history.back();">
- </td>
- </tr>
- <!-- end buttons -->
-</table>
-</FORM>
-
- <table width="500">
- <tr><td align="right"><a href="<inp:m_template_link _Unsecure="1" _Template="innews/get_rated.tpl" />" class="link"><inp:m_language _Phrase="lu_getting_rated" /></a></td></tr>
- </table>
Property changes on: trunk/themes/default/innews/rate/rate_form.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/rate/rate_confirm.tpl
===================================================================
--- trunk/themes/default/innews/rate/rate_confirm.tpl (revision 12830)
+++ trunk/themes/default/innews/rate/rate_confirm.tpl (nonexistent)
@@ -1,107 +0,0 @@
-<inp:include _template="common/head.tpl"/>
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
- </tr>
- <tr height="100%">
- <td valign="top" class="bott-line">
- <!-- path //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
- </tr>
- <tr>
- <td class="bgr-path">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><inp:m_navbar _RootTemplate="index" _separator=" &gt; " /></td>
- <td align="right">
- <table border="0" cellspacing="0" cellpadding="0" align="right">
- <tr>
- <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
- <td>&nbsp;</td>
- <td class="post-action"><span onclick="showSeg('langmenu',true); "><a href="<inp:m_template_link _Template="lang_select" />"><inp:m_lang_field _Field="LocalName" /></a></span></td>
- <td>&nbsp;&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <inp:include _Template="lang_select/lang_menu.tpl" />
- </td>
- </tr>
- </table>
- <!-- path \\-->
-
- <!-- rate //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <FORM method="POST" NAME="addreview_confirm" ACTION="<inp:n_form_action _Form="n_rate_confirm" />">
- <tr>
- <td width="50"><img src="img/ic_confirm_big.gif" width="46" height="46" alt="" /><br /></td>
- <td><h1><inp:m_language _Phrase="lu_rate_news" /></h1></td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></TD>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td><br />
- <h2><inp:m_language _Phrase="lu_news_rate_confirm" /></h2>
- <inp:m_language _Phrase="lu_news_rate_confirm_text" /><br /><br />
- </td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></TD>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td>
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
- </td>
- </tr>
- </FORM>
- </table>
- </td>
- </tr>
- </table>
- <!-- rate \\-->
-
- </td>
-
- <!-- white line content/right column //-->
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <!-- white line content/right column \\-->
-
- <!-- right column //-->
- <td valign="top" height="100%" class="open-box"><inp:include _template="innews/detail/right.tpl" /></td>
- <!-- right column \\-->
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
-
- <inp:include _Template="common/footer.tpl" />
-</table>
-
-</body>
-</html>
Property changes on: trunk/themes/default/innews/rate/rate_confirm.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/rate/rate_duplicate.tpl
===================================================================
--- trunk/themes/default/innews/rate/rate_duplicate.tpl (revision 12830)
+++ trunk/themes/default/innews/rate/rate_duplicate.tpl (nonexistent)
@@ -1,107 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
- </tr>
- <tr height="100%">
- <td valign="top" class="bott-line">
- <!-- path //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
- </tr>
- <tr>
- <td class="bgr-path">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><inp:m_navbar _RootTemplate="index" _separator=" &gt; " /></td>
- <td align="right">
- <table border="0" cellspacing="0" cellpadding="0" align="right">
- <tr>
- <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
- <td>&nbsp;</td>
- <td class="post-action"><span onclick="showSeg('langmenu',true); "><a href="<inp:m_template_link _Template="lang_select" />"><inp:m_lang_field _Field="LocalName" /></a></span></td>
- <td>&nbsp;&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <inp:include _Template="lang_select/lang_menu.tpl" />
- </td>
- </tr>
- </table>
- <!-- path \\-->
-
- <!-- confirm //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <FORM method="POST" NAME="addreview_confirm" ACTION="<inp:n_form_action _Form="n_rate_confirm" />">
- <tr>
- <td width="50"><img src="img/ic_warning_big.gif" width="46" height="46" alt="" /><br /></td>
- <td><h1><inp:m_language _Phrase="lu_rate_news" /></h1></td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></TD>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td><br />
- <h2><inp:m_language _Phrase="lu_news_rate_confirm" /></h2>
- <span class="error"><inp:m_language _Phrase="lu_news_rate_confirm_duplicate_text" /></span><br /><br />
- </td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></TD>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td>
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
- </td>
- </tr>
- </FORM>
- </table>
- </td>
- </tr>
- </table>
- <!-- confirm \\-->
-
- </td>
-
- <!-- white line content/right column //-->
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <!-- white line content/right column \\-->
-
- <!-- right column //-->
- <td valign="top" height="100%" class="open-box"><inp:include _template="innews/detail/right.tpl" /></td>
- <!-- right column \\-->
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
-
- <inp:include _Template="common/footer.tpl" />
-</table>
-
-</body>
-</html>
Property changes on: trunk/themes/default/innews/rate/rate_duplicate.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/rate/rate_access_denied.tpl
===================================================================
--- trunk/themes/default/innews/rate/rate_access_denied.tpl (revision 12830)
+++ trunk/themes/default/innews/rate/rate_access_denied.tpl (nonexistent)
@@ -1,62 +0,0 @@
-<SPAN CLASS="error"><inp:m_language _Phrase="lu_rate_access_denied" /></SPAN>
-
-<FORM method="POST" NAME="login" ACTION="<inp:m_form_action _form="login"/>">
-<table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <!--<td valign="top"><img src="img/pic_login.jpg" width="45" height="236" alt="" /><br /></td>-->
- <td valign="top" width="10000">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="3" class="field-content-top"><h2><inp:m_language _Phrase="lu_existing_users" /></h2></td>
- </tr>
- <tr>
- <td colspan="3" class="error"><inp:m_list_form_errors _Form="login" _ItemTemplate="misc/form_error.tpl" /></td>
- </tr>
- <tr>
- <td class="field-name">
- <inp2:m_if check="u_UseUsernames">
- <inp:m_form_prompt _field="login_user" _Form="login" _langtext="lu_prompt_username" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" />
- <inp2:m_else/>
- <inp:m_form_prompt _field="login_user" _Form="login" _langtext="lu_prompt_email" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" />
- </inp2:m_if>
- <span class="error">*</span>
- </td>
- <td width="100%" class="field-content-input"><inp:m_form_input type="text" class="input" style="width:135px;" _field="login_user" _Form="login" _Required="1" /><br /></td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td class="field-name"><inp:m_form_prompt _form="login" _Field="login_password" _langtext="lu_prompt_password" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" /> <span class="error">*</span></td>
- <td class="field-content-input"><inp:m_form_input type="password" class="input" _field="login_password" _Form="login" _Required="1" style="width:135px;" /><br /></td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td class="field-name">&nbsp;</td>
- <td class="field-content" valign="top">
- <span class="tips"><a href="<inp:m_template_link _Template="forgotpw" />"><inp:m_language _Phrase="lu_forgot_password_link" /></a></span><br />
- <img src="img/s.gif" width="1" height="15" alt="" /><br />
- <INPUT type="submit" name="login" value="<inp:m_language _Phrase="lu_login" />" class="button">
- </td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td colspan="2" class="field-content"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="3" class="field-content-top">
- <br />
- <h2><inp:m_language _Phrase="lu_new_users" /></h2>
- <inp:m_language _Phrase="lu_register_text" />
- </td>
- </tr>
- <tr>
- <td class="field-name"><br /><br /></td>
- <td colspan="2" class="field-content"><span class="item-my"><a href="<inp:m_template_link _Template="register" />"><inp:m_language _Phrase="lu_register" /></a></span></td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-</form>
-
-
Property changes on: trunk/themes/default/innews/rate/rate_access_denied.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/related_category.tpl
===================================================================
--- trunk/themes/default/innews/related_category.tpl (revision 12830)
+++ trunk/themes/default/innews/related_category.tpl (nonexistent)
@@ -1,42 +0,0 @@
-<!-- related categories line -->
-<img src="img/s.gif" width="1" height="1" alt="" /><br />
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-updatelight"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- </tr>
-</table>
-<!-- end related categories line -->
-
-<!-- related categories -->
-<img src="img/s.gif" width="1" height="5" alt="" /><br />
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <h3><inp:m_language _Phrase="lu_related_categories" /> <span>(<inp:n_related_count _ItemType="Category" />)</span></h3>
- </td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="3" alt="" /><br /></td>
- </tr>
- <tr>
- <td class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- </table>
-
- <!-- related categories content -->
- <br />
- <inp:n_related_items _ListItems="Category" _CategoryTemplate="relcats_element" _NoTable="1" />
- <!-- end categories content -->
- </td>
- </tr>
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
-</table>
-<!-- end related categories -->
-
-
Property changes on: trunk/themes/default/innews/related_category.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/main_catlead.tpl
===================================================================
--- trunk/themes/default/innews/main_catlead.tpl (revision 12830)
+++ trunk/themes/default/innews/main_catlead.tpl (nonexistent)
@@ -1,34 +0,0 @@
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="innews/img/ic_newspaper.gif" width="16" height="16" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td class="item" valign="top">
- <a href="<inp:article _field="link" _template="innews/article" />"><inp:article _field="title" /></a>
- <span class="article-pick"><inp:article _field="pick" /></span>
- <span class="article-top"></span>
- <span class="article-pop"><inp:article _field="pop" /></span>
- <span class="article-new"><inp:article _field="new" /></span>
- <inp:article _Field="rating" _DisplayMode="graphical" _ImageOn="img/star_rate.gif" _ImageOff="img/star.gif" />
- <br />
- <span class="comments">(<inp:m_language _Phrase="lu_added" />: <inp:article _Field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _field="votes" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _field="reviews" />)</span>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td>
- <table width="100%" border="0" cellspacing="7" cellpadding="0">
- <tr>
- <td>&nbsp;</td>
- <td valign="top"><inp:article _field="image" _thumbnail="0" _primary="1" _ImageTag _defaulturl="img/noimage.gif" align="left" border="0" width="120" height="75" /><br /></td>
- <td valign="top"><inp:article _field="excerpt" /></td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-<br />
\ No newline at end of file
Property changes on: trunk/themes/default/innews/main_catlead.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/index/sitemap_cat_element.tpl
===================================================================
--- trunk/themes/default/innews/index/sitemap_cat_element.tpl (revision 12830)
+++ trunk/themes/default/innews/index/sitemap_cat_element.tpl (nonexistent)
@@ -1,6 +0,0 @@
-<!-- Template: categories/catlist_element.tpl -->
-<a href="<inp:cat _field="link" _Template="__default__" reset="1"/>"><img src="img/ic_category.gif" border=0 width="17" height="17" alt="" /></a>&nbsp;
-<span class="item"><a href="<inp:cat _field="link" _Template="__default__" reset="1"/>"><inp:cat _Field="Name" /></a></span>&nbsp;<span class="comments">(<inp:m_language _Phrase="lu_subcats" /> <inp:cat _Field="subcatcount" _GroupOnly="1" />)</span>
-<inp:cat _field="new"><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /></inp>
-<inp:cat _field="pick"><img src="img/ic_pick.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_editors_pick" />" /></inp>
-<BR />
\ No newline at end of file
Property changes on: trunk/themes/default/innews/index/sitemap_cat_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/index/article_element.tpl
===================================================================
--- trunk/themes/default/innews/index/article_element.tpl (revision 12830)
+++ trunk/themes/default/innews/index/article_element.tpl (nonexistent)
@@ -1,76 +0,0 @@
-<!-- ARTICLE //-->
-<table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="innews/img/ic_newspaper.gif" width="16" height="16" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td class="item" valign="top" width="10000">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="item" valign="top" width="10000">
- <a href="<inp:article _field="link" _template="__default__" />"><inp:article _field="title" /></a></td>
- <td valign="top">&nbsp;&nbsp;<br /></td>
- <td valign="top" nowrap="nowrap">
- <inp:article _field="hot"><img src="img/ic_hot.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_hot" />" /></inp>
- <inp:article _field="new"><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /></inp>
- <inp:article _field="pop"><img src="img/ic_pop.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_pop" />" /></inp>
- <inp:article _field="pick"><img src="img/ic_pick.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_editors_pick" />" /></inp>
- <inp:article _field="favorite"><img src="img/ic_favorite.gif" width="11" height="11" alt="favorite" /></inp><br />
- </td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top" nowrap="nowrap"><inp:article _Field="rating" _DisplayMode="graphical" _OffImage="img/star.gif" _OnImage="img/star_rate.gif" /></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td valign="top">
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><inp:article _field="image" _thumbnail="1" _primary="1" _ImageTag="1" _defaulturl="img/noimage.gif" align="left" border="0" width="50" height="50"/><br /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top" width="100%"><inp:article _field="excerpt" /></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td class="comments" nowrap>
- (<inp:m_language _Phrase="lu_added" />: <inp:article _Field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _field="votes" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _field="reviews" />)</td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td class="dott-line">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><a href="<inp:article _field="link" _Template="__default__" />"><img src="img/ic_details.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _Template="__default__" />"><inp:m_language _Phrase="lu_details" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/rate" />"><img src="img/ic_rateit.gif" width="22" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/rate" />"><inp:m_language _Phrase="lu_rate_this_article" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/reviews" />"><img src="img/ic_reviews.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/reviews" />"><inp:m_language _Phrase="lu_reviews" /></a></td>
-
- <inp:m_perm_text _Perm="login">
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
- <td><a href="<inp:article _field="add_favorite_link" />"><img src="img/ic_addtofav.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><inp:article _Field="favorite_toggle" _AddLabel="lu_add_to_favorites" _DelLabel="lu_remove_from_favorites" /></td>
- </inp>
- </tr>
- </table></td>
- </tr>
-</table><br /><br />
-<!-- ARTICLE \\-->
\ No newline at end of file
Property changes on: trunk/themes/default/innews/index/article_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/index/articles.tpl
===================================================================
--- trunk/themes/default/innews/index/articles.tpl (revision 12830)
+++ trunk/themes/default/innews/index/articles.tpl (nonexistent)
@@ -1,19 +0,0 @@
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td style="border-bottom: 1px dashed #94C0DE">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <h2><img src="innews/img/ic_category.gif" width="17" height="17" alt="" />&nbsp;<inp:m_language _Phrase="lu_Articles" /></h2>
- <img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
-</table>
-
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="bgr-news">
- <tr>
- <td valign="top"><br />
- <inp:n_list_news _ListType="category" _CatLead="primary" _Paging="1" _ForcePaging="1" _ShortList="0" _ItemTemplate="innews/index/article_element.tpl" />
- <br /></td>
- </tr>
- <tr>
- <inp:n_news_pagenav _ListType="category" _CatLead="primary" _ShortList="0" _Label="lu_page_label" /></td>
- </tr>
-</table>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/index/articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/index/subcat_element.tpl
===================================================================
--- trunk/themes/default/innews/index/subcat_element.tpl (revision 12830)
+++ trunk/themes/default/innews/index/subcat_element.tpl (nonexistent)
@@ -1,38 +0,0 @@
-<!-- CATEGORY NAME //-->
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <a href="<inp:cat _field="link" _Template="__default__" reset="1"/>">
- <img src="innews/img/ic_category.gif" width="17" height="17" alt="" />
- </td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td class="item" width="100%"><a href="<inp:cat _field="link" _Template="__default__" reset="1"/>"><inp:cat _Field="name" /></a></td>
- </tr>
- <tr>
- <td colspan="3"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="3">
- <table border="0" cellspacing="0" cellpadding="0">
- <td class="statistics"><inp:m_language _Phrase="lu_total_categories" />:&nbsp;<span><inp:cat _Field="subcatcount" _Today="1" _GroupOnly="1" /></span></td>
- <td width="20"><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td class="statistics"><inp:m_language _Phrase="lu_added_today" />:&nbsp;<span><inp:cat _Field="subcatcount" _Today="1" _GroupOnly="1" /></span></td>
- <td width="20"><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="4"><img src="img/s.gif" width="1" height="3" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="4" class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-
-<!-- List Category Lead Articles //-->
-<inp:cat _Field="parsetag" _Tag="n_list_news" _ItemTemplate="innews/index/catlead_element.tpl" _ListType="category" _CatLead="exclusive" />
-<!-- List Category Lead Articles \\-->
-
-<BR />
-<!-- CATEGORY NAME \\-->
\ No newline at end of file
Property changes on: trunk/themes/default/innews/index/subcat_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/index/no_articles.tpl
===================================================================
--- trunk/themes/default/innews/index/no_articles.tpl (revision 12830)
+++ trunk/themes/default/innews/index/no_articles.tpl (nonexistent)
@@ -1,16 +0,0 @@
-<!-- Template: no_articles.tpl //-->
-<!-- no articles -->
-<br /><br />
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td class="comments"><inp:m_language _Phrase="lu_no_articles" /></td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-<!-- end no articles -->
\ No newline at end of file
Property changes on: trunk/themes/default/innews/index/no_articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/index/sitelead_element.tpl
===================================================================
--- trunk/themes/default/innews/index/sitelead_element.tpl (revision 12830)
+++ trunk/themes/default/innews/index/sitelead_element.tpl (nonexistent)
@@ -1,38 +0,0 @@
- <!-- SITE LEAD STORY //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td style="background: #64A1DF" width="100%"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- <td align="center" nowrap class="site-lead-sm"><inp:m_language _Phrase="lu_SiteLead_Story" /></td>
- </tr>
- <tr>
- <td colspan="2" class="bgr-site-lead">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr valign="top">
- <td class="site-lead-title">
- <a href="<inp:article _field="cat_link" _template="__default__" />"><inp:article _field="title" /></a><br />
- <span class="path">
- (<inp:m_language _Phrase="lu_added" />: <inp:article _Field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _field="votes" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _field="reviews" />)
- </span>
- </td>
- </tr>
- </table>
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr valign="top">
- <td><a href="<inp:article _field="cat_link" _template="__default__" />"><inp:article _field="image" _thumbnail="1" _primary="1" _ImageTag="1" _defaulturl="img/noimage.gif" alt="" border="0" /></a><br /></td>
- <td width="15"><img src="img/s.gif" width="15" height="1" alt="" /><br /></td>
- <td width="100%" class="site-lead-extract">
- <inp:article _field="excerpt" /><br /><img src="img/s.gif" width="1" height="5" alt="" /><br />
- <div align="right" class="full-sitelead"><a href="<inp:article _field="cat_link" _template="__default__" />"><inp:m_language _Phrase="lu_full_story" /> <img src="img/arr_yell.gif" width="7" height="7" alt="" /></a></div><br />
- </td>
- <td width="15"><img src="img/s.gif" width="15" height="1" alt="" /><br /></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <!-- SITE LEAD STORY \\-->
\ No newline at end of file
Property changes on: trunk/themes/default/innews/index/sitelead_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/index/right/actionbox.tpl
===================================================================
--- trunk/themes/default/innews/index/right/actionbox.tpl (revision 12830)
+++ trunk/themes/default/innews/index/right/actionbox.tpl (nonexistent)
@@ -1,40 +0,0 @@
-<!-- action box //-->
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="30" class="act-box-top"><inp:m_language _Phrase="lu_action" /> <span class="act-sep">|</span> <span class="act-title-it"><inp:m_language _Phrase="lu_box" /></span></td>
- <td rowspan="4" valign="top" align="right" class="bgr-underactbox"><img src="img/box.gif" width="59" height="59" alt="" /><br /></td>
- </tr>
- <tr>
- <td height="13" bgcolor="#64A1DF" class="path">&nbsp; <inp:m_language _Phrase="lu_action_prompt" /></td>
- </tr>
- <tr>
- <td height="1"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td valign="top" align="right"><img src="img/a_box_left.jpg" width="129" height="15" alt="" /><br /></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="bgr-act" valign="top">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><a href="<inp:m_template_link _Template="suggest_cat" />"><img src="img/act_cat.gif" width="14" height="12" alt="" /></a><br /></td>
- <td height="1"><img src="img/s.gif" width="5" height="20" alt="" /><br /></td>
- <td valign="top" class="box-links"><a href="<inp:m_template_link _Template="suggest_cat" />"><inp:m_language _Phrase="lu_suggest_category" /></a></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="bgr-act-bottom"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
-</table>
-<!-- action box \\-->
\ No newline at end of file
Property changes on: trunk/themes/default/innews/index/right/actionbox.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/index/sitemap_subcat_element.tpl
===================================================================
--- trunk/themes/default/innews/index/sitemap_subcat_element.tpl (revision 12830)
+++ trunk/themes/default/innews/index/sitemap_subcat_element.tpl (nonexistent)
@@ -1,3 +0,0 @@
-<!-- Template: Sitemape SubCats -->
-<a href="<inp:cat _field="link" _Template="__default__" reset="1"/>"><inp:cat _Field="Name" /></a>
-<BR />
\ No newline at end of file
Property changes on: trunk/themes/default/innews/index/sitemap_subcat_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/index/catlead_element.tpl
===================================================================
--- trunk/themes/default/innews/index/catlead_element.tpl (revision 12830)
+++ trunk/themes/default/innews/index/catlead_element.tpl (nonexistent)
@@ -1,38 +0,0 @@
-<!-- CATEGORY LEAD STORY //-->
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td style="background: #64A1DF" width="100%"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- <td align="center" nowrap class="cat-lead-sm"><inp:m_language _Phrase="lu_CatLead_Story" /></td>
- </tr>
- <tr>
- <td colspan="2" class="bgr-cat-lead" width="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr valign="top">
- <td class="cat-lead-title" width="100%">
- <a href="<inp:article _field="cat_link" _template="__default__" />" ><inp:article _field="title" /></a><BR />
- <span class="comments">
- (<inp:m_language _Phrase="lu_added" />: <inp:article _Field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _field="votes" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _field="reviews" />)
- </span>
- </td>
- </tr>
- </table>
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr valign="top">
- <td><a href="<inp:article _field="cat_link" _template="__default__" />"><inp:article _field="image" _thumbnail="1" _primary="1" _ImageTag="1" _defaulturl="img/noimage.gif" alt="" border="0" /></a><br /></td>
- <td><img src="img/s.gif" width="15" height="1" alt="" /><br /></td>
- <td width="100%">
- <inp:article _field="excerpt" /><br /><img src="img/s.gif" width="1" height="5" alt="" /><br />
- <div align="right" class="full-catlead"><a href="<inp:article _field="cat_link" _template="__default__" />"><inp:m_language _Phrase="lu_full_story" /> <img src="img/arr_yell.gif" width="7" height="7" alt="" /></a></div><br />
- </td>
- <td><img src="img/s.gif" width="15" height="1" alt="" /><br /></td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-<!-- CATEGORY LEAD STORY \\-->
\ No newline at end of file
Property changes on: trunk/themes/default/innews/index/catlead_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/index/right.tpl
===================================================================
--- trunk/themes/default/innews/index/right.tpl (revision 12830)
+++ trunk/themes/default/innews/index/right.tpl (nonexistent)
@@ -1,19 +0,0 @@
-<!-- Template=right.tpl -->
-
-<!-- login box //-->
-<inp:m_loginbox _LoginTemplate="misc/right_login" _LoggedInTemplate="misc/right_loggedin" />
-<!-- login box \\-->
-
-<!-- search box //-->
-<inp:include _Template="misc/right_searchbox" />
-<!-- search box \\-->
-
-<!-- recommend box //-->
-<inp:include _Template="misc/right_recommend" />
-<!-- recommend box \\-->
-
-<inp:include _Template="innews/index/right/actionbox.tpl" />
-
-<!-- quick links box //-->
-<inp:include _Template="innews/quicklinks/edpick.tpl" _DataExists="1"/>
-<!-- quick links box \\-->
\ No newline at end of file
Property changes on: trunk/themes/default/innews/index/right.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/get_rated.tpl
===================================================================
--- trunk/themes/default/innews/get_rated.tpl (revision 12830)
+++ trunk/themes/default/innews/get_rated.tpl (nonexistent)
@@ -1,91 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
- </tr>
-
- <tr height="100%">
- <td valign="top" class="bott-line">
- <!-- navbar -->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
- </tr>
- <tr>
- <td class="bgr-path">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><inp:m_navbar _Template="__default__" _LinkCurrent="1" _RootTemplate="index" _separator=" &gt; " /></td>
- <td align="right">
- <table border="0" cellspacing="0" cellpadding="0" align="right">
- <tr>
- <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
- <td>&nbsp;</td>
- <td class="post-action"><span onclick="showSeg('langmenu',true); "><a href="<inp:m_template_link _Template="lang_select" />"><inp:m_lang_field _Field="LocalName" /></a></span></td>
- <td>&nbsp;&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <inp:include _Template="lang_select/lang_menu.tpl" />
- </td>
- <!--<td width="10000" valign="top" class="bgr-path">&nbsp;</td>-->
- </tr>
- </table>
-
- <!-- update line -->
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-updatefill" width="10000"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td nowrap="nowrap" class="updated">news updated: <inp:n_news_field _field="modified" /></td>
- </tr>
- </table>
- <!-- end update line -->
-
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000" class="bgr-news">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
-
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top">
- <h1><inp:m_language _Phrase="lu_rate_article" /></h1></TD> </TR>
- </TABLE>
- <inp:perm_include _Template="innews/rate/getting_rated.tpl" _noaccess="access_denied.tpl" _Permission="NEWS.RATE" />
- </TD>
- </TR>
- </TABLE>
- </TD>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
-
- <!-- start right flexible cell in main content table -->
- <td valign="top" height="100%" class="open-box"><inp:include _template="innews/detail/right.tpl" /></td>
-
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
- <inp:include _template="common/footer.tpl" />
-</table>
-
-</body>
-</html>
Property changes on: trunk/themes/default/innews/get_rated.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/myitem_element.tpl
===================================================================
--- trunk/themes/default/innews/myitem_element.tpl (revision 12830)
+++ trunk/themes/default/innews/myitem_element.tpl (nonexistent)
@@ -1,64 +0,0 @@
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="innews/img/ic_newspaper.gif" width="16" height="16" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td class="item" valign="top" width="10000">
- <a href="<inp:article _field="link" _Template="__default__" />"><inp:article _field="title" /></a>
- <inp:article _Field="rating" _DisplayMode="graphical" _OffImage="img/star.gif" _OnImage="img/star_rate.gif" />
- &nbsp;&nbsp;&nbsp;
- <inp:article _field="hot"><img src="img/ic_hot.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_hot" />" /></inp>
- <inp:article _field="new"><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /></inp>
- <inp:article _field="pop"><img src="img/ic_pop.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_pop" />" /></inp>
- <inp:article _field="pick"><img src="img/ic_pick.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_editors_pick" />" /></inp>
- <br />
- <span class="comments"><inp:m_language _Phrase="lu_category" />: </SPAN><span class="tips"><A HREF="<inp:article _field="cat_link" _Template="__default__" />"><inp:article _field="fullpath" /></A></span>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td valign="top">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><inp:article _field="image" _thumbnail="0" _primary="1" _ImageTag _defaulturl="img/noimage.gif" align="left" border="0" width="120" height="75" /><br /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top"><inp:article _field="excerpt" /> </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td class="comments">
- (<inp:m_language _Phrase="lu_added" />: <inp:article _Field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _field="votes" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _field="reviews" />)
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td class="dott-line">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/ic_details.gif" width="16" height="16" alt="" /><br /></td>
- <td class="links-action"><a href="<inp:article _field="cat_link" _Template="__default__" />"><inp:m_language _Phrase="lu_details" /></a></td>
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
- <td><img src="img/ic_rateit.gif" width="22" height="16" alt="" /><br /></td>
- <td class="links-action"><a href="<inp:article _field="cat_link" _template="innews/rate" />"><inp:m_language _Phrase="lu_rate_article" /></a></td>
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
- <td><img src="img/ic_reviews.gif" width="16" height="16" alt="" /><br /></td>
- <td class="links-action"><a href="<inp:article _field="cat_link" _template="innews/reviews" />"><inp:m_language _Phrase="lu_reviews" /></a></td>
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
- <td><img src="img/ic_addtofav.gif" width="16" height="16" alt="" /><br /></td>
- <td class="links-action"><a href="<inp:article _field="add_favorite_link" />"><inp:m_language _Phrase="lu_add_to_favorites" /></a></td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-<BR /><BR />
Property changes on: trunk/themes/default/innews/myitem_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/detail.tpl
===================================================================
--- trunk/themes/default/innews/detail.tpl (revision 12830)
+++ trunk/themes/default/innews/detail.tpl (nonexistent)
@@ -1,109 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
- </tr>
- <tr height="100%">
- <td valign="top" class="bott-line">
- <!-- path //-->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
- </tr>
- <tr>
- <td class="bgr-path">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><inp:m_navbar _RootTemplate="index" _Template="__default__" _LinkCurrent="1" _separator=" &gt; " /></td>
- <td align="right">
- <table border="0" cellspacing="0" cellpadding="0" align="right">
- <tr>
- <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
- <td>&nbsp;</td>
- <td class="post-action"><span onclick="showSeg('langmenu',true); "><a href="<inp:m_template_link _Template="lang_select" />"><inp:m_lang_field _Field="LocalName" /></a></span></td>
- <td>&nbsp;&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <inp:include _Template="lang_select/lang_menu.tpl" />
- </td>
- <!--<td width="10000" valign="top" class="bgr-path">&nbsp;</td>-->
- </tr>
- </table>
- <!-- path \\-->
-
- <!-- update line -->
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-updatefill" width="10000"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td nowrap="nowrap" class="updated">news updated: <inp:n_news_field _Field="modified" />&nbsp;</td>
- </tr>
- </table>
- <!-- end update line -->
-
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" class="bgr-news_">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
-
- <!-- my links -->
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <inp:n_news_detail _ItemTemplate="innews/detail/article.tpl" />
- </td>
- </tr>
- </table>
-
- <!-- related categories //-->
- <inp:include _Template="innews/related_category" _DataExists="1" />
- <!-- related categories \\-->
-
-
- <!-- related links //-->
- <inp:include _Template="innews/related_links" _DataExists="1" />
- <!-- related links \\-->
-
-
- <!-- related news //-->
- <inp:include _Template="innews/related_news" _DataExists="1" />
- <!-- related news \\-->
-
- <inp:include _Template="innews/review/review_list.tpl" _DataExists="1" />
- </td>
- </tr>
- </table>
- </td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
-
- <!-- right column //-->
- <td valign="top" height="100%" class="open-box"><inp:include _template="innews/detail/right.tpl" /></td>
- <!-- right column \\-->
-
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
- <inp:include _template="common/footer.tpl" />
-</table>
-
-</body>
-</html>
Property changes on: trunk/themes/default/innews/detail.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/reviews.tpl
===================================================================
--- trunk/themes/default/innews/reviews.tpl (revision 12830)
+++ trunk/themes/default/innews/reviews.tpl (nonexistent)
@@ -1,93 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
- </tr>
- <tr height="100%">
- <td valign="top" class="bott-line">
- <!-- path -->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
- </tr>
- <tr>
- <td class="bgr-path">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><inp:m_navbar _Template="__default__" _LinkCurrent="1" _RootTemplate="index" _separator=" &gt; " /></td>
- <td align="right">
- <table border="0" cellspacing="0" cellpadding="0" align="right">
- <tr>
- <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
- <td>&nbsp;</td>
- <td class="post-action"><span onclick="showSeg('langmenu',true); "><a href="<inp:m_template_link _Template="lang_select" />"><inp:m_lang_field _Field="LocalName" /></a></span></td>
- <td>&nbsp;&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <inp:include _Template="lang_select/lang_menu.tpl" />
- </td>
- <!--<td width="10000" valign="top" class="bgr-path">&nbsp;</td>-->
- </tr>
- </table>
-
- <!-- update line -->
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-updatefill" width="10000"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td nowrap="nowrap" class="updated">news updated: <inp:n_news_field _field="modified" /></td>
- </tr>
- </table>
- <!-- end update line -->
-
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000" class="bgr-news">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
-
- <!-- my links -->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <inp:n_news_detail _ItemTemplate="innews/detail/article.tpl" />
- </TD>
- </TR>
- </TABLE>
- <inp:include _Template="innews/review/review_list.tpl" />
- </TD>
- </TR>
- </TABLE>
- </TD>
-
- <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
-
- <!-- start right flexible cell in main content table -->
- <td valign="top" height="100%" class="open-box"><inp:include _template="innews/detail/right.tpl" /></td>
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
- <inp:include _template="common/footer" />
-</table>
-
-</body>
-</html>
Property changes on: trunk/themes/default/innews/reviews.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/search_results/item_results.tpl
===================================================================
--- trunk/themes/default/innews/search_results/item_results.tpl (revision 12830)
+++ trunk/themes/default/innews/search_results/item_results.tpl (nonexistent)
@@ -1,166 +0,0 @@
-<inp:include _template="common/head.tpl" />
-<BODY>
-<inp:include _Template="common/pagetop.tpl" />
-<table width="770" border="0" cellspacing="0" cellpadding="0">
- <!-- start content -->
- <tr>
- <td valign="top" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" class="bott-line">
- <!-- start bred crumbles -->
- <img src="img/s.gif" width="10" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
- <td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td class="bgr-path">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
- <td class="path"><a href="<inp:m_template_link _Template="index" _Category=0 />"><inp:m_language _Phrase="lu_home" /></a> >
- <A HREF="<inp:m_template_link _template="search_results" />"><inp:m_language _Phrase="lu_search_results" /></A> >
- <inp:m_language _Phrase="lu_news_search_results" /></A></td>
- </tr>
- </table>
- </td>
- <td width="10000" valign="top" bgcolor="#61b0ec">&nbsp;</td>
- </tr>
- </table>
- <!-- end bred crumbles -->
-
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000" class="bgr-myaccount">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <!-- page title -->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="50"><img src="img/ic_search_big.gif" width="46" height="46" alt="" /><br /></td>
- <td><h1><inp:m_language _Phrase="lu_news_search_results" /></h1></td>
- <td>&nbsp;</td>
- </tr>
- </table>
- <!-- end page title -->
-
- <!-- results in brief -->
- <br />
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <h2><inp:m_language _Phrase="lu_searched_for" /></h2>
- </td>
- <td>
- <FORM method="POST" NAME="search" ACTION="<inp:m_form_action _form="m_simple_subsearch" _Template="search_results" />">
- <INPUT type="text" name="keywords" value="<inp:m_form_value _form="m_simple_subsearch" _field="keywords" />" class="input" style="width: 235px;">&nbsp;
- <INPUT type="submit" name="search" value="<inp:m_language _Phrase="lu_search_within" />" class="button"></td>
- </FORM>
- </TD>
- </tr>
- <tr>
- <td colspan="2" class="tips">
- <a href="<inp:m_template_link _Template="advanced_search.tpl" />"><inp:m_language _Phrase="lu_advanced_search_link" /></a>
- <img src="img/arr_more.gif" width="16" height="7" alt="" />
- </td>
- </tr>
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="2" class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr><td><img src="img/s.gif" width="1" height="15" alt="" /><br /></td></tr>
- <tr><td class="bgr-dark"><img src="img/s.gif" width="1" height="15" alt="" /><br /></td></tr>
- <tr><td align="right" valign="top"><img src="img/corn_dark.gif" width="32" height="18" alt="" /><br /></td></tr>
- </table>
- <!-- end results in brief -->
-
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><a name="cats"></a>
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <h2><inp:m_language _Phrase="lu_news" /> <span>(<inp:n_list_count _ListType="Search" _Paging="1" /><!--<inp:m_search_item_count _ItemType="Article" />-->)</span></h2>
- </td>
- </tr>
- <tr>
- <td class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- </table>
- <br />
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="50" height="1" alt="" /><br /></td>
- <td valign="top">
- <inp:include _Template="innews/sort_articles.tpl" />
- <inp:n_list_news _ShortList="0" _ListType="search" _ForcePaging="1" _ItemTemplate="innews/search_results/search_result_element" />
- </TD>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td align="right" valign="top" class="pagination">
- <inp:n_news_pagenav _ShortList="0" _ListType="search" _Template="innews/search_results/item_results.tpl" _Label="lu_page_label" />
- </td>
- </tr>
- </TABLE>
- </td>
- </tr>
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="20" alt="" /><br /></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="20" alt="" /><br /></td>
- </tr>
- </table>
- <!-- end articles -->
- </td>
- </tr>
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- </table>
- </td>
-
-
- <!-- start vertical white line in main conent table -->
- <td height="100%"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- <!-- end vertical white line in main conent table -->
-
-
- <!-- start right flexible cell in main content table -->
- <td valign="top" class="open-box">
- <inp:include _template="innews/index/right.tpl" />
- </td>
- <!-- end right flexible cell in main content table -->
- </tr>
- </table>
- </td>
- </tr>
- <!-- end content -->
-
-
- <inp:include _Template="common/footer.tpl" />
-</table>
-
-</body>
-</html>
-
Property changes on: trunk/themes/default/innews/search_results/item_results.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.6
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/search_results/search_count.tpl
===================================================================
--- trunk/themes/default/innews/search_results/search_count.tpl (revision 12830)
+++ trunk/themes/default/innews/search_results/search_count.tpl (nonexistent)
@@ -1,3 +0,0 @@
-<td><img src="img/s.gif" width="15" height="1" alt="" /><br /></td>
-<td><img src="innews/img/ic_newspaper.gif" width="16" height="16" alt="" /><br /></td>
-<td><inp:m_language _Phrase="lu_articles" /> - <span class="item"><a href="<inp:m_template_link _Anchor="articles" />"><inp:n_list_count _ListType="Search" /></a></span></td>
Property changes on: trunk/themes/default/innews/search_results/search_count.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/search_results/short_results.tpl
===================================================================
--- trunk/themes/default/innews/search_results/short_results.tpl (revision 12830)
+++ trunk/themes/default/innews/search_results/short_results.tpl (nonexistent)
@@ -1,28 +0,0 @@
-<!-- articles -->
-<img src="img/s.gif" width="1" height="15" alt="" /><br />
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" width="10000"><a name="articles"></a>
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <h2><inp:m_language _Phrase="lu_news" /> <span>(<inp:n_list_count _ListType="Search" />)</span></h2>
- </td>
- </tr>
- <tr>
- <td class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- </table>
- <inp:n_list_news _ShortList="1" _ListType="search" _ShortList="1" _ItemTemplate="innews/search_results/search_result_element.tpl" />
- </td>
- </tr>
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="20" alt="" /><br /></td>
- </tr>
- <tr>
- <td align="right" valign="top" class="posts">
- <inp:n_link_more _ListType="search" _ShortList="1" _Template="innews/search_results/item_results.tpl" _text="lu_more" _Image="img/arr_more.gif" />
- </td>
- </tr>
-</table>
-<!-- end articles -->
Property changes on: trunk/themes/default/innews/search_results/short_results.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/search_results/search_result_element.tpl
===================================================================
--- trunk/themes/default/innews/search_results/search_result_element.tpl (revision 12830)
+++ trunk/themes/default/innews/search_results/search_result_element.tpl (nonexistent)
@@ -1,90 +0,0 @@
-<table border="0" cellspacing="0" cellpadding="0" class="relevance-bar" width="40" height="5">
-<tr>
-<inp:article _Field="relevance" _DisplayMode="bar" _OffBackGroundColor="white" _OnBackGroundColor="red" _OnImage="img/relevance/rel.gif" />
-</tr>
-</table>
-
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><img src="innews/img/ic_newspaper.gif" width="16" height="16" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td class="item" valign="top" width="10000">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="item" valign="top" width="10000">
- <a href="<inp:article _field="cat_link" _Template="__default__" />"><inp:article _field="title" /></a>
- </td>
- <td valign="top">&nbsp;&nbsp;<br /></td>
- <td valign="top" nowrap="nowrap">
- <inp:article _field="hot"><img src="img/ic_hot.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_hot" />" /></inp>
- <inp:article _field="new"><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /></inp>
- <inp:article _field="pop"><img src="img/ic_pop.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_pop" />" /></inp>
- <inp:article _field="pick"><img src="img/ic_pick.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_editors_pick" />" /></inp>
- <inp:article _field="favorite"><img src="img/ic_favorite.gif" width="11" height="11" alt="favorite" /></inp><br />
- </td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top" nowrap="nowrap"><inp:article _Field="rating" _DisplayMode="graphical" _OffImage="img/star.gif" _OnImage="img/star_rate.gif" /></td>
- </tr>
- <tr>
- <td colspan="5">
- <span class="comments"><inp:m_language _Phrase="lu_category" />: </SPAN><span class="tips"><A HREF="<inp:article _field="cat_link" _Template="__default__" />"><inp:article _field="fullpath" /></A></span>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td valign="top">
- <img src="img/s.gif" width="1" height="5" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top"><inp:article _field="image" _thumbnail="0" _primary="1" _ImageTag="1" _defaulturl="img/noimage.gif" align="left" border="0" width="120" height="75" /><br /></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- <td valign="top" width="100%"><inp:article _field="excerpt" /></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td class="comments" nowrap>
- (<inp:m_language _Phrase="lu_added" />: <inp:article _Field="date" />,
- <inp:m_language _Phrase="lu_hits" />: <inp:article _field="hits" />,
- <inp:m_language _Phrase="lu_rating" />: <inp:article _field="rating" _DisplayMode="numerical" />,
- <inp:m_language _Phrase="lu_votes" />: <inp:article _field="votes" />,
- <inp:m_language _Phrase="lu_reviews" />: <inp:article _field="reviews" />)
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td>
- <table class="dott-line" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><a href="<inp:article _field="link" _Template="__default__" />"><img src="img/ic_details.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _Template="__default__" />"><inp:m_language _Phrase="lu_details" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/rate" />"><img src="img/ic_rateit.gif" width="22" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/rate" />"><inp:m_language _Phrase="lu_rate_this_article" /></a></td>
-
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
-
- <td><a href="<inp:article _field="link" _template="innews/reviews" />"><img src="img/ic_reviews.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><a href="<inp:article _field="link" _template="innews/reviews" />"><inp:m_language _Phrase="lu_reviews" /></a></td>
-
- <inp:article _Field="perm" _Perm="favorites">
- <td><img src="img/sep.gif" width="21" height="9" alt="" /><br /></td>
- <td><a href="<inp:article _field="add_favorite_link" />"><img src="img/ic_addtofav.gif" width="16" height="16" alt="" /></a><br /></td>
- <td class="links-action"><inp:article _Field="favorite_toggle" _AddLabel="lu_add_to_favorites" _DelLabel="lu_remove_from_favorites" /></td>
- </inp>
-
- </tr>
- </table>
- </td>
- </tr>
-</table><br><br>
Property changes on: trunk/themes/default/innews/search_results/search_result_element.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/sort_articles.tpl
===================================================================
--- trunk/themes/default/innews/sort_articles.tpl (revision 12830)
+++ trunk/themes/default/innews/sort_articles.tpl (nonexistent)
@@ -1,78 +0,0 @@
-<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
-
- <TR>
-
- <TD>
-
-
- <SPAN class="stats"><B><inp:m_language _Phrase="lu_articles" /></B></SPAN></TD>
-
-
-
- <FORM name="n_sort_articles" method="POST" action="<inp:n_form_action _Form="n_sort_articles"/>">
-
-
-
- <TD class="small">
-
- <DIV align="right">
-
- <P>
-
- <inp:m_language _Phrase="lu_show" />
-
- <SELECT name="Perpage_News" class="small">
-
- <inp:m_form_option _Field="Perpage_News" _Form="n_sort_articles" _value="10" _PlainText="10" />
-
- <inp:m_form_option _Field="Perpage_News" _Form="n_sort_articles" _value="20" _PlainText="20" />
-
- <inp:m_form_option _Field="Perpage_News" _Form="n_sort_articles" _value="50" _PlainText="50" />
-
- </SELECT>
-
- <inp:m_language _Phrase="lu_sort_by" />
-
- <SELECT name="News_SortField" class="small">
-
- <inp:m_form_option _Field="News_SortField" _Form="n_sort_articles" _value="Title" _LangText="lu_article_name" />
-
- <inp:m_form_option _Field="News_SortField" _Form="n_sort_articles" _value="CreatedOn" _LangText="lu_date" />
-
- <inp:m_form_option _Field="News_SortField" _Form="n_sort_articles" _value="Excerpt" _LangText="lu_field_description" />
-
- <inp:m_form_option _Field="News_SortField" _Form="n_sort_articles" _value="CreatedById" _LangText="la_Text_Users" />
-
- <inp:m_form_option _Field="News_SortField" _Form="n_sort_articles" _value="CachedRating" _LangText="lu_rating" />
-
- <inp:m_form_option _Field="News_SortField" _Form="n_sort_articles" _value="CachedVotesQty" _LangText="lu_votes" />
-
- <inp:m_form_option _Field="News_SortField" _Form="n_sort_articles" _value="Hits" _LangText="lu_hits" />
-
- <inp:m_form_option _Field="News_SortField" _Form="n_sort_articles" _value="EditorsPick" _LangText="lu_editors_pick" />
-
- </SELECT>
-
- <SELECT name="News_SortOrder" class="small">
-
- <inp:m_form_option _Field="News_SortOrder" _Form="n_sort_articles" _value="ASC" _LangText="lu_Ascending" />
-
- <inp:m_form_option _Field="News_SortOrder" _Form="n_sort_articles" _value="DESC" _LangText="lu_Descending" />
-
- </SELECT>
-
- <INPUT type="hidden" name="start" value="0">
-
- <INPUT type="submit" class="button" value="<inp:m_language _Phrase="lu_button_go" />">
-
- <A href="#"> </A> </P>
-
- </DIV>
-
- </TD>
-
- </FORM>
-
- </TR>
-
- </TABLE>
\ No newline at end of file
Property changes on: trunk/themes/default/innews/sort_articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/catindex/catindex.tpl
===================================================================
--- trunk/themes/default/innews/catindex/catindex.tpl (revision 12830)
+++ trunk/themes/default/innews/catindex/catindex.tpl (nonexistent)
@@ -1,62 +0,0 @@
- <!-- news update line //-->
- <img src="img/s.gif" width="1" height="1" alt="" /><br />
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="bgr-updatefill" width="10000"><img src="img/s.gif" width="1" height="10" alt="" /><br /></td>
- <td><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- <td nowrap="nowrap" class="updated"><inp:m_language _Phrase="lu_news_updated" />: <inp:n_article_modified />&nbsp;</td>
- </tr>
- </table>
- <!-- news update line \\-->
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td valign="top" width="10000" class="bgr-news">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="5"><h2><inp:m_language _Phrase="lu_articles" /> <span>(<inp:n_List_count _ListType="category" _catlead="primary" _ShortList="1" />)</span></h2></td>
- </tr>
- <tr>
- <td colspan="5"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- <tr>
- <td class="statistics"><inp:m_language _Phrase="lu_total_news" />:&nbsp;<span><inp:m_itemcount _ItemType="Article" _GroupOnly="1" /></span></td>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td class="statistics"><inp:m_language _Phrase="lu_added_today" />:&nbsp;<span><inp:m_itemcount _ItemType="Article" _Today="1" _GroupOnly="1" /></span></td>
- <td><img src="img/s.gif" width="10" height="1" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="5"><img src="img/s.gif" width="1" height="3" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="5" class="bgr-updatefill"><img src="img/s.gif" width="5" height="1" alt="" /><br /></td>
- </tr>
- </table>
-
- <!-- news content -->
- <br />
- <table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top">
- <inp:n_list_news _ListType="category" _ItemTemplate="innews/index/article_element.tpl" _catlead="primary" _ShortList="1" />
- </td>
- </tr>
- <tr>
- <td align="right" valign="top" class="posts">
- <inp:n_link_more _ListType="category" _Template="__default__" _text="lu_more" _Image="img/arr_more.gif" />
- </td>
- </tr>
- </table>
-
- <!-- end news content -->
- </td>
- </tr>
- <tr>
- <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
- </tr>
- <tr>
- <td colspan="2" class="bgr-separate"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
- </tr>
- </table>
-
Property changes on: trunk/themes/default/innews/catindex/catindex.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default/innews/catindex/no_items.tpl
===================================================================
--- trunk/themes/default/innews/catindex/no_items.tpl (revision 12830)
+++ trunk/themes/default/innews/catindex/no_items.tpl (nonexistent)
@@ -1,16 +0,0 @@
-<!-- Template: no_articles.tpl //-->
-<!-- no articles -->
-<br /><br />
-<table width="100%" border="0" cellspacing="0" cellpadding="0">
-
- <tr>
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
- <td class="comments"><inp:m_language _Phrase="lu_no_articles" /></td> </tr>
- </table>
- </td>
- </tr>
-</table>
-<!-- end no articles -->
\ No newline at end of file
Property changes on: trunk/themes/default/innews/catindex/no_items.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/pick_articles.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/pick_articles.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/pick_articles.tpl (nonexistent)
@@ -1,39 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-
- <inp2:m_RenderElement name="innews/elements/side_boxes/hot" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/pop" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/new" design="blue_box" data_exists="1"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="lu_title_PickArticles" templates="innews/articles/pick_articles"/>
-
- <!-- pick articles -->
- <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
- <inp2:n_InitList list_name="pick_articles" m_cat_id="0" recursive="1" types="pick"/>
-
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_PickArticles"/>
- </inp2:m_Capture>
-
- <inp2:m_include template="innews/elements/sorting" list_name="pick_articles"/>
-
- <inp2:m_include template="innews/designs/articles"/>
- <table class="fullwidth item-listing">
- <inp2:n_ListArticles list_name="pick_articles" render_as="article_element" direction="H"/>
- </table>
-
- <inp2:m_include template="platform/elements/pagination" prefix="n" list_name="new_articles"/>
- </inp2:m_RenderElement>
- <!-- // pick articles -->
-
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/pick_articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.6
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/suggest_pending_confirm.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/suggest_pending_confirm.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/suggest_pending_confirm.tpl (nonexistent)
@@ -1,26 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="lu_title_SuggestArticlePendingConfirm" templates="innews/articles/suggest_pending_confirm" show_category="1"/>
-
- <!-- suggest article pending confirm -->
- <inp2:m_RenderElement design="content_box">
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_SuggestArticlePendingConfirm"/>
- </inp2:m_Capture>
-
- <inp2:m_phrase name="lu_text_SuggestArticlePendingConfirm"/><br /><br />
- <a href="<inp2:m_Link template="innews/my_account/my_articles" m_cat_id="0"/>"><inp2:m_Phrase name="lu_text_MyArticles"/></a>
- </inp2:m_RenderElement>
- <!-- // suggest article pending confirm -->
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/suggest_pending_confirm.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/suggest_article.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/suggest_article.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/suggest_article.tpl (nonexistent)
@@ -1,53 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="lu_title_SuggestArticle" templates="innews/articles/suggest_article" show_category="1"/>
-
- <!-- suggest article -->
- <inp2:m_RenderElement design="content_box">
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_SuggestArticle"/>
- </inp2:m_Capture>
-
- <inp2:m_if check="n_HasPermission" permissions="NEWS.ADD|NEWS.ADD.PENDING">
- <inp2:n_PresetFormFields/>
- <span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
-
- <inp2:m_if check="n_HasError" field="any">
- <inp2:m_RenderElement name="error_message" />
- </inp2:m_if>
-
- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
-
- <form method="post" action="<inp2:m_FormAction/>" enctype="multipart/form-data">
- <table class="form-data fullwidth">
- <inp2:m_RenderElement name="inp_edit_box" prefix="n" field="Title" title="lu_fld_Title"/>
- <inp2:m_RenderElement name="inp_edit_textarea" prefix="n" field="Body" cols="30" rows="5" title="lu_fld_Body"/>
-
- <inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="PrimaryImage" title="lu_fld_PrimaryImage"/>
- <inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="Image1" title="lu_fld_Image1"/>
- <inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="Image2" title="lu_fld_Image2" is_last="1"/>
-
- <inp2:m_RenderElement design="inp_edit_buttons">
- <input type="hidden" name="suggest_confirm_template" value="innews/articles/suggest_confirm"/>
- <input type="hidden" name="suggest_pending_confirm_template" value="innews/articles/suggest_pending_confirm"/>
- <input class="button" type="submit" name="events[n][OnCreate]" value="<inp2:m_phrase label="lu_btn_Create"/>"/>
- </inp2:m_RenderElement>
- </table>
- </form>
- <inp2:m_else/>
- <inp2:m_phrase name="lu_text_NoSuggestArticlePermission"/>
- </inp2:m_if>
- </inp2:m_RenderElement>
- <!-- // suggest article -->
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/suggest_article.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.9
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/add_review.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/add_review.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/add_review.tpl (nonexistent)
@@ -1,89 +0,0 @@
-<inp2:m_RequireLogin login_template="platform/login/register" permissions="NEWS.REVIEW|NEWS.REVIEW.PENDING"/>
-
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- "
- design="blue_box"/>
-
- <inp2:m_RenderElement name="innews/elements/side_boxes/action_box" item_actions="1" design="blue_box"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <!-- add review -->
- <inp2:m_include template="platform/elements/navigation_bar" titles="__item__,lu_title_Reviews" templates="__default__,innews/articles/add_review" show_category="1"/>
-
- <inp2:m_RenderElement design="content_box">
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_ArticleDetails"/>
- </inp2:m_Capture>
-
- <table width="100%">
- <tr>
- <td style="width: 120px;" valign="top">
- <inp2:n_Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="120"/><br />
- </td>
- <td valign="top">
- Name: <a href="<inp2:n_ArticleLink template="__default__"/>"><inp2:n_Field name="Title"/></a> (Owner: <inp2:n_Field name="CreatedById"/>)
-
- <inp2:m_if check="n_IsPending"><span class="pending-item"><strong><inp2:m_phrase name="lu_PendingItem"/></strong></span></inp2:m_if>
- <inp2:m_if check="n_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
- <inp2:m_if check="n_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
- <inp2:m_if check="n_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Popular"/>"/></inp2:m_if>
- <inp2:m_if check="n_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
- <inp2:m_if check="n_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
- <inp2:n_VotesIndicator render_as="rating_element"/>
- <br />
- Body:<br />
- <inp2:n_Field name="Body" nl2br="1"/>
- </td>
- </tr>
- </table>
- </inp2:m_RenderElement>
-
- <inp2:m_RenderElement design="content_box">
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_ReviewThisArticle"/>
- </inp2:m_Capture>
-
-
- <inp2:m_if check="n_HasPermission" permissions="NEWS.REVIEW|NEWS.REVIEW.PENDING">
- <inp2:m_if check="n-rev_AlreadyReviewed">
- <inp2:m_Phrase label="lu_ErrorAlreadyReviewed"/>
- <table>
- <inp2:n-rev_PrintList render_as="review_element" type="current_user" per_page="-1"/>
- </table>
- <inp2:m_include template="platform/elements/pagination" prefix="n-rev"/>
- <inp2:m_else/>
- <inp2:n-rev_PresetFormFields/>
- <span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
-
- <inp2:m_if check="n-rev_HasError" field="any">
- <inp2:m_RenderElement name="error_message" />
- </inp2:m_if>
-
- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
-
- <form method="post" action="<inp2:m_FormAction/>">
- <table class="form-data fullwidth">
- <inp2:m_RenderElement name="inp_edit_radio" prefix="n-rev" field="Rating" title="lu_fld_Rating"/>
- <inp2:m_RenderElement name="inp_edit_textarea" prefix="n-rev" field="ReviewText" rows="8" cols="40" title="lu_fld_ReviewText" is_last="1"/>
-
- <inp2:m_RenderElement design="inp_edit_buttons">
- <input type="hidden" name="success_template" value="innews/articles/add_review_confirm"/>
- <input type="hidden" name="success_pending_template" value="innews/articles/add_review_pending_confirm"/>
- <input class="button" type="submit" name="events[n-rev][OnCreate]" value="<inp2:m_phrase label="lu_btn_Create"/>"/>
- </inp2:m_RenderElement>
- </table>
- </form>
- </inp2:m_if>
- <inp2:m_else/>
- <inp2:m_phrase name="lu_text_NoNEWS.ReviewPermission"/>
- </inp2:m_if>
- </inp2:m_RenderElement>
- <!-- // add review -->
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/add_review.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.8
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/hot_articles.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/hot_articles.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/hot_articles.tpl (nonexistent)
@@ -1,39 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-
- <inp2:m_RenderElement name="innews/elements/side_boxes/pick" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/pop" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/new" design="blue_box" data_exists="1"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="lu_title_HotArticles" templates="innews/articles/hot_articles"/>
-
- <!-- hot articles -->
- <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
- <inp2:n_InitList list_name="hot_articles" m_cat_id="0" recursive="1" types="hot"/>
-
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_HotArticles"/>
- </inp2:m_Capture>
-
- <inp2:m_include template="innews/elements/sorting" list_name="hot_articles"/>
-
- <inp2:m_include template="innews/designs/articles"/>
- <table class="fullwidth item-listing">
- <inp2:n_ListArticles list_name="hot_articles" render_as="article_element" direction="H"/>
- </table>
-
- <inp2:m_include template="platform/elements/pagination" prefix="n" list_name="hot_articles"/>
- </inp2:m_RenderElement>
- <!-- // hot articles -->
-
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/hot_articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.6
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/modify_article.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/modify_article.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/modify_article.tpl (nonexistent)
@@ -1,57 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-
- <inp2:m_RenderElement name="innews/elements/side_boxes/action_box" item_actions="1" design="blue_box"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="lu_title_MyAccount,lu_title_MyArticles,__item__,lu_title_ModifyArticle" templates="platform/my_account/my_account,innews/my_account/my_articles,__default__,innews/articles/modify_article"/>
-
- <!-- modify article -->
- <inp2:m_RenderElement design="content_box">
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_ModifyArticle"/>
- </inp2:m_Capture>
-
-
-
- <inp2:m_if check="n_HasPermission" permissions="NEWS.MODIFY|NEWS.MODIFY.PENDING|NEWS.OWNER.MODIFY|NEWS.OWNER.MODIFY.PENDING">
-
- <span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
-
- <inp2:m_if check="n_HasError" field="any">
- <inp2:m_RenderElement name="error_message" />
- </inp2:m_if>
-
- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
-
- <form method="post" action="<inp2:m_FormAction/>" enctype="multipart/form-data">
- <table class="form-data fullwidth">
- <inp2:m_RenderElement name="inp_edit_box" prefix="n" field="Title" title="lu_fld_Title"/>
- <inp2:m_RenderElement name="inp_edit_textarea" prefix="n" field="Body" cols="60" rows="8" title="lu_fld_Body"/>
-
- <inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="PrimaryImage" title="lu_fld_PrimaryImage"/>
- <inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="Image1" title="lu_fld_Image1"/>
- <inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="Image2" title="lu_fld_Image2" is_last="1"/>
-
- <inp2:m_RenderElement design="inp_edit_buttons">
- <input type="hidden" name="modify_confirm_template" value="innews/articles/modify_confirm"/>
- <input type="hidden" name="modify_pending_confirm_template" value="innews/articles/modify_pending_confirm"/>
- <input class="button" type="submit" name="events[n][OnUpdate]" value="<inp2:m_phrase label="lu_btn_Update"/>"/>
- </inp2:m_RenderElement>
- </table>
- </form>
- <inp2:m_else/>
- <inp2:m_phrase name="lu_text_NoModifyArticlePermission"/>
- </inp2:m_if>
- </inp2:m_RenderElement>
- <!-- // modify article -->
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/modify_article.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.11
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/add_review_confirm.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/add_review_confirm.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/add_review_confirm.tpl (nonexistent)
@@ -1,26 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="__item__,lu_title_AddArticleReviewConfirm" templates="__default__,innews/articles/add_review_confirm" show_category="1"/>
-
- <!-- add article review confirm -->
- <inp2:m_RenderElement design="content_box">
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_AddArticleReviewConfirm"/>
- </inp2:m_Capture>
-
- <inp2:m_phrase name="lu_text_AddArticleReviewConfirm"/><br /><br />
- <a href="<inp2:n_ArticleLink template="__default__"/>"><inp2:n_Field name="Title"/></a>
- </inp2:m_RenderElement>
- <!-- // add article review confirm -->
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/add_review_confirm.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/modify_confirm.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/modify_confirm.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/modify_confirm.tpl (nonexistent)
@@ -1,26 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="lu_title_MyAccount,lu_title_MyArticles,__item__,lu_title_ModifyArticleConfirm" templates="platform/my_account/my_account,innews/my_account/my_articles,__default__,innews/articles/modify_confirm"/>
-
- <!-- article modify confirm -->
- <inp2:m_RenderElement design="content_box">
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_ModifyArticleConfirm"/>
- </inp2:m_Capture>
-
- <inp2:m_phrase name="lu_text_ModifyArticleConfirm"/><br /><br />
- <a href="<inp2:m_Link template="innews/my_account/my_articles" m_cat_id="0"/>"><inp2:m_phrase name="lu_text_MyArticles"/></a>
- </inp2:m_RenderElement>
- <!-- // article modify confirm -->
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/modify_confirm.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/search_results.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/search_results.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/search_results.tpl (nonexistent)
@@ -1,38 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-
- <inp2:m_RenderElement name="innews/elements/side_boxes/pick" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/pop" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/new" design="blue_box" data_exists="1"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="lu_title_ArticleSearchResults" templates="innews/search/search_results"/>
-
- <inp2:m_RenderElement design="content_box">
- <inp2:n_InitList list_name="article_search_results" types="search" parent_cat_id="any" recursive="1"/>
-
- <inp2:m_Capture to_var="header">
- <inp2:m_Phrase label="lu_title_ArticleSearchResults"/>
- </inp2:m_Capture>
-
- <inp2:m_include template="innews/elements/sorting" list_name="article_search_results"/>
-
- <inp2:m_include template="innews/designs/articles"/>
- <inp2:m_include template="platform/designs/search_results"/>
-
- <table class="fullwidth item-listing">
- <inp2:n_ListArticles list_name="article_search_results" render_as="article_element" show_relevance="1"/>
- </table>
-
- <inp2:m_include template="platform/elements/pagination" prefix="n" list_name="article_search_results"/>
- </inp2:m_RenderElement>
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/search_results.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/pop_articles.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/pop_articles.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/pop_articles.tpl (nonexistent)
@@ -1,38 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-
- <inp2:m_RenderElement name="innews/elements/side_boxes/hot" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/pick" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/new" design="blue_box" data_exists="1"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="lu_title_PopArticles" templates="innews/articless/pop_articles"/>
-
- <!-- popular articles -->
- <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
- <inp2:n_InitList list_name="pop_articles" m_cat_id="0" recursive="1" types="pop"/>
-
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_PopArticles"/>
- </inp2:m_Capture>
-
- <inp2:m_include template="innews/elements/sorting" list_name="pop_articles"/>
-
- <inp2:m_include template="innews/designs/articles"/>
- <table class="fullwidth item-listing">
- <inp2:n_ListArticles list_name="pop_articles" render_as="article_element" direction="H"/>
- </table>
-
- <inp2:m_include template="platform/elements/pagination" prefix="n" list_name="pop_articles"/>
- </inp2:m_RenderElement>
- <!-- // popular articles -->
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/pop_articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.6
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/suggest_confirm.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/suggest_confirm.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/suggest_confirm.tpl (nonexistent)
@@ -1,26 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="lu_title_SuggestArticleConfirm" templates="innews/articles/suggest_confirm" show_category="1"/>
-
- <!-- suggest article confirm -->
- <inp2:m_RenderElement design="content_box">
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_SuggestArticleConfirm"/>
- </inp2:m_Capture>
-
- <inp2:m_phrase name="lu_text_SuggestArticleConfirm"/><br /><br />
- <a href="<inp2:m_Link template="innews/my_account/my_articles" m_cat_id="0"/>"><inp2:m_phrase name="lu_text_MyArticles"/></a>
- </inp2:m_RenderElement>
- <!-- // suggest article confirm -->
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/suggest_confirm.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/add_review_pending_confirm.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/add_review_pending_confirm.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/add_review_pending_confirm.tpl (nonexistent)
@@ -1,26 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="__item__,lu_title_AddArticleReviewPendingConfirm" templates="__default__,innews/articles/add_review_pending_confirm" show_category="1"/>
-
- <!-- add article review pending confirm -->
- <inp2:m_RenderElement design="content_box">
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_AddArticleReviewPendingConfirm"/>
- </inp2:m_Capture>
-
- <inp2:m_phrase name="lu_text_AddArticleReviewPendingConfirm"/><br /><br />
- <a href="<inp2:n_ArticleLink template="__default__"/>"><inp2:n_Field name="Title"/></a>
- </inp2:m_RenderElement>
- <!-- // add article review pending confirm -->
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/add_review_pending_confirm.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/modify_pending_confirm.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/modify_pending_confirm.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/modify_pending_confirm.tpl (nonexistent)
@@ -1,26 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="lu_title_MyAccount,lu_title_MyArticles,__item__,lu_title_ModifyArticlePendingConfirm" templates="platform/my_account/my_account,innews/my_account/my_articles,__default__,innews/articles/modify_pending_confirm"/>
-
- <!-- article modify pending confirm -->
- <inp2:m_RenderElement design="content_box">
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_ModifyArticlePendingConfirm"/>
- </inp2:m_Capture>
-
- <inp2:m_phrase name="lu_text_ModifyArticlePendingConfirm"/><br /><br />
- <a href="<inp2:m_Link template="innews/my_account/my_articles" m_cat_id="0"/>"><inp2:m_phrase name="lu_text_MyArticles"/></a>
- </inp2:m_RenderElement>
- <!-- // article modify pending confirm -->
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/modify_pending_confirm.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/articles/new_articles.tpl
===================================================================
--- trunk/themes/default2007/innews/articles/new_articles.tpl (revision 12830)
+++ trunk/themes/default2007/innews/articles/new_articles.tpl (nonexistent)
@@ -1,39 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-
- <inp2:m_RenderElement name="innews/elements/side_boxes/hot" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/pop" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/pick" design="blue_box" data_exists="1"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="lu_title_NewArticles" templates="innews/articles/new_articles"/>
-
- <!-- new articles -->
- <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
- <inp2:n_InitList list_name="new_articles" m_cat_id="0" recursive="1" types="new"/>
-
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_NewArticles"/>
- </inp2:m_Capture>
-
- <inp2:m_include template="innews/elements/sorting" list_name="new_articles"/>
-
- <inp2:m_include template="innews/designs/articles"/>
- <table class="fullwidth item-listing">
- <inp2:n_ListArticles list_name="new_articles" render_as="article_element" direction="H"/>
- </table>
-
- <inp2:m_include template="platform/elements/pagination" prefix="n" list_name="new_articles"/>
- </inp2:m_RenderElement>
- <!-- // new articles -->
-
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/articles/new_articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.6
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/module_info.xml
===================================================================
--- trunk/themes/default2007/innews/module_info.xml (revision 12830)
+++ trunk/themes/default2007/innews/module_info.xml (nonexistent)
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<module_info>
- <category_template>innews/index</category_template>
- <item_template>innews/detail</item_template>
-</module_info>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/module_info.xml
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/designs/articles.tpl
===================================================================
--- trunk/themes/default2007/innews/designs/articles.tpl (revision 12830)
+++ trunk/themes/default2007/innews/designs/articles.tpl (nonexistent)
@@ -1,224 +0,0 @@
-<inp2:m_DefineElement name="no_articles">
- <inp2:m_phrase name="lu_NoArticles"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="article_element">
- <td>
- <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
- <br />
- <table class="fullwidth">
- <tr>
- <td class="articles-icon-cell" align="left" valign="top">
- <img src="<inp2:m_TemplatesBase module="In-News"/>img/articles_icon.gif" width="22" height="18" alt="" /><br />
- </td>
- <td valign="top">
- <a href="<inp2:ArticleLink template="__default__"/>" class="text-title"><inp2:Field name="Title"/></a>
-
- <inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
- <inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
- <inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Popular"/>"/></inp2:m_if>
- <inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
- <inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
- <inp2:VotesIndicator render_as="rating_element"/>
-
- <div class="item-statistics">
- (<inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
- <inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
- <inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
- <inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
- <inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>)
- </div>
- </td>
- </tr>
- </table>
- <br />
- <table class="fullwidth">
- <tr>
- <td class="article-picture-padding">
- <inp2:m_if check="m_Param" name="show_relevance">
- <inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" /><br/>
- </inp2:m_if>
- <a href="<inp2:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" html_escape="1"/>"><inp2:Image render_as="image_element" thumbnail="1" primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail"/></a>
- </td>
- <td valign="top">
- <inp2:Field name="Excerpt" nl2br="1"/>
-
- <br /><br />
- <inp2:m_if check="IsFavorite">
- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
- <inp2:m_else/>
- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
- </inp2:m_if>
- &nbsp;|&nbsp;
-
- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/reviews.gif" width="14" height="10" alt="" /> <a class="item-action" href="<inp2:ArticleLink template="innews/articles/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a>
- </td>
-
- </tr>
- </table>
- <br />
- </td>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="my_article_element">
- <td>
- <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
- <table class="fullwidth">
- <tr>
- <td class="article-picture-padding">
- <a href="<inp2:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail"/></a><br />
- </td>
- <td class="article-text-padding" valign="top">
- <a href="<inp2:ArticleLink template="__default__"/>"><inp2:Field name="Title"/></a> <inp2:m_if check="IsPending"><span class="pending-item"><strong><inp2:m_phrase name="lu_PendingItem"/></strong></span></inp2:m_if>
-
- <inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
- <inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
- <inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Popular"/>"/></inp2:m_if>
- <inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
- <inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
- <inp2:VotesIndicator render_as="rating_element"/>
-
- <br />
-
- <inp2:m_phrase name="lu_ItemPrimaryCategory"/>: <strong><inp2:CategoryPath separator="&gt;" render_as="category_path_element"/></strong><br />
- <inp2:Field name="Body" nl2br="1"/>
-
- <br /><br />
- <table>
- <tr>
- <td>
- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_details.gif" width="14" height="13" alt="" /> <a class="item-action" href="<inp2:ArticleLink template="__default__"/>"><inp2:m_phrase name="lu_btn_Details"/></a>
- </td>
-
- <inp2:m_if check="HasPermission" permissions="NEWS.MODIFY|NEWS.MODIFY.PENDING|NEWS.OWNER.MODIFY|NEWS.OWNER.MODIFY.PENDING">
- <td>
- &nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_edit.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:ArticleLink template="innews/articles/modify_article"/>"><inp2:m_phrase name="lu_btn_Modify"/></a>
- </td>
- </inp2:m_if>
-
- <inp2:m_if check="HasPermission" permissions="NEWS.DELETE|NEWS.OWNER.DELETE">
- <td>
- &nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_delete.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:ArticleLink n_event="OnDelete"/>" onclick="return confirm('<inp2:m_phrase name="lu_DeleteArticleConfirm" js_escape="1"/>');"><inp2:m_phrase name="lu_btn_Delete"/></a>
- </td>
- </inp2:m_if>
- </tr>
- </table>
-
-
- </td>
- </tr>
- </table>
- </td>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="site_lead_article_element">
- <tr>
- <td>
- <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt=""/></div>
- <div class="site-lead-article"><inp2:m_Phrase label="lu_SiteLeadStory"/></div>
- <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt=""/></div>
- </td>
- </tr>
- <tr>
- <td class="site-lead-article-padding">
- <table style="width:auto">
- <tr>
- <td class="articles-icon-cell" align="left" valign="top">
- <img src="<inp2:m_TemplatesBase module="In-News"/>img/articles_icon.gif" width="22" height="18" alt="" /><br />
- </td>
- <td valign="top">
- <a href="<inp2:ArticleLink template="__default__"/>" class="text-title"><inp2:Field name="Title"/></a>
-
- <inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
- <inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
- <inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Popular"/>"/></inp2:m_if>
- <inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
- <inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
- <inp2:VotesIndicator render_as="rating_element"/>
-
- <div class="item-statistics">
- (<inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
- <inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
- <inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
- <inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
- <inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>)
- </div>
- </td>
- </tr>
- </table>
- <br />
- <table>
- <tr>
- <td class="article-picture-padding">
- <a href="<inp2:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail"/></a>
- </td>
- <td valign="top" >
- <inp2:Field name="Excerpt" nl2br="1"/>
- </td>
-
- </tr>
- </table>
-
- <br />
- <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
- <br />
- </td>
- </tr>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="category_lead_article_element">
- <tr>
- <td>
- <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt=""/></div>
- <div class="category-lead-article"><inp2:m_Phrase label="lu_CategoryLeadStory"/></div>
- <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt=""/></div>
- </td>
- </tr>
- <tr>
- <td class="category-lead-article-padding">
- <table style="width:auto">
- <tr>
- <td class="articles-icon-cell" align="left" valign="top">
- <img src="<inp2:m_TemplatesBase module="In-News"/>img/articles_icon.gif" width="22" height="18" alt="" /><br />
- </td>
- <td valign="top">
- <a href="<inp2:ArticleLink template="__default__"/>" class="text-title"><inp2:Field name="Title"/></a>
-
- <inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
- <inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
- <inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Popular"/>"/></inp2:m_if>
- <inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
- <inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
- <inp2:VotesIndicator render_as="rating_element"/>
-
- <div class="item-statistics">
- (<inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
- <inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
- <inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
- <inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
- <inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>)
- </div>
- </td>
- </tr>
- </table>
- <br />
- <table>
- <tr>
- <td class="article-picture-padding">
- <a href="<inp2:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail"/></a>
- </td>
- <td valign="top" >
- <inp2:Field name="Excerpt" nl2br="1"/>
- </td>
- </tr>
- </table>
-
- </td>
- </tr>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="article_short_element">
- <td>
- <a href="<inp2:ArticleLink template="__default__"/>"><inp2:Field name="Title"/></a>
- </td>
-</inp2:m_DefineElement>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/designs/articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.26
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/elements/side_boxes/hot.tpl
===================================================================
--- trunk/themes/default2007/innews/elements/side_boxes/hot.tpl (revision 12830)
+++ trunk/themes/default2007/innews/elements/side_boxes/hot.tpl (nonexistent)
@@ -1,18 +0,0 @@
-<!-- popular links -->
-<inp2:n_InitList list_name="hot_articles" types="hot" parent_cat_id="0" recursive="1" per_page="short_list"/>
-
-<inp2:m_Capture to_var="header">
- <a href="<inp2:m_Link template="innews/articles/hot_articles" m_cat_id="0" />"><inp2:m_phrase name="lu_title_HotArticles"/></a> (<inp2:n_TotalRecords list_name="hot_articles"/>)
-</inp2:m_Capture>
-
-<inp2:m_include template="innews/designs/articles"/>
-
-<inp2:m_DefineElement name="all_hot_articles">
- <a href="<inp2:m_Link template="innews/articles/hot_articles" m_cat_id="0" />"><inp2:m_Phrase label="lu_More" /></a>
-</inp2:m_DefineElement>
-
-<table width="100%" style="border-width: 0px;">
- <inp2:n_ListArticles list_name="hot_articles" render_as="article_short_element" direction="H"/>
-</table>
-<inp2:n_MoreLink list_name="hot_articles" render_as="all_hot_articles"/>
-<!-- // popular links -->
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/elements/side_boxes/hot.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/elements/side_boxes/pick.tpl
===================================================================
--- trunk/themes/default2007/innews/elements/side_boxes/pick.tpl (revision 12830)
+++ trunk/themes/default2007/innews/elements/side_boxes/pick.tpl (nonexistent)
@@ -1,18 +0,0 @@
-<!-- popular links -->
-<inp2:n_InitList list_name="pick_articles" types="pick" parent_cat_id="0" recursive="1" per_page="short_list"/>
-
-<inp2:m_Capture to_var="header">
- <a href="<inp2:m_Link template="innews/articles/pick_articles" m_cat_id="0" />"><inp2:m_phrase name="lu_title_PickArticles"/></a> (<inp2:n_TotalRecords list_name="pick_articles"/>)
-</inp2:m_Capture>
-
-<inp2:m_include template="innews/designs/articles"/>
-
-<inp2:m_DefineElement name="all_pick_articles">
- <a href="<inp2:m_Link template="innews/articles/pick_articles" m_cat_id="0" />"><inp2:m_Phrase label="lu_More" /></a>
-</inp2:m_DefineElement>
-
-<table width="100%" style="border-width: 0px;">
- <inp2:n_ListArticles list_name="pick_articles" render_as="article_short_element" direction="H"/>
-</table>
-<inp2:n_MoreLink list_name="pick_articles" render_as="all_pick_articles"/>
-<!-- // popular links -->
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/elements/side_boxes/pick.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/elements/side_boxes/pop.tpl
===================================================================
--- trunk/themes/default2007/innews/elements/side_boxes/pop.tpl (revision 12830)
+++ trunk/themes/default2007/innews/elements/side_boxes/pop.tpl (nonexistent)
@@ -1,18 +0,0 @@
-<!-- popular links -->
-<inp2:n_InitList list_name="pop_articles" types="pop" parent_cat_id="0" recursive="1" per_page="short_list"/>
-
-<inp2:m_Capture to_var="header">
- <a href="<inp2:m_Link template="innews/articles/pop_articles" m_cat_id="0" />"><inp2:m_phrase name="lu_title_PopArticles"/></a> (<inp2:n_TotalRecords list_name="pop_articles"/>)
-</inp2:m_Capture>
-
-<inp2:m_include template="innews/designs/articles"/>
-
-<inp2:m_DefineElement name="all_pop_articles">
- <a href="<inp2:m_Link template="innews/links/pop_articles" m_cat_id="0" />"><inp2:m_Phrase label="lu_More" /></a>
-</inp2:m_DefineElement>
-
-<table width="100%" style="border-width: 0px;">
- <inp2:n_ListArticles list_name="pop_articles" render_as="article_short_element" direction="H"/>
-</table>
-<inp2:n_MoreLink list_name="pop_articles" render_as="all_pop_articles"/>
-<!-- // popular links -->
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/elements/side_boxes/pop.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/elements/side_boxes/new.tpl
===================================================================
--- trunk/themes/default2007/innews/elements/side_boxes/new.tpl (revision 12830)
+++ trunk/themes/default2007/innews/elements/side_boxes/new.tpl (nonexistent)
@@ -1,18 +0,0 @@
-<!-- popular links -->
-<inp2:n_InitList list_name="new_articles" types="new" parent_cat_id="0" recursive="1" per_page="short_list"/>
-
-<inp2:m_Capture to_var="header">
- <a href="<inp2:m_Link template="innews/articles/new_articles" m_cat_id="0" />"><inp2:m_phrase name="lu_title_NewArticles"/></a> (<inp2:n_TotalRecords list_name="new_articles"/>)
-</inp2:m_Capture>
-
-<inp2:m_include template="innews/designs/articles"/>
-
-<inp2:m_DefineElement name="all_new_articles">
- <a href="<inp2:m_Link template="innews/articles/new_articles" m_cat_id="0" />"><inp2:m_Phrase label="lu_More" /></a>
-</inp2:m_DefineElement>
-
-<table width="100%" style="border-width: 0px;">
- <inp2:n_ListArticles list_name="new_articles" render_as="article_short_element" direction="H"/>
-</table>
-<inp2:n_MoreLink list_name="new_articles" render_as="all_new_articles"/>
-<!-- // popular links -->
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/elements/side_boxes/new.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/elements/side_boxes/action_box.tpl
===================================================================
--- trunk/themes/default2007/innews/elements/side_boxes/action_box.tpl (revision 12830)
+++ trunk/themes/default2007/innews/elements/side_boxes/action_box.tpl (nonexistent)
@@ -1,40 +0,0 @@
-<inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_ActionBox"/>
-</inp2:m_Capture>
-
-<table width="100%" style="border-width: 0px;">
- <inp2:m_RenderElement name="box_element" template="platform/categories/suggest_category" title="lu_SuggestCategory" prefix="n"/>
- <inp2:m_RenderElement name="box_element" template="innews/articles/suggest_article" title="lu_SuggestArticle" prefix="n"/>
-
- <inp2:m_if check="m_Param" name="item_actions">
- <tr>
- <td>-</td>
- <td>
- <inp2:m_if check="n_IsFavorite">
- <a href="<inp2:n_FavoriteToggleLink/>">
- <inp2:m_phrase name="lu_btn_RemoveFromFavorites"/>
- </a>
- <inp2:m_else/>
- <a href="<inp2:n_FavoriteToggleLink template="platform/my_account/my_favorites"/>">
- <inp2:m_phrase name="lu_btn_AddToFavorites"/>
- </a>
- </inp2:m_if>
- </td>
- </tr>
-
- <tr>
- <td>-</td>
- <td>
- <a href="<inp2:n_ArticleLink template="innews/articles/add_review"/>"><inp2:m_phrase name="lu_btn_ReviewThisArticle"/></a>
- </td>
- </tr>
-
-
- <tr>
- <td>-</td>
- <td>
- <a href="<inp2:n_ArticleLink template="innews/articles/rate"/>"><inp2:m_phrase name="lu_btn_RateThisArticle"/></a>
- </td>
- </tr>
- </inp2:m_if>
-</table>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/elements/side_boxes/action_box.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.6
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/elements/sorting.tpl
===================================================================
--- trunk/themes/default2007/innews/elements/sorting.tpl (revision 12830)
+++ trunk/themes/default2007/innews/elements/sorting.tpl (nonexistent)
@@ -1,41 +0,0 @@
-<table class="fullwidth">
- <tr>
- <td class="category-statistics">
- <inp2:m_phrase name="lu_TotalArticles"/>: <inp2:n_TotalRecords list_name="$list_name"/> &nbsp;|&nbsp; <span class="static"><inp2:m_phrase name="lu_AddedToday"/>: 0</span>
- </td>
- <td class="category-statistics static" align="right">
- <inp2:m_phrase name="lu_ArticlesUpdated"/>: 05/17/2006
- </td>
- </tr>
-</table>
-<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
-<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" alt="" /><br />
-<br />
-
-<table class="fullwidth">
- <tr>
- <td align="right">
- <form method="post" action="<inp2:m_FormAction />">
- <inp2:m_Phrase label="lu_SortArticlesBy"/>:
-
- <select name="<inp2:n_CombinedSortingDropDownName/>" class="input-select">
- <option value="Title|asc" <inp2:n_SortingSelected sorting="Title|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_ArticleTitleAZ"/></option>
- <option value="Title|desc" <inp2:n_SortingSelected sorting="Title|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_ArticleTitleZA"/></option>
- <option value="CreatedOn|asc" <inp2:n_SortingSelected sorting="CreatedOn|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RecentToOld"/></option>
- <option value="CreatedOn|desc" <inp2:n_SortingSelected sorting="CreatedOn|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_OldToRecent"/></option>
- <option value="Author|asc" <inp2:n_SortingSelected sorting="Author|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_AuthorAZ"/></option>
- <option value="Author|desc" <inp2:n_SortingSelected sorting="Author|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_AuthorZA"/></option>
- <option value="CachedRating|asc" <inp2:n_SortingSelected sorting="CachedRating|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RatingLH"/></option>
- <option value="CachedRating|desc" <inp2:n_SortingSelected sorting="CachedRating|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RatingHL"/></option>
- <option value="CachedVotesQty|asc" <inp2:n_SortingSelected sorting="CachedVotesQty|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_VotesLH"/></option>
- <option value="CachedVotesQty|desc" <inp2:n_SortingSelected sorting="CachedVotesQty|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_VotesHL"/></option>
- <option value="Hits|asc" <inp2:n_SortingSelected sorting="Hits|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_HitsLH"/></option>
- <option value="Hits|desc" <inp2:n_SortingSelected sorting="Hits|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_HitsHL"/></option>
- </select>
- <input type="submit" class="button" name="<inp2:n_SubmitName event="OnSetSortingDirect"/>" value="<inp2:m_Phrase label="lu_btn_Sort"/>" />
- </form>
- </td>
- </tr>
-</table>
-
-<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="10" alt="" /><br />
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/elements/sorting.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/elements/html_head.tpl
===================================================================
--- trunk/themes/default2007/innews/elements/html_head.tpl (revision 12830)
+++ trunk/themes/default2007/innews/elements/html_head.tpl (nonexistent)
@@ -1,3 +0,0 @@
-<link rel="stylesheet" rev="stylesheet" href="<inp2:m_TemplatesBase module="In-News"/>inc/styles.css" type="text/css" />
-<script type="text/javascript" src="<inp2:m_TemplatesBase module="In-News"/>inc/script.js"></script>
-
Property changes on: trunk/themes/default2007/innews/elements/html_head.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/elements/content_boxes/site_lead_article.tpl
===================================================================
--- trunk/themes/default2007/innews/elements/content_boxes/site_lead_article.tpl (revision 12830)
+++ trunk/themes/default2007/innews/elements/content_boxes/site_lead_article.tpl (nonexistent)
@@ -1,13 +0,0 @@
-<inp2:m_RenderElement design="content_box" data_exists="1">
- <inp2:n_InitList list_name="site_lead" types="site_lead" parent_cat_id="0" per_page="1" recursive="1"/>
-
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_SiteLeadStory"/>
- </inp2:m_Capture>
-
- <inp2:m_include template="innews/designs/articles"/>
-
- <table class="table-gradient-blue" width="100%">
- <inp2:n_ListArticles list_name="site_lead" render_as="site_lead_article_element" no_table="1"/>
- </table>
-</inp2:m_RenderElement>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/elements/content_boxes/site_lead_article.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/elements/content_boxes/home_page_items.tpl
===================================================================
--- trunk/themes/default2007/innews/elements/content_boxes/home_page_items.tpl (revision 12830)
+++ trunk/themes/default2007/innews/elements/content_boxes/home_page_items.tpl (nonexistent)
@@ -1,5 +0,0 @@
-<inp2:m_include template="innews/elements/content_boxes/site_lead_article"/>
-
-
-
-
Property changes on: trunk/themes/default2007/innews/elements/content_boxes/home_page_items.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/elements/content_boxes/my_favorites.tpl
===================================================================
--- trunk/themes/default2007/innews/elements/content_boxes/my_favorites.tpl (revision 12830)
+++ trunk/themes/default2007/innews/elements/content_boxes/my_favorites.tpl (nonexistent)
@@ -1,22 +0,0 @@
-<!-- favorite articles -->
-<inp2:m_RenderElement design="content_box" data_exists="1">
- <inp2:n_InitList list_name="favorite_articles" types="favorites" parent_cat_id="0" recursive="1"/>
-
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_FavoriteArticles"/> (<inp2:n_TotalRecords list_name="favorite_articles"/>)
- </inp2:m_Capture>
-
- <inp2:m_include template="innews/designs/articles"/>
-
- <table class="fullwidth item-listing">
- <inp2:n_ListArticles list_name="favorite_articles" render_as="article_element" direction="H"/>
- </table>
-
- <inp2:m_if check="n_TotalRecords" list_name="favorite_articles">
- <inp2:m_Set favorites_found="1"/>
- </inp2:m_if>
-
- <inp2:m_include template="platform/elements/pagination" prefix="n" list_name="favorite_articles"/>
-</inp2:m_RenderElement>
-
-<!-- // favorite articles -->
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/elements/content_boxes/my_favorites.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.7
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/elements/content_boxes/search_results.tpl
===================================================================
--- trunk/themes/default2007/innews/elements/content_boxes/search_results.tpl (revision 12830)
+++ trunk/themes/default2007/innews/elements/content_boxes/search_results.tpl (nonexistent)
@@ -1,26 +0,0 @@
-<inp2:m_RenderElement design="content_box" data_exists="1">
- <inp2:n_InitList list_name="article_search_results" types="search" parent_cat_id="any" recursive="1" per_page="short_list"/>
-
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_ArticleSearchResults"/> (<inp2:n_TotalRecords list_name="article_search_results" />)
- </inp2:m_Capture>
-
- <inp2:m_include template="innews/designs/articles"/>
- <inp2:m_include template="platform/designs/search_results"/>
-
- <table class="fullwidth item-listing">
- <inp2:n_ListArticles list_name="article_search_results" render_as="article_element" show_relevance="1"/>
- </table>
-
- <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
-
- <inp2:m_if check="n_TotalRecords" list_name="article_search_results">
- <inp2:m_Set items_found="1"/>
- </inp2:m_if>
-
- <inp2:m_DefineElement name="more_link">
- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt="" /><br />
- <a href="<inp2:m_Link template="innews/articles/search_results" />"><inp2:m_Phrase label="lu_More"/>...</a>
- </inp2:m_DefineElement>
- <inp2:n_MoreLink list_name="article_search_results" render_as="more_link"/>
-</inp2:m_RenderElement>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/elements/content_boxes/search_results.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/elements/menu.xml.tpl
===================================================================
--- trunk/themes/default2007/innews/elements/menu.xml.tpl (revision 12830)
+++ trunk/themes/default2007/innews/elements/menu.xml.tpl (nonexistent)
@@ -1 +0,0 @@
-<inp2:m_RenderElement name="dmenu_element" module="In-news" icon="menu_articles.gif"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/elements/menu.xml.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/my_account/my_articles.tpl
===================================================================
--- trunk/themes/default2007/innews/my_account/my_articles.tpl (revision 12830)
+++ trunk/themes/default2007/innews/my_account/my_articles.tpl (nonexistent)
@@ -1,36 +0,0 @@
-<inp2:m_RequireLogin login_template="platform/login/register"/>
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="lu_title_MyAccount,lu_title_MyArticles" templates="platform/my_account/my_account,innews/my_account/my_articles"/>
-
- <!-- my articles -->
- <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
- <inp2:n_InitList list_name="my_articles" types="my_items" parent_cat_id="0" recursive="1"/>
-
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_MyArticles"/>
- </inp2:m_Capture>
-
- <inp2:m_include template="innews/elements/sorting" list_name="my_articles"/>
-
- <inp2:m_include template="innews/designs/articles"/>
- <table class="item-listing fullwidth">
- <inp2:n_ListArticles list_name="my_articles" render_as="my_article_element" direction="H"/>
- </table>
-
- <inp2:m_include template="platform/elements/pagination" prefix="n" list_name="my_articles"/>
- </inp2:m_RenderElement>
- <!-- // my articles -->
-
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/my_account/my_articles.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.9
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/my_account/my_items.tpl
===================================================================
--- trunk/themes/default2007/innews/my_account/my_items.tpl (revision 12830)
+++ trunk/themes/default2007/innews/my_account/my_items.tpl (nonexistent)
@@ -1,9 +0,0 @@
-<inp2:m_if check="m_ParamEquals" name="section" value="2">
- <inp2:m_if check="m_ParamEquals" name="place" value="sidebox">
- <inp2:m_RenderElement name="box_element" template="innews/my_account/my_articles" title="lu_MyArticles"/>
- </inp2:m_if>
-
- <inp2:m_if check="m_ParamEquals" name="place" value="contentbox">
- <inp2:m_RenderElement name="my_account_element" template="innews/my_account/my_articles" title="lu_MyArticles" description="lu_description_MyArticles"/>
- </inp2:m_if>
-</inp2:m_if>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/my_account/my_items.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/index.tpl
===================================================================
--- trunk/themes/default2007/innews/index.tpl (revision 12830)
+++ trunk/themes/default2007/innews/index.tpl (nonexistent)
@@ -1,61 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- innews/elements/side_boxes/action_box,
- "
- design="blue_box"/>
-
- <inp2:m_RenderElement name="innews/elements/side_boxes/pick" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/new" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/pop" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/hot" design="blue_box" data_exists="1"/>
-
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar"/>
- <inp2:m_include template="innews/designs/articles"/>
-
- <inp2:m_if check="n_IsModuleHome">
- <inp2:m_include template="innews/elements/content_boxes/site_lead_article"/>
- </inp2:m_if>
-
- <inp2:m_include template="platform/elements/content_boxes/sub_categories"/>
-
- <!-- category lead articles -->
- <inp2:m_RenderElement design="content_box" data_exists="1">
- <inp2:n_InitList list_name="category_lead" types="cat_lead" per_page="-1"/>
-
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_CategoryLeadStory"/>
- </inp2:m_Capture>
-
- <table class="table-gradient-grey" width="100%">
- <inp2:n_ListArticles list_name="category_lead" render_as="category_lead_article_element" no_table="1"/>
- </table>
- </inp2:m_RenderElement>
- <!-- // category lead articles -->
-
- <!-- articles in category -->
- <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
- <inp2:n_InitList list_name="items_in_current_cat" />
-
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_Articles"/>
- </inp2:m_Capture>
-
- <inp2:m_include template="innews/elements/sorting" list_name="items_in_current_cat"/>
-
- <table class="fullwidth item-listing">
- <inp2:n_ListArticles list_name="items_in_current_cat" render_as="article_element" direction="H"/>
- </table>
-
- <inp2:m_include template="platform/elements/pagination" prefix="n" list_name="items_in_current_cat"/>
- </inp2:m_RenderElement>
- <!-- // articles in category -->
-
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/index.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.21
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/detail.tpl
===================================================================
--- trunk/themes/default2007/innews/detail.tpl (revision 12830)
+++ trunk/themes/default2007/innews/detail.tpl (nonexistent)
@@ -1,102 +0,0 @@
-<inp2:m_DefineElement name="sidebar">
- <inp2:m_RenderElements
- elements="
- platform/elements/side_boxes/login,
- platform/elements/side_boxes/search,
- "
- design="blue_box"/>
-
- <inp2:m_RenderElement name="innews/elements/side_boxes/action_box" item_actions="1" design="blue_box"/>
-
- <inp2:m_RenderElement name="innews/elements/side_boxes/new" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/pop" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/hot" design="blue_box" data_exists="1"/>
- <inp2:m_RenderElement name="innews/elements/side_boxes/pick" design="blue_box" data_exists="1"/>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="additionan_image_element">
- <td>
- <img src="<inp2:m_param name="img_path"/>" title="<inp2:m_param name="alt"/>" alt="<inp2:m_param name="alt"/>" <inp2:m_param name="img_size"/> border="0" /><br />
- </td>
- <inp2:m_if check="m_Param" name="not_last">
- <td>
- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="8" height="1" alt="" />
- </td>
- </inp2:m_if>
-</inp2:m_DefineElement>
-
-<inp2:m_DefineElement name="content">
- <inp2:m_include template="platform/elements/navigation_bar" titles="__item__,lu_title_ArticleDetails" templates="__default__,innews/detail" show_category="1"/>
-
- <!-- article details -->
- <inp2:m_RenderElement design="content_box">
-
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_title_ArticleDetails"/>
- </inp2:m_Capture>
-
- <table class="fullwidth">
- <tr>
- <td valign="top">
-
- <span class="text-title"><inp2:n_Field name="Title"/></span>
-
- <inp2:m_if check="n_IsPending"><span class="pending-item"><strong><inp2:m_phrase name="lu_PendingItem"/></strong></span></inp2:m_if>
- <inp2:m_if check="n_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
- <inp2:m_if check="n_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
- <inp2:m_if check="n_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Popular"/>"/></inp2:m_if>
- <inp2:m_if check="n_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
- <inp2:m_if check="n_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
- <inp2:n_VotesIndicator render_as="rating_element"/>
- </td>
- </tr>
- </table>
-
- <table>
- <tr>
- <td class="article-picture-padding" style="padding-left:0px" valign="top">
- <inp2:n_Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="120"/><br />
- </td>
- <td class="article-text-padding" valign="top">
- <inp2:n_Field name="Body" nl2br="1"/>
- </td>
- </tr>
- </table>
- <br />
-
-
- <br />
-
- <inp2:m_if check="n_HasAdditionalImages">
- <inp2:m_RenderElement name="subsection" title="lu_section_AdditionalImages"/>
- <table>
- <tr>
- <inp2:n_ListImages render_as="additionan_image_element" types="additional" per_page="-1" no_table="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="120"/>
- </tr>
- </table>
-
- </inp2:m_if>
- </inp2:m_RenderElement>
- <!-- // article details -->
-
- <!-- article reviews -->
- <inp2:m_DefineElement name="no_reviews">
- <inp2:m_phrase name="lu_NoReviews"/>
- </inp2:m_DefineElement>
-
- <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_reviews">
- <inp2:m_Capture to_var="header">
- <inp2:m_phrase name="lu_section_Reviews"/> (<inp2:n-rev_TotalRecords/>)
- </inp2:m_Capture>
-
- <table>
- <inp2:n-rev_PrintList render_as="review_element"/>
- </table>
-
- <inp2:m_include template="platform/elements/pagination" prefix="n-rev"/>
- </inp2:m_RenderElement>
- <!-- // article reviews -->
-
-</inp2:m_DefineElement>
-
-<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/detail.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.17
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/inc/styles.css
===================================================================
--- trunk/themes/default2007/innews/inc/styles.css (revision 12830)
+++ trunk/themes/default2007/innews/inc/styles.css (nonexistent)
@@ -1,41 +0,0 @@
-
-.article-picture-padding {
- padding: 0px 20px 0px 30px;
- width: 120px;
- vertical-align: top;
-}
-
-.article-text-padding {
- padding: 20px 5px;
-}
-
-
-.articles-icon-cell
- {
- width:22px;
- padding-top:5px;
- vertical-align:top;
- padding-right:7px;
- }
-
-/* --- Category Lead Story & Site Lead Story Styles --- */
-.category-lead-article, .site-lead-article {
- text-align: right;
- padding: 1px 4px;
- margin: 1px 0px;
- font-size: 10px;
-}
-
-.category-lead-article {
- background-color: #EBEBEB;
- color: #666666;
-}
-
-.site-lead-article {
- background-color: #DDE7F1;
- color: #165A9B;
-}
-
-.category-lead-article-padding, .site-lead-article-padding {
- padding: 8px;
-}
\ No newline at end of file
Property changes on: trunk/themes/default2007/innews/inc/styles.css
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/inc/script.js
===================================================================
Index: trunk/themes/default2007/innews/inc/script.js
===================================================================
--- trunk/themes/default2007/innews/inc/script.js (revision 12830)
+++ trunk/themes/default2007/innews/inc/script.js (nonexistent)
Property changes on: trunk/themes/default2007/innews/inc/script.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: trunk/themes/default2007/innews/img/articles_icon.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default2007/innews/img/articles_icon.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/themes/default2007/innews/img/menu_articles.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/default2007/innews/img/menu_articles.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property

Event Timeline