Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1044138
in-portal
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jun 24, 11:28 PM
Size
111 KB
Mime Type
text/x-diff
Expires
Thu, Jun 26, 11:28 PM (4 h, 9 m)
Engine
blob
Format
Raw Data
Handle
675315
Attached To
rINP In-Portal
in-portal
View Options
Index: branches/unlabeled/unlabeled-1.2.2/admin/install/upgrades/inportal_upgrade_v1.3.2.sql
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/admin/install/upgrades/inportal_upgrade_v1.3.2.sql (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/admin/install/upgrades/inportal_upgrade_v1.3.2.sql (revision 7698)
@@ -0,0 +1,6 @@
+ALTER TABLE ThemeFiles ADD FileFound TINYINT UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE ThemeFiles ADD INDEX (FileFound);
+
+CREATE TABLE PopupSizes (PopupId int(10) unsigned NOT NULL auto_increment, TemplateName varchar(255) NOT NULL default '', PopupWidth int(11) NOT NULL default '0', PopupHeight int(11) NOT NULL default '0', PRIMARY KEY (PopupId), KEY TemplateName (TemplateName));
+
+UPDATE Modules SET Version = '1.3.2' WHERE Name = 'In-Portal';
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/admin/install/upgrades/inportal_upgrade_v1.3.2.sql
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/admin/editor/cmseditor/editor/dialog/fck_replace.html
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/admin/editor/cmseditor/editor/dialog/fck_replace.html (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/admin/editor/cmseditor/editor/dialog/fck_replace.html (revision 7698)
@@ -0,0 +1,130 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!--
+ * FCKeditor - The text editor for internet
+ * Copyright (C) 2003-2004 Frederico Caldeira Knabben
+ *
+ * Licensed under the terms of the GNU Lesser General Public License:
+ * http://www.opensource.org/licenses/lgpl-license.php
+ *
+ * For further information visit:
+ * http://www.fckeditor.net/
+ *
+ * File Name: fck_replace.html
+ * "Replace" dialog box window.
+ *
+ * Version: 2.0 RC3
+ * Modified: 2004-11-30 10:26:37
+ *
+ * File Authors:
+ * Frederico Caldeira Knabben (fredck@fckeditor.net)
+ * Abdul-Aziz A. Al-Oraij (aziz.oraij.com)
+-->
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta content="noindex, nofollow" name="robots">
+ <script type="text/javascript">
+
+var oEditor = window.parent.InnerDialogLoaded() ;
+
+function OnLoad()
+{
+ // First of all, translate the dialog box texts
+ oEditor.FCKLanguageManager.TranslatePage( document ) ;
+
+ window.parent.SetAutoSize( true ) ;
+}
+
+function btnStat(frm)
+{
+ document.getElementById('btnReplace').disabled =
+ document.getElementById('btnReplaceAll').disabled =
+ ( document.getElementById('txtFind').value.length == 0 ) ;
+}
+
+function ReplaceTextNodes( parentNode, regex, replaceValue, replaceAll, hasFound )
+{
+ for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
+ {
+ var oNode = parentNode.childNodes[i] ;
+ if ( oNode.nodeType == 3 )
+ {
+ var sReplaced = oNode.nodeValue.replace( regex, replaceValue ) ;
+ if ( oNode.nodeValue != sReplaced )
+ {
+ oNode.nodeValue = sReplaced ;
+ if ( ! replaceAll )
+ return true ;
+ hasFound = true ;
+ }
+ }
+
+ hasFound = ReplaceTextNodes( oNode, regex, replaceValue, replaceAll, hasFound ) ;
+ if ( ! replaceAll && hasFound )
+ return true ;
+ }
+
+ return hasFound ;
+}
+
+function GetRegexExpr()
+{
+ if ( document.getElementById('chkWord').checked )
+ var sExpr = '\\b' + document.getElementById('txtFind').value + '\\b' ;
+ else
+ var sExpr = document.getElementById('txtFind').value ;
+
+ return sExpr ;
+}
+
+function GetCase()
+{
+ return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
+}
+
+function Replace()
+{
+ var oRegex = new RegExp( GetRegexExpr(), GetCase() ) ;
+ ReplaceTextNodes( oEditor.FCK.EditorDocument.body, oRegex, document.getElementById('txtReplace').value, false, false ) ;
+}
+
+function ReplaceAll()
+{
+ var oRegex = new RegExp( GetRegexExpr(), GetCase() + 'g' ) ;
+ ReplaceTextNodes( oEditor.FCK.EditorDocument.body, oRegex, document.getElementById('txtReplace').value, true, false ) ;
+ window.parent.Cancel() ;
+}
+ </script>
+ </head>
+ <body onLoad="OnLoad()" scroll="no" style="OVERFLOW: hidden">
+ <table cellSpacing="3" cellPadding="2" width="100%" border="0">
+ <tr>
+ <td noWrap><label for="txtFind" fckLang="DlgReplaceFindLbl">Find what:</label>
+ </td>
+ <td width="100%"><input id="txtFind" onKeyUp="btnStat(this.form)" style="WIDTH: 100%" tabIndex="1" type="text">
+ </td>
+ <td><input id="btnReplace" style="WIDTH: 100%" disabled onClick="Replace();" type="button"
+ value="Replace" fckLang="DlgReplaceReplaceBtn">
+ </td>
+ </tr>
+ <tr>
+ <td vAlign="top" noWrap><label for="txtReplace" fckLang="DlgReplaceReplaceLbl">Replace
+ with:</label>
+ </td>
+ <td vAlign="top"><input id="txtReplace" style="WIDTH: 100%" tabIndex="2" type="text">
+ </td>
+ <td><input id="btnReplaceAll" disabled onClick="ReplaceAll()" type="button" value="Replace All"
+ fckLang="DlgReplaceReplAllBtn">
+ </td>
+ </tr>
+ <tr>
+ <td vAlign="bottom" colSpan="3"> <input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgReplaceCaseChk">Match
+ case</label>
+ <br>
+ <input id="chkWord" tabIndex="4" type="checkbox"><label for="chkWord" fckLang="DlgReplaceWordChk">Match
+ whole word</label>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
Property changes on: branches/unlabeled/unlabeled-1.2.2/admin/editor/cmseditor/editor/dialog/fck_replace.html
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/admin/editor/cmseditor/editor/dialog/fck_select.html
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/admin/editor/cmseditor/editor/dialog/fck_select.html (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/admin/editor/cmseditor/editor/dialog/fck_select.html (revision 7698)
@@ -0,0 +1,173 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
+<!--
+ * FCKeditor - The text editor for internet
+ * Copyright (C) 2003-2004 Frederico Caldeira Knabben
+ *
+ * Licensed under the terms of the GNU Lesser General Public License:
+ * http://www.opensource.org/licenses/lgpl-license.php
+ *
+ * For further information visit:
+ * http://www.fckeditor.net/
+ *
+ * File Name: fck_select.html
+ * Select dialog window.
+ *
+ * Version: 2.0 RC3
+ * Modified: 2005-02-09 13:44:26
+ *
+ * File Authors:
+ * Frederico Caldeira Knabben (fredck@fckeditor.net)
+-->
+<html>
+ <head>
+ <title>Select Properties</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta content="noindex, nofollow" name="robots">
+ <script src="common/fck_dialog_common.js" type="text/javascript"></script>
+ <script type="text/javascript" src="fck_select/fck_select.js"></script>
+ <script type="text/javascript">
+
+var oEditor = window.parent.InnerDialogLoaded() ;
+
+// Gets the document DOM
+var oDOM = oEditor.FCK.EditorDocument ;
+
+var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
+
+var oListText ;
+var oListValue ;
+
+window.onload = function()
+{
+ // First of all, translate the dialog box texts
+ oEditor.FCKLanguageManager.TranslatePage(document) ;
+
+ oListText = document.getElementById( 'cmbText' ) ;
+ oListValue = document.getElementById( 'cmbValue' ) ;
+
+ if ( oActiveEl && oActiveEl.tagName == 'SELECT' )
+ {
+ GetE('txtName').value = oActiveEl.name ;
+ GetE('txtSelValue').value = oActiveEl.value ;
+ GetE('txtLines').value = GetAttribute( oActiveEl, 'size' ) ;
+ GetE('chkMultiple').checked = oActiveEl.multiple ;
+
+ // Load the actual options
+ for ( var i = 0 ; i < oActiveEl.options.length ; i++ )
+ {
+ var sText = oActiveEl.options[i].innerHTML ;
+ var sValue = oActiveEl.options[i].value ;
+
+ AddComboOption( oListText, sText, sText ) ;
+ AddComboOption( oListValue, sValue, sValue ) ;
+ }
+ }
+ else
+ oActiveEl = null ;
+
+ window.parent.SetOkButton( true ) ;
+}
+
+function Ok()
+{
+ var sSize = GetE('txtLines').value ;
+ if ( sSize == null || isNaN( sSize ) || sSize <= 1 )
+ sSize = '' ;
+
+ if ( !oActiveEl )
+ {
+ oActiveEl = oEditor.FCK.EditorDocument.createElement( 'SELECT' ) ;
+ oActiveEl = oEditor.FCK.InsertElementAndGetIt( oActiveEl ) ;
+ }
+
+ SetAttribute( oActiveEl, 'name' , GetE('txtName').value ) ;
+ SetAttribute( oActiveEl, 'size' , sSize ) ;
+ oActiveEl.multiple = ( sSize.length > 0 && GetE('chkMultiple').checked ) ;
+
+ // Remove all options.
+ while ( oActiveEl.options.length > 0 )
+ oActiveEl.remove(0) ;
+
+ // Add all available options.
+ for ( var i = 0 ; i < oListText.options.length ; i++ )
+ {
+ var sText = oListText.options[i].value ;
+ var sValue = oListValue.options[i].value ;
+ if ( sValue.length == 0 ) sValue = sText ;
+
+ var oOption = AddComboOption( oActiveEl, sText, sValue, oDOM ) ;
+
+ if ( sValue == GetE('txtSelValue').value )
+ {
+ SetAttribute( oOption, 'selected', 'selected' ) ;
+ oOption.selected = true ;
+ }
+ }
+
+ return true ;
+}
+
+ </script>
+ </head>
+ <body style='OVERFLOW: hidden' scroll='no'>
+ <table width="100%" height="100%">
+ <tr>
+ <td>
+ <table width="100%">
+ <tr>
+ <td nowrap><span fckLang="DlgSelectName">Name</span> </td>
+ <td width="100%" colSpan="2"><input id="txtName" style="WIDTH: 100%" type="text"></td>
+ </tr>
+ <tr>
+ <td nowrap><span fckLang="DlgSelectValue">Value</span> </td>
+ <td width="100%" colSpan="2"><input id="txtSelValue" style="WIDTH: 100%; BACKGROUND-COLOR: buttonface" type="text" readonly></td>
+ </tr>
+ <tr>
+ <td nowrap><span fckLang="DlgSelectSize">Size</span> </td>
+ <td nowrap><input id="txtLines" type="text" size="2" value=""> <span fckLang="DlgSelectLines">lines</span></td>
+ <td nowrap align="right"><input id="chkMultiple" name="chkMultiple" type="checkbox"><label for="chkMultiple" fckLang="DlgSelectChkMulti">Allow
+ multiple selections</label></td>
+ </tr>
+ </table>
+ <br>
+ <hr style="POSITION: absolute">
+ <span style="LEFT: 10px; POSITION: relative; TOP: -7px" class="BackColor"> <span fckLang="DlgSelectOpAvail">Available
+ Options</span> </span>
+ <table width="100%">
+ <tr>
+ <td width="50%"><span fckLang="DlgSelectOpText">Text</span><br>
+ <input id="txtText" style="WIDTH: 100%" type="text" name="txtText">
+ </td>
+ <td width="50%"><span fckLang="DlgSelectOpValue">Value</span><br>
+ <input id="txtValue" style="WIDTH: 100%" type="text" name="txtValue">
+ </td>
+ <td vAlign="bottom"><input onClick="Add();" type="button" fckLang="DlgSelectBtnAdd" value="Add"></td>
+ <td vAlign="bottom"><input onClick="Modify();" type="button" fckLang="DlgSelectBtnModify" value="Modify"></td>
+ </tr>
+ <tr>
+ <td rowSpan="2"><select id="cmbText" style="WIDTH: 100%" onChange="GetE('cmbValue').selectedIndex = this.selectedIndex;Select(this);"
+ size="5" name="cmbText"></select>
+ </td>
+ <td rowSpan="2"><select id="cmbValue" style="WIDTH: 100%" onChange="GetE('cmbText').selectedIndex = this.selectedIndex;Select(this);"
+ size="5" name="cmbValue"></select>
+ </td>
+ <td vAlign="top" colSpan="2">
+ </td>
+ </tr>
+ <tr>
+ <td vAlign="bottom" colSpan="2"><input style="WIDTH: 100%" onClick="Move(-1);" type="button" fckLang="DlgSelectBtnUp" value="Up">
+ <br>
+ <input style="WIDTH: 100%" onClick="Move(1);" type="button" fckLang="DlgSelectBtnDown"
+ value="Down">
+ </td>
+ </tr>
+ <TR>
+ <TD vAlign="bottom" colSpan="4"><INPUT onClick="SetSelectedValue();" type="button" fckLang="DlgSelectBtnSetValue" value="Set as selected value">
+ <input onClick="Delete();" type="button" fckLang="DlgSelectBtnDelete" value="Delete"></TD>
+ </TR>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
Property changes on: branches/unlabeled/unlabeled-1.2.2/admin/editor/cmseditor/editor/dialog/fck_select.html
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/admin/editor/cmseditor/editor/dialog/fck_find.html
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/admin/editor/cmseditor/editor/dialog/fck_find.html (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/admin/editor/cmseditor/editor/dialog/fck_find.html (revision 7698)
@@ -0,0 +1,163 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!--
+ * FCKeditor - The text editor for internet
+ * Copyright (C) 2003-2004 Frederico Caldeira Knabben
+ *
+ * Licensed under the terms of the GNU Lesser General Public License:
+ * http://www.opensource.org/licenses/lgpl-license.php
+ *
+ * For further information visit:
+ * http://www.fckeditor.net/
+ *
+ * File Name: fck_find.html
+ * "Find" dialog window.
+ *
+ * Version: 2.0 RC3
+ * Modified: 2005-02-09 13:52:09
+ *
+ * File Authors:
+ * Frederico Caldeira Knabben (fredck@fckeditor.net)
+-->
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta content="noindex, nofollow" name="robots">
+ <script type="text/javascript">
+
+var oEditor = window.parent.InnerDialogLoaded() ;
+
+function OnLoad()
+{
+ // Whole word is available on IE only.
+ if ( oEditor.FCKBrowserInfo.IsIE )
+ document.getElementById('divWord').style.display = '' ;
+
+ // First of all, translate the dialog box texts.
+ oEditor.FCKLanguageManager.TranslatePage( document ) ;
+
+ window.parent.SetAutoSize( true ) ;
+}
+
+function btnStat(frm)
+{
+ document.getElementById('btnFind').disabled =
+ ( document.getElementById('txtFind').value.length == 0 ) ;
+}
+
+function ReplaceTextNodes( parentNode, regex, replaceValue, replaceAll )
+{
+ for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
+ {
+ var oNode = parentNode.childNodes[i] ;
+ if ( oNode.nodeType == 3 )
+ {
+ var sReplaced = oNode.nodeValue.replace( regex, replaceValue ) ;
+ if ( oNode.nodeValue != sReplaced )
+ {
+ oNode.nodeValue = sReplaced ;
+ if ( ! replaceAll )
+ return true ;
+ }
+ }
+ else
+ {
+ if ( ReplaceTextNodes( oNode, regex, replaceValue ) )
+ return true ;
+ }
+ }
+ return false ;
+}
+
+function GetRegexExpr()
+{
+ if ( document.getElementById('chkWord').checked )
+ var sExpr = '\\b' + document.getElementById('txtFind').value + '\\b' ;
+ else
+ var sExpr = document.getElementById('txtFind').value ;
+
+ return sExpr ;
+}
+
+function GetCase()
+{
+ return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
+}
+
+var oRange = oEditor.FCK.EditorDocument.body.createTextRange() ;
+
+function Ok()
+{
+ if ( document.getElementById('txtFind').value.length == 0 )
+ return ;
+
+ if ( oEditor.FCKBrowserInfo.IsIE )
+ FindIE() ;
+ else
+ FindGecko() ;
+}
+
+function FindIE()
+{
+ var iFlags = 0 ;
+
+ if ( chkCase.checked )
+ iFlags = iFlags | 4 ;
+
+ if ( chkWord.checked )
+ iFlags = iFlags | 2 ;
+
+ var bFound = oRange.findText( document.getElementById('txtFind').value, 1, iFlags ) ;
+
+ if ( bFound )
+ {
+ oRange.scrollIntoView() ;
+ oRange.select() ;
+ oRange.collapse(false) ;
+ oLastRangeFound = oRange ;
+ }
+ else
+ {
+ oRange = oEditor.FCK.EditorDocument.body.createTextRange() ;
+ alert( oEditor.FCKLang.DlgFindNotFoundMsg ) ;
+ }
+}
+
+function FindGecko()
+{
+ var bCase = document.getElementById('chkCase').checked ;
+ var bWord = document.getElementById('chkWord').checked ;
+
+ // window.find( searchString, caseSensitive, backwards, wrapAround, wholeWord, searchInFrames, showDialog ) ;
+ oEditor.FCK.EditorWindow.find( document.getElementById('txtFind').value, bCase, false, false, bWord, false, false ) ;
+
+}
+ </script>
+ </head>
+ <body onLoad="OnLoad()" scroll="no" style="OVERFLOW: hidden">
+ <table cellSpacing="3" cellPadding="2" width="100%" border="0">
+ <tr>
+ <td nowrap>
+ <label for="txtFind" fckLang="DlgReplaceFindLbl">Find what:</label>
+ </td>
+ <td width="100%">
+ <input id="txtFind" onKeyUp="btnStat(this.form)" style="WIDTH: 100%" tabIndex="1" type="text">
+ </td>
+ <td>
+ <input id="btnFind" style="WIDTH: 100%; PADDING-RIGHT: 5px; PADDING-LEFT: 5px" disabled
+ onclick="Ok();" type="button" value="Find" fckLang="DlgFindFindBtn">
+ </td>
+ </tr>
+ <tr>
+ <td valign="bottom" colSpan="3">
+ <input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgReplaceCaseChk">Match
+ case</label>
+ <br>
+ <div id="divWord" style="DISPLAY: none">
+ <input id="chkWord" tabIndex="4" type="checkbox"><label for="chkWord" fckLang="DlgReplaceWordChk">Match
+ whole word</label>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
Property changes on: branches/unlabeled/unlabeled-1.2.2/admin/editor/cmseditor/editor/dialog/fck_find.html
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/kernel/utility/formatters/unit_formatter.php
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/kernel/utility/formatters/unit_formatter.php (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/kernel/utility/formatters/unit_formatter.php (revision 7698)
@@ -0,0 +1,84 @@
+<?php
+
+class kUnitFormatter extends kFormatter {
+
+ function PrepareOptions($field_name, &$field_options, &$object)
+ {
+ if( !isset($field_options['master_field']) )
+ {
+ $regional =& $this->Application->recallObject('lang.current');
+ $add_fields = Array();
+ $options_a = Array('type' => 'int','error_field' => $field_name,'master_field' => $field_name,'format' => '%d' );
+ $options_b = Array('type' => 'double','error_field' => $field_name,'master_field' => $field_name,'format' => '%0.2f' );
+ switch( $regional->GetDBField('UnitSystem') )
+ {
+ case 2: // US/UK
+ $field_options_copy = $field_options;
+ unset($field_options_copy['min_value_exc']);
+ $add_fields[$field_name.'_a'] = array_merge_recursive2($field_options_copy, $options_a);
+ $add_fields[$field_name.'_b'] = array_merge_recursive2($field_options_copy, $options_b);
+ break;
+ default:
+ }
+ $add_fields = array_merge_recursive2($add_fields, $object->VirtualFields);
+ $object->setVirtualFields($add_fields);
+ }
+ }
+
+ function UpdateMasterFields($field, $value, &$options, &$object)
+ {
+ if( !isset($options['master_field']) )
+ {
+ $regional =& $this->Application->recallObject('lang.current');
+ switch( $regional->GetDBField('UnitSystem') )
+ {
+ case 2: // US/UK
+ $major = $this->TypeCast($object->GetDBField($field.'_a'), $options);
+ $minor = $this->TypeCast($object->GetDBField($field.'_b'), $options);
+ if($major === '' && $minor === '')
+ {
+ $value = null;
+ }
+ elseif($major === null && $minor === null)
+ {
+ unset($object->Fields[$field]);
+ return;
+ }
+ else
+ {
+ $value = Pounds2Kg($major, $minor);
+ }
+ break;
+ default:
+ }
+ $object->SetDBField($field, $value);
+ }
+ }
+
+ function UpdateSubFields($field, $value, &$options, &$object)
+ {
+ if( !isset($options['master_field']) )
+ {
+ $regional =& $this->Application->recallObject('lang.current');
+ switch( $regional->GetDBField('UnitSystem') )
+ {
+ case 2: // US/UK
+ if($value === null)
+ {
+ $major = null;
+ $minor = null;
+ }
+ else
+ {
+ list($major,$minor) = Kg2Pounds($value);
+ /*$major = floor( $value / 0.5 );
+ $minor = ($value - $major * 0.5) * 32;*/
+ }
+ $object->SetDBField($field.'_a', $major);
+ $object->SetDBField($field.'_b', $minor);
+ break;
+ default:
+ }
+ }
+ }
+}
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/kernel/utility/formatters/unit_formatter.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/units/general/helpers/themes_helper.php
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/units/general/helpers/themes_helper.php (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/units/general/helpers/themes_helper.php (revision 7698)
@@ -0,0 +1,192 @@
+<?php
+
+ class kThemesHelper extends kHelper {
+
+ /**
+ * Where all themes are located
+ *
+ * @var string
+ */
+ var $themesFolder = '';
+
+ /**
+ * Temporary array when all theme files from db are stored
+ *
+ * @var Array
+ */
+ var $themeFiles = Array ();
+
+ function kThemesHelper()
+ {
+ parent::kHelper();
+ $this->themesFolder = FULL_PATH.'/themes';
+ }
+
+ /**
+ * Updates file system changes to database for selected theme
+ *
+ * @param string $theme_name
+ *
+ * @return mixed returns ID of created/used theme or false, if none created
+ */
+ function refreshTheme($theme_name)
+ {
+ if (!file_exists($this->themesFolder.'/'.$theme_name)) {
+ // requested theme was not found on hdd
+ return false;
+ }
+
+ $id_field = $this->Application->getUnitOption('theme', 'IDField');
+ $table_name = $this->Application->getUnitOption('theme', 'TableName');
+
+ $sql = 'SELECT '.$id_field.'
+ FROM '.$table_name.'
+ WHERE Name = '.$this->Conn->qstr($theme_name);
+ $theme_id = $this->Conn->GetOne($sql);
+
+ $this->themeFiles = Array ();
+ if ($theme_id) {
+ // reset found mark for every themes file (if theme is not new)
+ $sql = 'UPDATE '.TABLE_PREFIX.'ThemeFiles
+ SET FileFound = 0
+ WHERE ThemeId = '.$theme_id;
+ $this->Conn->Query($sql);
+
+ // get all theme files from db
+ $sql = 'SELECT FileId, CONCAT(FilePath, "/", FileName) AS FullPath
+ FROM '.TABLE_PREFIX.'ThemeFiles
+ WHERE ThemeId = '.$theme_id;
+ $this->themeFiles = $this->Conn->GetCol($sql, 'FullPath');
+ }
+ else {
+ // theme was not found in db, but found on hdd -> create new
+ $fields_hash = Array (
+ 'Name' => $theme_name,
+ 'Enabled' => 0,
+ 'Description' => $theme_name,
+ 'PrimaryTheme' => 0,
+ 'CacheTimeout' => 3600, // not in use right now
+ 'StylesheetId' => 0, // not in use right now
+ );
+ $this->Conn->doInsert($fields_hash, $table_name);
+ $theme_id = $this->Conn->getInsertID();
+ }
+
+ $theme_path = $this->themesFolder.'/'.$theme_name;
+ $this->FindThemeFiles('', $theme_path, $theme_id); // search from base theme directory
+
+ // delete file records from db, that were not found on hdd
+ $sql = 'DELETE FROM '.TABLE_PREFIX.'ThemeFiles
+ WHERE ThemeId = '.$theme_id.' AND FileFound = 0';
+ $this->Conn->Query($sql);
+
+ return $theme_id;
+ }
+
+ /**
+ * Searches for new templates (missing in db) in spefied folder
+ *
+ * @param string $folder_path subfolder of searchable theme
+ * @param string $theme_path theme path from web server root
+ * @param int $theme_id id of theme we are scanning
+ */
+ function FindThemeFiles($folder_path, $theme_path, $theme_id)
+ {
+ $fh = opendir($theme_path.$folder_path.'/');
+
+ while (($filename = readdir($fh))) {
+ if ($filename == '.' || $filename == '..') continue;
+
+ $full_path = $theme_path.$folder_path.'/'.$filename;
+ if (is_dir($full_path)) {
+ $this->FindThemeFiles($folder_path.'/'.$filename, $theme_path, $theme_id);
+ }
+ elseif (substr($filename, -4) == '.tpl') {
+ $file_path = $folder_path.'/'.$filename;
+
+ $file_id = isset($this->themeFiles[$file_path]) ? $this->themeFiles[$file_path] : false;
+ if ($file_id) {
+ // file was found in db & on hdd -> mark as existing
+ $sql = 'UPDATE '.TABLE_PREFIX.'ThemeFiles
+ SET FileFound = 1
+ WHERE FileId = '.$file_id;
+ $this->Conn->Query($sql);
+ }
+ else {
+ // file was found on hdd, but missing in db -> create new file record
+ $fields_hash = Array (
+ 'ThemeId' => $theme_id,
+ 'FileName' => $filename,
+ 'FilePath' => $folder_path,
+ 'Description' => '',
+ 'FileType' => 0, // 1 - built-in, 1 - custom (not in use right now)
+ 'FileFound' => 1,
+ );
+ $this->Conn->doInsert($fields_hash, TABLE_PREFIX.'ThemeFiles');
+ $this->themeFiles[$file_path] = $this->Conn->getInsertID();
+ }
+// echo 'FilePath: [<strong>'.$folder_path.'</strong>]; FileName: [<strong>'.$filename.'</strong>]; IsNew: [<strong>'.($file_id > 0 ? 'NO' : 'YES').'</strong>]<br />';
+ }
+
+ }
+ }
+
+ /**
+ * Updates file system changes to database for all themes (including new ones)
+ *
+ */
+ function refreshThemes()
+ {
+ $themes_found = Array();
+
+ $fh = opendir($this->themesFolder.'/');
+ while (($filename = readdir($fh))) {
+ if ($filename == '.' || $filename == '..' || $filename == 'CVS') continue;
+
+ if (is_dir($this->themesFolder.'/'.$filename)) {
+ $theme_id = $this->refreshTheme($filename);
+ if ($theme_id) {
+ $themes_found[] = $theme_id;
+ }
+ }
+ }
+
+ $id_field = $this->Application->getUnitOption('theme', 'IDField');
+ $table_name = $this->Application->getUnitOption('theme', 'TableName');
+
+ // if none themes found -> delete all from db OR delete all except of found themes
+ $sql = 'SELECT '.$id_field.'
+ FROM '.$table_name;
+ if ($themes_found) {
+ $sql .= ' WHERE '.$id_field.' NOT IN ('.implode(',', $themes_found).')';
+ }
+ $theme_ids = $this->Conn->GetCol($sql);
+ $this->deleteThemes($theme_ids);
+ }
+
+ /**
+ * Deletes themes with ids passed from db
+ *
+ * @param Array $theme_ids
+ */
+ function deleteThemes($theme_ids)
+ {
+ if (!$theme_ids) {
+ return ;
+ }
+
+ $id_field = $this->Application->getUnitOption('theme', 'IDField');
+ $table_name = $this->Application->getUnitOption('theme', 'TableName');
+
+ $sql = 'DELETE FROM '.$table_name.'
+ WHERE '.$id_field.' IN ('.implode(',', $theme_ids).')';
+ $this->Conn->Query($sql);
+
+ $sql = 'DELETE FROM '.TABLE_PREFIX.'ThemeFiles
+ WHERE '.$id_field.' IN ('.implode(',', $theme_ids).')';
+ $this->Conn->Query($sql);
+ }
+ }
+
+
+?>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/units/general/helpers/themes_helper.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/units/user_groups/user_groups_dbitem.php
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/units/user_groups/user_groups_dbitem.php (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/units/user_groups/user_groups_dbitem.php (revision 7698)
@@ -0,0 +1,29 @@
+<?php
+
+ class UserGroups_DBItem extends kDBItem
+ {
+ /**
+ * Returns part of SQL WHERE clause identifing the record, ex. id = 25
+ *
+ * @access public
+ * @param string $method Child class may want to know who called GetKeyClause, Load(), Update(), Delete() send its names as method
+ * @return void
+ * @see kDBItem::Load()
+ * @see kDBItem::Update()
+ * @see kDBItem::Delete()
+ */
+ function GetKeyClause($method=null, $keys_hash = null)
+ {
+ $table_info = $this->getLinkedInfo();
+ $keys_hash = Array(
+ $this->IDField => $this->ID,
+ $table_info['ForeignKey'] => $table_info['ParentId'],
+ );
+
+ return parent::GetKeyClause($method, $keys_hash);
+ }
+
+ }
+
+
+?>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/units/user_groups/user_groups_dbitem.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/no_permission.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/no_permission.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/no_permission.tpl (revision 7698)
@@ -0,0 +1,52 @@
+<inp2:m_include t="incs/header"/>
+
+<inp2:m_ParseBlock name="section_header" icon="icon46_banlist" title="!la_title_NoPermissions!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="adm" title_preset="no_permissions" module="in-portal" icon="icon46_banlist"/>
+
+<!-- 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('prev', '<inp2:m_phrase label="la_ToolTip_Back" escape="1"/>',
+ function() {
+ if (window.opener != null) {
+ window.close();
+ }
+ else {
+ history.back();
+ }
+ } ) );
+
+ a_toolbar.Render();
+ </script>
+
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <td height="400" valign="middle" align="left">
+ <center><b>No Permission</b></center><br />
+ <inp2:m_if check="m_IsDebugMode">
+ <inp2:m_if check="m_GetEquals" name="from_template" value="1">
+ Permissions Checked: <b><inp2:m_get name="perms"/></b><br />
+ Template: <b><inp2:m_get name="next_template"/></b><br />
+ Redirect From Tag: <b>yes</b><br />
+ <inp2:m_else/>
+ Section: <b><inp2:m_get name="section"/></b><br />
+ Event: <b><inp2:m_get name="main_prefix"/>:<inp2:m_get name="event_name"/></b><br />
+ Redirect From Tag: <b>no</b><br />
+ </inp2:m_if></b><br />
+ </inp2:m_if>
+ </td>
+ </tr>
+</table>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/no_permission.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/popups/translator.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/popups/translator.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/popups/translator.tpl (revision 7698)
@@ -0,0 +1,92 @@
+<inp2:m_RequireLogin perm_event="trans:OnLoad"/>
+<!--DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">-->
+<html>
+<head>
+<title>In-Portal :: Administration Panel</title>
+
+<meta http-equiv="content-type" content="text/html; charset=<inp2:trans_Field field="Charset"/>">
+<meta name="keywords" content="...">
+<meta name="description" content="...">
+<meta name="robots" content="all">
+<meta name="copyright" content="Copyright ® 2006 Test, Inc">
+<meta name="author" content="Intechnic Inc.">
+
+<inp2:m_base_ref/>
+
+<link rel="icon" href="img/favicon.ico" type="image/x-icon" />
+<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
+<link rel="stylesheet" rev="stylesheet" href="incs/style.css" type="text/css" />
+
+<script language="javascript" src="js/is.js"></script>
+<script language="javascript" src="js/script.js"></script>
+<script language="javascript" src="js/in-portal.js"></script>
+<script language="javascript" src="js/toolbar.js"></script>
+<script language="javascript" src="js/grid.js"></script>
+<script language="javascript">
+var t = '<inp2:m_get param="t"/>';
+var popups = '1';
+var multiple_windows = '1';
+var main_title = '<inp2:m_GetConfig var="Site_Name" escape="1"/>';
+var tpl_changed = 0;
+var base_url = '<inp2:m_BaseURL/>';
+var $base_path = '<inp2:m_GetConst name="BASE_PATH"/>';
+var img_path = '<inp2:m_TemplatesBase module="#MODULE#"/>/img/';
+
+var $use_popups = <inp2:m_if check="adm_UsePopups">true<inp2:m_else/>false</inp2:m_if>;
+var $use_toolbarlabels = <inp2:m_if check="adm_UseToolbarLabels">true<inp2:m_else/>false</inp2:m_if>;
+
+</script>
+</head>
+
+<inp2:m_include t="incs/blocks"/>
+<inp2:m_include t="incs/in-portal"/>
+
+<inp2:m_ParseBlock name="kernel_form"/>
+
+<body style="margin: 0px 8px 0px 8px; background-color: #fff;">
+
+<inp2:m_ParseBlock name="blue_bar" prefix="trans" title_preset="trans_edit" module="in-commerce"/>
+
+<!-- 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('trans','OnSaveAndClose');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ window.close();
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<input type="hidden" name="trans_prefix" value="<inp2:m_get var="trans_prefix"/>">
+<input type="hidden" name="trans_field" value="<inp2:m_get var="trans_field"/>">
+
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:m_ParseBlock name="inp_edit_hidden" prefix="trans" field="Language"/>
+
+ <inp2:m_ParseBlock name="subsection" title="!la_section_Translation!"/>
+ <inp2:m_ParseBlock name="inp_label" prefix="trans" title="!la_fld_Original!" field="Original"/>
+ <inp2:m_ParseBlock name="inp_edit_options" prefix="trans" field="SwitchLanguage" title="!la_fld_Language!" size="50" onchange="submit_event('trans', 'OnChangeLanguage')"/>
+
+ <inp2:m_if check="m_get" var="trans_multi_line" value="1">
+ <inp2:m_ParseBlock name="inp_edit_textarea" prefix="trans" field="Translation" title="!la_fld_Translation!" cols="50" rows="10"/>
+ <inp2:m_else/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="trans" field="Translation" title="!la_fld_Translation!" size="50"/>
+ </inp2:m_if>
+</table>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/popups/translator.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/tools/system_tools.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/tools/system_tools.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/tools/system_tools.tpl (revision 7698)
@@ -0,0 +1,28 @@
+<inp2:m_RequireLogin permissions="in-portal:service.view" system="1"/>
+<inp2:m_include t="incs/header"/>
+<inp2:m_ParseBlock name="section_header" icon="icon46_modules" title="!la_title_SystemTools!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="adm" title_preset="system_tools" module="in-portal" icon="icon46_modules"/>
+
+<inp2:m_DefineElement name="service_elem">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="text" style="width: 300px;">
+ <inp2:m_phrase label="$title"/>:
+ </td>
+ <td valign="top" width="100">
+ <input class="button" type="submit" name="events[adm][<inp2:m_param name="event_name"/>]" value="Go">
+ </td>
+ <td class="error"> </td>
+ </tr>
+</inp2:m_DefineElement>
+
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder" id="config_table">
+ <inp2:m_RenderElement name="service_elem" title="la_Service_ResetModRwCache" event_name="OnResetModRwCache"/>
+ <inp2:m_RenderElement name="service_elem" title="la_Service_ResetCMSMenuCache" event_name="OnResetCMSMenuCache"/>
+ <inp2:m_RenderElement name="service_elem" title="la_Service_ResetSections" event_name="OnResetSections"/>
+ <inp2:m_RenderElement name="service_elem" title="la_Service_ConfigCache" event_name="OnResetConfigsCache"/>
+ <inp2:m_RenderElement name="service_elem" title="la_Service_RebuildThemes" event_name="OnRebuildThemes"/>
+</table>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/tools/system_tools.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/email_messages_edit.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/email_messages_edit.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/email_messages_edit.tpl (revision 7698)
@@ -0,0 +1,46 @@
+<inp2:adm_SetPopupSize width="827" height="400"/>
+<inp2:m_RequireLogin permissions="in-portal:configure_lang.view" system="1"/>
+<inp2:m_include t="incs/header"/>
+<inp2:m_ParseBlock name="section_header" icon="icon46_conf_regional" title="!la_title_Regional!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="lang" title_preset="email_messages_edit" module="in-portal" icon="icon46_conf_regional"/>
+
+<!-- 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('emailmessages','<inp2:m_if prefix="emailmessages" function="PropertyEquals" property="ID" value="0"/>OnCreate<inp2:m_else/>OnUpdate<inp2:m_endif/>');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('emailmessages','OnCancel');
+ }
+ ) );
+
+ a_toolbar.Render();
+
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:lang_SaveWarning name="grid_save_warning"/>
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:m_ParseBlock name="subsection" title="!la_section_General!"/>
+ <inp2:m_ParseBlock name="inp_edit_hidden" prefix="emailmessages" field="LanguageId"/>
+ <inp2:m_ParseBlock name="inp_edit_hidden" prefix="emailmessages" field="EventId"/>
+ <!-- <inp2:m_ParseBlock name="inp_label" prefix="emailmessages" field="Type" title="!la_fld_EventType!"/> -->
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="emailmessages" field="Subject" title="!la_fld_Subject!" size="60"/>
+ <inp2:m_ParseBlock name="inp_edit_radio" prefix="emailmessages" field="MessageType" title="!la_fld_MessageType!"/>
+ <inp2:m_ParseBlock name="inp_edit_textarea" prefix="emailmessages" field="Headers" title="!la_fld_ExtraHeaders!" rows="5" cols="60"/>
+ <inp2:m_ParseBlock name="subsection" title="!la_section_Message!"/>
+ <inp2:m_ParseBlock name="inp_edit_textarea" prefix="emailmessages" field="Body" title="!la_fld_MessageBody!" rows="20" cols="85"/>
+</table>
+
+<inp2:m_include t="incs/footer"/>
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/email_messages_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_export_step2.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_export_step2.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_export_step2.tpl (revision 7698)
@@ -0,0 +1,31 @@
+<inp2:m_RequireLogin permissions="in-portal:configure_lang.view" system="1"/>
+<inp2:m_include t="incs/header"/>
+<inp2:m_ParseBlock name="section_header" icon="icon46_conf_regional" title="!la_title_ExportLanguagePack!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="lang" title_preset="export_language_results" module="in-portal" icon="icon46_conf_regional"/>
+
+<!-- ToolBar --->
+
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:m_ParseBlock name="subsection" title="!la_section_General!"/>
+
+
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <td>
+ <inp2:m_phrase label="la_DownloadLanguageExport"/>
+ <td>
+ <a href="<inp2:lang_ExportPath as_url="1"/><inp2:m_get name="export_file"/>"><inp2:lang_ExportPath/><inp2:m_get name="export_file"/></a>
+ </td>
+ <td class="error"> </td>
+ </tr>
+
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <td colspan="3" align="left">
+ <a href="javascript:submit_event('lang','OnGoBack');"><inp2:m_phrase label="la_Continue"/></a>
+ </td>
+ </tr>
+
+
+</table>
+
+<inp2:m_include t="incs/footer"/>
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_export_step2.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_export.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_export.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_export.tpl (revision 7698)
@@ -0,0 +1,47 @@
+<inp2:m_RequireLogin permissions="in-portal:configure_lang.view" system="1"/>
+<inp2:m_include t="incs/header"/>
+<inp2:m_ParseBlock name="section_header" icon="icon46_conf_regional" title="!la_title_ExportLanguagePack!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="lang" title_preset="export_language" module="in-portal" icon="icon46_conf_regional"/>
+
+<!-- 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('lang','OnExportProgress');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('lang', 'OnGoBack');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:m_ParseBlock name="subsection" title="!la_section_General!"/>
+
+
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_ParseBlock name="inp_edit_field_caption" prefix="phrases.export" field="LangFile" title="la_fld_ExportFileName"/>
+ <td class="control-cell">
+ <inp2:lang_ExportPath/> <input type="text" name="<inp2:phrases.export_InputName field="LangFile"/>" id="<inp2:phrases.export_InputName field="LangFile"/>" value="<inp2:phrases.export_Field field="LangFile"/>" />
+ </td>
+ <td class="error-cell"><inp2:phrases.export_Error field="LangFile"/> </td>
+ </tr>
+
+ <inp2:m_ParseBlock name="inp_edit_checkboxes" use_phrases="1" prefix="phrases.export" field="PhraseType" title="!la_fld_ExportPhraseTypes!"/>
+ <inp2:m_ParseBlock name="inp_edit_checkboxes" no_empty="no_empty" prefix="phrases.export" field="Module" title="!la_fld_ExportModules!"/>
+ <inp2:m_ParseBlock name="inp_edit_checkbox" prefix="phrases.export" field="DoNotEncode" title="!la_fld_DoNotEncode!"/>
+</table>
+
+<inp2:m_include t="incs/footer"/>
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_export.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_edit.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_edit.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_edit.tpl (revision 7698)
@@ -0,0 +1,101 @@
+<inp2:adm_SetPopupSize width="850" height="600"/>
+<inp2:m_RequireLogin permissions="in-portal:configure_lang.view" system="1"/>
+<inp2:m_include t="incs/header"/>
+<inp2:m_ParseBlock name="section_header" icon="icon46_conf_regional" title="!la_title_LanguagePacks!"/>
+
+<inp2:m_include t="regional/languages_edit_tabs"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="lang" title_preset="languages_edit_general" module="in-portal" icon="icon46_conf_regional"/>
+
+<!-- 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('lang','<inp2:lang_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('lang','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('lang', '<inp2:lang_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('lang', '<inp2:lang_NextId/>');
+ }
+ ) );
+
+
+
+ a_toolbar.Render();
+
+ <inp2:m_if prefix="lang" function="IsSingle"/>
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ <inp2:m_else/>
+ <inp2:m_if prefix="lang" function="IsLast"/>
+ a_toolbar.DisableButton('next');
+ <inp2:m_endif/>
+ <inp2:m_if prefix="lang" function="IsFirst"/>
+ a_toolbar.DisableButton('prev');
+ <inp2:m_endif/>
+ <inp2:m_endif/>
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:lang_SaveWarning name="grid_save_warning"/>
+<div id="scroll_container">
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:m_ParseBlock name="subsection" title="!la_section_General!"/>
+ <inp2:m_ParseBlock name="inp_id_label" prefix="lang" field="LanguageId" title="!la_fld_LanguageId!"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="lang" field="PackName" title="!la_fld_PackName!"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="lang" field="LocalName" title="!la_fld_LocalName!"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="lang" field="Charset" title="!la_fld_Charset!"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="lang" field="IconURL" title="!la_fld_IconURL!"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="lang" field="DateFormat" title="!la_fld_DateFormat!"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="lang" field="TimeFormat" title="!la_fld_TimeFormat!"/>
+
+ <inp2:m_ParseBlock name="inp_edit_options" prefix="lang" field="InputDateFormat" title="!la_fld_InputDateFormat!"/>
+ <inp2:m_ParseBlock name="inp_edit_options" prefix="lang" field="InputTimeFormat" title="!la_fld_InputTimeFormat!"/>
+
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="lang" field="DecimalPoint" title="!la_fld_DecimalPoint!"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="lang" field="ThousandSep" title="!la_fld_ThousandSep!"/>
+ <inp2:m_ParseBlock name="inp_edit_checkbox" prefix="lang" field="PrimaryLang" title="!la_fld_PrimaryLang!"/>
+ <inp2:m_ParseBlock name="inp_edit_checkbox" prefix="lang" field="Enabled" title="!la_fld_Enabled!"/>
+ <inp2:m_ParseBlock name="inp_edit_options" prefix="lang" field="UnitSystem" title="!la_fld_UnitSystem!" use_phrases="1"/>
+ <inp2:m_if check="lang_IsNewMode">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="label-cell">
+ <inp2:m_phrase name="la_fld_CopyLabels"/>:
+ </td>
+ <td class="control-mid"> </td>
+ <td class="control-cell">
+ <input type="hidden" id="<inp2:lang_InputName field="CopyLabels"/>" name="<inp2:lang_InputName field="CopyLabels"/>" value="<inp2:lang_Field field="CopyLabels" db="db"/>">
+ <input tabindex="<inp2:m_get param="tab_index"/>" type="checkbox" id="_cb_CopyLabels" name="_cb_CopyLabels" <inp2:lang_Field field="CopyLabels" checked="checked" db="db"/> class="<inp2:m_param name="field_class"/>" onclick="update_checkbox(this, document.getElementById('<inp2:lang_InputName field="CopyLabels"/>'))">
+
+ <inp2:m_inc param="tab_index" by="1"/>
+ <select tabindex="<inp2:m_get param="tab_index"/>" name="<inp2:lang_InputName field="CopyFromLanguage"/>" id="<inp2:lang_InputName field="CopyFromLanguage"/>">
+ <option value="0">--<inp2:m_phrase name="la_prompt_Select_Source"/></option>
+ <inp2:lang_PredefinedOptions field="CopyFromLanguage" block="inp_option_item" selected="selected"/>
+ </select>
+ </td>
+ <td class="error-cell"> </td>
+ </tr>
+ </inp2:m_if>
+</table>
+</div>
+<inp2:m_include t="incs/footer"/>
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_import_step2.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_import_step2.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_import_step2.tpl (revision 7698)
@@ -0,0 +1,26 @@
+<inp2:m_RequireLogin permissions="in-portal:configure_lang.view" system="1"/>
+<inp2:m_include t="incs/header"/>
+<inp2:m_ParseBlock name="section_header" icon="icon46_conf_regional" title="!la_title_ImportLanguagePack!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="lang" title_preset="import_language_step2" module="in-portal" icon="icon46_conf_regional"/>
+
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:m_ParseBlock name="subsection" title="$title"/>
+
+ <tr>
+ <td align="middle">
+ <br />
+ <table class="tableborder_full" width="75%">
+ <tr border="1">
+ <td width="<inp2:m_param name="percent_done"/>%" class="progress_bar"> </td>
+ <td bgcolor=#FFFFFF width="<inp2:m_param name="percent_left"/>%"></td>
+ </tr>
+ </table>
+ <br />
+ <input type="submit" class="button" value="<inp2:m_phrase label="la_Cancel"/>" name="events[lang][OnImportCancel]" />
+ </TD>
+ </TR>
+
+</table>
+
+<inp2:m_include t="incs/footer"/>
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_import_step2.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_import.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_import.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_import.tpl (revision 7698)
@@ -0,0 +1,41 @@
+<inp2:m_RequireLogin permissions="in-portal:configure_lang.view" system="1"/>
+<inp2:m_include t="incs/header"/>
+<inp2:m_ParseBlock name="section_header" icon="icon46_conf_regional" title="!la_title_ImportLanguagePack!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="lang" title_preset="import_language" module="in-portal" icon="icon46_conf_regional"/>
+
+<!-- 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('lang','OnImportLanguage');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('lang', 'OnGoBack');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:m_ParseBlock name="subsection" title="!la_section_General!"/>
+
+ <inp2:m_ParseBlock name="inp_edit_upload" prefix="phrases.import" field="LangFile" title="!la_fld_LanguageFile!"/>
+
+ <inp2:m_ParseBlock name="inp_edit_checkboxes" use_phrases="1" prefix="phrases.import" field="PhraseType" title="!la_fld_InstallPhraseTypes!"/>
+ <inp2:m_ParseBlock name="inp_edit_checkbox" prefix="phrases.import" field="ImportOverwrite" hint_label="la_importlang_phrasewarning" title="la_prompt_overwritephrases"/>
+
+ <!-- <inp2:m_ParseBlock name="inp_edit_checkboxes" no_empty="no_empty" prefix="phrases.export" field="Module" title="!la_fld_InstallModules!" /> -->
+</table>
+
+<inp2:m_include t="incs/footer"/>
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/regional/languages_import.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/custom_fields/custom_fields_edit.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/custom_fields/custom_fields_edit.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/custom_fields/custom_fields_edit.tpl (revision 7698)
@@ -0,0 +1,90 @@
+<inp2:m_RequireLogin perm_event="cf:OnLoad" system="1"/>
+<inp2:m_include t="incs/header" nobody="yes"/>
+
+<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
+<inp2:m_ParseBlock name="section_header" prefix="cf" icon="icon46_settings_custom" title="!la_title_CustomFields!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="cf" title_preset="custom_fields_edit" module="in-portal" icon="icon46_settings_custom"/>
+
+<!-- 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('cf','<inp2:cf_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('cf','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('cf', '<inp2:cf_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('cf', '<inp2:cf_NextId/>');
+ }
+ ) );
+
+
+ a_toolbar.Render();
+
+ <inp2:m_if prefix="cf" function="IsSingle"/>
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ <inp2:m_else/>
+ <inp2:m_if prefix="cf" function="IsLast"/>
+ a_toolbar.DisableButton('next');
+ <inp2:m_endif/>
+ <inp2:m_if prefix="cf" function="IsFirst"/>
+ a_toolbar.DisableButton('prev');
+ <inp2:m_endif/>
+ <inp2:m_endif/>
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_ParseBlock name="inp_edit_hidden" prefix="cf" field="Type" db="db"/>
+
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:m_ParseBlock name="subsection" title="!la_section_General!"/>
+
+
+ <inp2:m_ParseBlock name="inp_id_label" prefix="cf" field="CustomFieldId" title="!la_prompt_FieldId!"/>
+
+
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="cf" field="FieldName" title="!la_prompt_FieldName!" size="40"/>
+
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="cf" field="FieldLabel" title="!la_prompt_FieldLabel!" size="40"/>
+
+ <inp2:m_ParseBlock name="subsection" title="!la_tab_AdminUI!"/>
+
+ <inp2:m_ParseBlock name="inp_edit_checkbox" prefix="cf" field="OnGeneralTab" title="!la_prompt_showgeneraltab!"/>
+
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="cf" field="Heading" title="!la_prompt_heading!" size="40"/>
+
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="cf" field="Prompt" title="!la_prompt_FieldPrompt!" size="40"/>
+
+ <inp2:m_ParseBlock name="inp_edit_options" prefix="cf" field="ElementType" title="!la_prompt_InputType!" size="20" use_phrases="1"/>
+
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="cf" field="ValueList" title="!la_prompt_valuelist!" size="40"/>
+
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="cf" field="DisplayOrder" title="!la_field_displayorder!" size="10"/>
+
+ <inp2:m_if check="m_IsDebugMode">
+ <inp2:m_ParseBlock name="inp_edit_checkbox" prefix="cf" field="IsSystem" title="!la_fld_IsSystem!"/>
+ </inp2:m_if>
+
+</table>
+
+<inp2:m_include t="incs/footer"/>
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/custom_fields/custom_fields_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/custom_fields/custom_fields_list.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/custom_fields/custom_fields_list.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/custom_fields/custom_fields_list.tpl (revision 7698)
@@ -0,0 +1,69 @@
+<inp2:m_RequireLogin perm_event="cf:OnLoad" system="1"/>
+<inp2:m_include t="incs/header" nobody="yes"/>
+
+<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
+<inp2:m_ParseBlock name="section_header" prefix="cf" icon="icon46_settings_custom" title="!la_tab_ConfigCustom!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="cf" title_preset="custom_fields_list" icon="icon46_settings_custom"/>
+
+<!-- ToolBar --->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ //do not rename - this function is used in default grid for double click!
+ function edit()
+ {
+ std_edit_item('cf', 'in-portal/custom_fields/custom_fields_edit');
+ }
+
+ var a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('new_item', '<inp2:m_phrase label="la_ToolTip_New_CustomField" escape="1"/>',
+ function() {
+ std_precreate_item('cf', 'in-portal/custom_fields/custom_fields_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('cf')
+ } ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+ <inp2:m_if check="m_isDebugMode">
+
+ a_toolbar.AddButton( new ToolBarButton('clone', '<inp2:m_phrase label="la_ToolTip_Clone" escape="1"/>',
+ function() {
+ submit_event('cf', 'OnMassClone')
+ } ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+ </inp2:m_if>
+ a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
+ show_viewmenu(a_toolbar,'view');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_block name="cf_grid_data_td" />
+ <td valign="top" class="text"><inp2:$PrefixSpecial_field field="$field" grid="$grid" no_special="no_special" as_label="1" /></td>
+<inp2:m_blockend />
+
+
+<inp2:m_block name="preview" />
+ <inp2:m_ParseBlock name="preview_td" PrefixSpecial="$PrefixSpecial" field="$field" type="auto" max_width="100" max_height="100"/>
+<inp2:m_blockend />
+
+<inp2:m_ParseBlock name="grid" PrefixSpecial="cf" IdField="CustomFieldId" grid="Default" header_block="grid_column_title" data_block="grid_data_td" search="on"/>
+<script type="text/javascript">
+ Grids['cf'].SetDependantToolbarButtons( new Array('edit','delete', 'clone') );
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/custom_fields/custom_fields_list.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/user_edit_password.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/user_edit_password.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/user_edit_password.tpl (revision 7698)
@@ -0,0 +1,40 @@
+<inp2:adm_SetPopupSize width="564" height="377"/>
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" section="proj-base:users" pagination="0" prefix="u" title_preset="admins_edit"/>
+
+<!-- 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('u','<inp2:u_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ cancel_edit('u','OnCancelEdit','<inp2:u_SaveEvent/>','<inp2:m_Phrase label="la_FormCancelConfirmation" escape="1"/>');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:u_SaveWarning name="grid_save_warning"/>
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:m_ParseBlock name="subsection" title="!la_section_General!"/>
+ <inp2:m_ParseBlock name="inp_id_label" prefix="u" field="PortalUserId" title="!la_fld_Id!"/>
+ <inp2:m_ParseBlock name="inp_label" prefix="u" field="Login" title="la_fld_Username"/>
+ <inp2:m_ParseBlock name="inp_edit_password" prefix="u" field="Password" title="la_fld_Password"/>
+ <inp2:m_ParseBlock name="inp_edit_password" prefix="u" field="VerifyPassword" title="la_fld_VerifyPassword"/>
+ <inp2:m_ParseBlock name="inp_label" prefix="u" field="FirstName" title="la_fld_FirstName"/>
+ <inp2:m_ParseBlock name="inp_label" prefix="u" field="LastName" title="la_fld_LastName"/>
+ <inp2:m_ParseBlock name="inp_label" prefix="u" field="Email" title="la_fld_Email"/>
+</table>
+
+<inp2:m_include t="incs/footer"/>
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/user_edit_password.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/users_edit.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/users_edit.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/users_edit.tpl (revision 7698)
@@ -0,0 +1,75 @@
+<inp2:adm_SetPopupSize width="564" height="352"/>
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" section="proj-base:users" pagination="0" prefix="u" title_preset="admins_edit"/>
+<!-- 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('u','<inp2:u_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ cancel_edit('u','OnCancelEdit','<inp2:u_SaveEvent/>','<inp2:m_Phrase label="la_FormCancelConfirmation" escape="1"/>');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarButton('reset_edit', '<inp2:m_phrase label="la_ToolTip_Reset" escape="1"/>', function() {
+ reset_form('u', 'OnReset', '<inp2:m_Phrase label="la_FormResetConfirmation" escape="1"/>');
+ }
+ ) );
+
+ 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('u', '<inp2:u_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('u', '<inp2:u_NextId/>');
+ }
+ ) );
+
+
+
+ a_toolbar.Render();
+
+ <inp2:m_if prefix="u" function="IsSingle"/>
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ <inp2:m_else/>
+ <inp2:m_if prefix="u" function="IsLast"/>
+ a_toolbar.DisableButton('next');
+ <inp2:m_endif/>
+ <inp2:m_if prefix="u" function="IsFirst"/>
+ a_toolbar.DisableButton('prev');
+ <inp2:m_endif/>
+ <inp2:m_endif/>
+ </script>
+ </td>
+ <inp2:m_RenderElement name="ml_selector" prefix="u"/>
+ </tr>
+</tbody>
+</table>
+
+<inp2:u_SaveWarning name="grid_save_warning"/>
+<inp2:u_ErrorWarning name="form_error_warning"/>
+<div id="scroll_container">
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:m_ParseBlock name="subsection" title="!la_section_General!"/>
+ <inp2:m_ParseBlock name="inp_id_label" prefix="u" field="PortalUserId" title="!la_fld_Id!"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="u" field="Login" title="la_fld_Username"/>
+ <inp2:m_ParseBlock name="inp_edit_password" prefix="u" field="Password" title="la_fld_Password"/>
+ <inp2:m_ParseBlock name="inp_edit_password" prefix="u" field="VerifyPassword" title="la_fld_VerifyPassword"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="u" field="FirstName" title="la_fld_FirstName"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="u" field="LastName" title="la_fld_LastName"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="u" field="Email" title="la_fld_Email"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="u" field="Country" title="la_fld_Country"/>
+</table>
+</div>
+
+<inp2:m_include t="incs/footer"/>
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/users_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/root_edit_password.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/root_edit_password.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/root_edit_password.tpl (revision 7698)
@@ -0,0 +1,36 @@
+<inp2:adm_SetPopupSize width="564" height="377"/>
+<inp2:m_include t="incs/header"/>
+<inp2:m_set u_id="-1"/>
+<inp2:m_RenderElement name="combined_header" section="proj-base:admins" pagination="0" prefix="u" title_preset="root_edit"/>
+
+<!-- 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('u','OnUpdateRootPassword');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ window.close();
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:u_SaveWarning name="grid_save_warning"/>
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:m_ParseBlock name="subsection" title="!la_section_General!"/>
+ <inp2:m_ParseBlock name="inp_edit_password" prefix="u" field="RootPassword" title="la_fld_Password"/>
+ <inp2:m_ParseBlock name="inp_edit_password" prefix="u" field="VerifyRootPassword" title="la_fld_VerifyPassword"/>
+</table>
+
+<inp2:m_include t="incs/footer"/>
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/root_edit_password.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/admins_edit.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/admins_edit.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/admins_edit.tpl (revision 7698)
@@ -0,0 +1,75 @@
+<inp2:adm_SetPopupSize width="564" height="352"/>
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" section="proj-base:admins" pagination="0" prefix="u" title_preset="admins_edit"/>
+
+<!-- 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('u','<inp2:u_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ cancel_edit('u','OnCancelEdit','<inp2:u_SaveEvent/>','<inp2:m_Phrase label="la_FormCancelConfirmation" escape="1"/>');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarButton('reset_edit', '<inp2:m_phrase label="la_ToolTip_Reset" escape="1"/>', function() {
+ reset_form('u', 'OnReset', '<inp2:m_Phrase label="la_FormResetConfirmation" escape="1"/>');
+ }
+ ) );
+
+ 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('u', '<inp2:u_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('u', '<inp2:u_NextId/>');
+ }
+ ) );
+
+
+
+ a_toolbar.Render();
+
+ <inp2:m_if prefix="u" function="IsSingle"/>
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ <inp2:m_else/>
+ <inp2:m_if prefix="u" function="IsLast"/>
+ a_toolbar.DisableButton('next');
+ <inp2:m_endif/>
+ <inp2:m_if prefix="u" function="IsFirst"/>
+ a_toolbar.DisableButton('prev');
+ <inp2:m_endif/>
+ <inp2:m_endif/>
+ </script>
+ </td>
+ <inp2:m_RenderElement name="ml_selector" prefix="u"/>
+ </tr>
+</tbody>
+</table>
+
+<inp2:u_SaveWarning name="grid_save_warning"/>
+<inp2:u_ErrorWarning name="form_error_warning"/>
+<input type="hidden" name="user_group" value="11"/>
+<div id="scroll_container">
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:m_ParseBlock name="inp_id_label" prefix="u" field="PortalUserId" title="!la_fld_Id!"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="u" field="Login" title="la_fld_Username"/>
+ <inp2:m_ParseBlock name="inp_edit_password" prefix="u" field="Password" title="la_fld_Password"/>
+ <inp2:m_ParseBlock name="inp_edit_password" prefix="u" field="VerifyPassword" title="la_fld_VerifyPassword"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="u" field="FirstName" title="la_fld_FirstName"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="u" field="LastName" title="la_fld_LastName"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="u" field="Email" title="la_fld_Email"/>
+</table>
+</div>
+
+<inp2:m_include t="incs/footer"/>
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/users/admins_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_general.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_general.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_general.tpl (revision 7698)
@@ -0,0 +1,125 @@
+<inp2:m_RequireLogin perm_event="conf:OnLoad" system="1"/>
+<inp2:m_include t="incs/header" nobody="yes"/>
+
+<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
+
+<inp2:m_ParseBlock name="section_header" prefix="conf" icon="icon46_settings_general" title="!la_tab_ConfigGeneral!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="conf" title_preset="config_list_general" icon="icon46_settings_general"/>
+
+
+<!-- ToolBar --->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+
+ function ValidatePassFld(fieldId){
+ var passFld=document.getElementById(fieldId);
+ var passVerifyFld=document.getElementById('verify_'+fieldId);
+ if (passFld && passVerifyFld && passFld.value == passVerifyFld.value) {
+ return true;
+ }
+ else {
+ var passErrorCell=document.getElementById('error_'+fieldId);
+ if (passErrorCell){
+ passErrorCell.innerHTML='<inp2:m_phrase name="la_error_PasswordMatch" />';
+ }
+ return false;
+ }
+ }
+
+ function ValidatePassFields(){
+ var el=false;
+ var validated=true;
+ for (var i=0; i<document.forms.kernel_form.elements.length; i++){
+ el=document.forms.kernel_form.elements[i];
+ if (el.getAttribute('primarytype')=='password'){
+ if (!ValidatePassFld(el.id)){
+ validated=false;
+ }
+ }
+ }
+ return validated;
+ }
+
+ function toggle_section($label) {
+ var $table = document.getElementById('config_table');
+ var $row = null;
+ var $is_visible = false;
+
+ for (var $i = 0; $i < $table.rows.length; $i++) {
+ $row = $table.rows[$i];
+ if ($row.getAttribute('header_label') != $label) {
+ continue;
+ }
+
+ if (!$row.style.display) {
+ $row.style.display = document.all ? 'block' : 'table-row';
+ }
+
+ $is_visible = !($row.style.display == 'none');
+ $row.style.display = $is_visible ? 'none' : (document.all ? 'block' : 'table-row');
+
+ document.getElementById('toggle_mark['+$label+']').innerHTML = '[' + ($is_visible ? '+' : '-') + ']';
+ }
+ }
+
+ var a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ if (ValidatePassFields()){
+ submit_event('conf','<inp2:conf_SaveEvent/>');
+ }
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('conf','OnCancel');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_include t="incs/config_blocks"/>
+
+<inp2:conf_SaveWarning name="grid_save_warning"/>
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder" id="config_table">
+ <!-- module root category selector: begin -->
+ <tr class="subsectiontitle">
+ <td colspan="2">
+ <inp2:m_phrase name="la_Text_RootCategory" />
+ </td>
+ <td align="right">
+ <a class="config-header" href="javascript:toggle_section('la_Text_RootCategory');" id="toggle_mark[la_Text_RootCategory]" title="Collapse/Expand Section">[-]</a>
+ </td>
+ </tr>
+
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>" header_label="la_Text_RootCategory">
+ <td>
+ <span class="text"><inp2:m_phrase name="la_prompt_RootCategory" /></span>
+ </td>
+ <td>
+ <inp2:m_DefineElement name="category_caption">
+ <inp2:m_if check="m_ParamEquals" name="cat_id" value="0" inverse="inverse">
+ <inp2:m_param name="separator"/>
+ </inp2:m_if>
+ <inp2:m_param name="cat_name"/>
+ </inp2:m_DefineElement>
+
+ <b><inp2:conf_CategoryPath separator=" > " render_as="category_caption" /></b>
+ <input type="hidden" name="conf[ModuleRootCategory][VariableValue]" value="<inp2:conf_ModuleRootCategory/>"/>
+ <a href="javascript:openSelector('conf', '<inp2:adm_SelectorLink prefix="conf" selection_mode="single" tab_prefixes="none"/>', 'ModuleRootCategory', '950x600');"><img src="img/icons/icon24_cat.gif" border="0" align="absmiddle" /></a>
+ </td>
+ <td class="error"> </td>
+ </tr>
+ <!-- module root category selector: end -->
+
+ <inp2:conf_PrintList block="config_block" per_page="-1" full_block="config_block" half_block1="config_block1" half_block2="config_block2"/>
+</table>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_general.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_search.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_search.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_search.tpl (revision 7698)
@@ -0,0 +1,133 @@
+<inp2:m_RequireLogin perm_event="confs:OnLoad" system="1"/>
+<inp2:m_include t="incs/header" nobody="yes"/>
+
+<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
+<inp2:m_ParseBlock name="section_header" prefix="confs" icon="icon46_settings_search" title="!la_tab_ConfigSearch!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="confs" title_preset="config_list_search" icon="icon46_settings_output"/>
+
+<!-- ToolBar --->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ var a_toolbar = new ToolBar();
+ <inp2:m_if check="m_IsDebugMode">
+ a_toolbar.AddButton( new ToolBarButton('new_item', '<inp2:m_phrase label="la_ToolTip_NewSearchConfig" escape="1"/>', function() {
+ std_new_item('confs', 'config/config_search_edit');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+ </inp2:m_if>
+
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('confs','<inp2:confs_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('confs','OnCancel');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_DefineElement name="confs_checkbox_td">
+ <td valign="top" class="text">
+
+ <inp2:m_if check="m_ParamEquals" name="nolabel" value="true">
+ <inp2:m_else />
+ <label for="_cb_<inp2:InputName field="$Field"/>"><inp2:m_Phrase label="$Label" /></label>
+ </inp2:m_if>
+
+ <input type="checkbox" name="_cb_<inp2:InputName field="$Field"/>" <inp2:Field field="$Field" checked="checked" db="db"/> id="_cb_<inp2:InputName field="$Field"/>" onclick="update_checkbox(this, document.getElementById('<inp2:InputName field="$Field"/>'))" >
+ <input type="hidden" id="<inp2:InputName field="$Field"/>" name="<inp2:InputName field="$Field"/>" value="<inp2:Field field="$Field" db="db"/>">
+ </td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="confs_edit_text">
+ <td valign="top" class="text">
+ <label for="<inp2:InputName field="$Field"/>"><inp2:m_Phrase label="$Label" /></label>
+ <input type="text" name="<inp2:InputName field="$Field"/>" value="<inp2:Field field="$Field"/>" size="3" />
+ </td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="confs_detail_row">
+ <inp2:m_if check="m_ParamEquals" name="show_heading" value="1">
+ <tr class="subsectiontitle">
+ <td colspan="4">
+ <inp2:Field name="ConfigHeader" as_label="1"/>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <td class="text">
+ <inp2:Field field="DisplayName" as_label="true" />
+ <inp2:m_if check="m_IsDebugMode">
+ <br /><small>[ID: <b><inp2:Field name="SearchConfigId"/></b>; DisplayOrder: <b><inp2:Field name="DisplayOrder"/></b>; Field: <b><inp2:Field name="FieldName"/></b>]</small>
+ </inp2:m_if>
+ </td>
+ <inp2:m_ParseBlock name="confs_checkbox_td" pass_params="true" IdField="SearchConfigId" Label="la_prompt_SimpleSearch" Field="SimpleSearch" />
+ <inp2:m_ParseBlock name="confs_edit_text" pass_params="true" IdField="SearchConfigId" Label="la_prompt_weight" Field="Priority" />
+ <inp2:m_ParseBlock name="confs_checkbox_td" pass_params="true" IdField="SearchConfigId" Label="la_prompt_AdvancedSearch" Field="AdvancedSearch" />
+ </tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="config_values">
+ <tr class="subsectiontitle">
+ <td colspan="4">
+ <inp2:m_phrase name="$module_item" /> <inp2:m_phrase name="la_prompt_relevence_settings" />
+ </td>
+ </tr>
+
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <td colspan="4">
+ <inp2:m_phrase name="la_prompt_required_field_increase"/>
+ <input type="text" size="3" name="conf[SearchRel_Increase_<inp2:m_param name="module_key" />][VariableValue]" VALUE="<inp2:Field field="SearchRel_Increase_{$module_key}" />">%
+ </td>
+ </tr>
+
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <td colspan="4">
+ <inp2:m_phrase name="la_prompt_relevence_percent"/>
+ <input type="text" size="3" name="conf[SearchRel_Keyword_<inp2:m_param name="module_key" />][VariableValue]" value="<inp2:Field field="SearchRel_Keyword_{$module_key}" />">% <inp2:Field field="SearchRel_Keyword_{$module_key}_prompt" as_label="1" />
+ <input type="text" size="3" name="conf[SearchRel_Pop_<inp2:m_param name="module_key" />][VariableValue]" value="<inp2:Field field="SearchRel_Pop_{$module_key}" />">% <inp2:Field field="SearchRel_Pop_{$module_key}_prompt" as_label="1" />
+ <input type="text" size="3" name="conf[SearchRel_Rating_<inp2:m_param name="module_key" />][VariableValue]" value="<inp2:Field field="SearchRel_Rating_{$module_key}" />">% <inp2:Field field="SearchRel_Rating_{$module_key}_prompt" as_label="1" />
+ </td>
+ </tr>
+
+ <inp2:m_if check="m_GetEquals" name="module" value="In-Portal" inverse="inverse">
+ <tr class="subsectiontitle">
+ <td colspan="4">
+ <inp2:m_phrase name="$module_item" /> <inp2:m_phrase name="la_prompt_multipleshow" />
+ </td>
+ </tr>
+
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <td class="text" width="120"><inp2:Field field="Search_ShowMultiple_{$module_key}_prompt" as_label="1"/></td>
+ <td class="text" colspan="3">
+ <input type="checkbox" name="_cb_conf[Search_ShowMultiple_<inp2:m_param name="module_key" />][VariableValue]" <inp2:Field field="Search_ShowMultiple_{$module_key}" checked="checked" db="db"/> id="_cb_conf[Search_ShowMultiple_<inp2:m_param name="module_key" />][VariableValue]" onclick="update_checkbox(this, document.getElementById('conf[Search_ShowMultiple_<inp2:m_param name="module_key" />][VariableValue]'))" >
+ <input type="hidden" id="conf[Search_ShowMultiple_<inp2:m_param name="module_key" />][VariableValue]" name="conf[Search_ShowMultiple_<inp2:m_param name="module_key" />][VariableValue]" value="<inp2:Field field="Search_ShowMultiple_{$module_key}" db="db"/>">
+ </td>
+ </tr>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder"<inp2:m_if check="conf_ShowRelevance"> style="border-bottom-width: 0px;"</inp2:m_if>>
+ <inp2:confs_PrintList render_as="confs_detail_row" />
+</table>
+
+<inp2:m_if check="conf_ShowRelevance">
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:conf_PrintConfList block="config_values" />
+</table>
+</inp2:m_if>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_search.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_email.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_email.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_email.tpl (revision 7698)
@@ -0,0 +1,63 @@
+<inp2:m_RequireLogin perm_event="emailevents:OnLoad" system="1"/>
+<inp2:m_include t="incs/header"/>
+<inp2:m_ParseBlock name="section_header" prefix="emailevents.module" icon="icon46_settings_email" title="!la_title_emailevents!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="emailevents.module" emailevents.module[grid]="Default" title_preset="email_settings_list" icon="icon46_settings_email"/>
+
+<!-- ToolBar --->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ //do not rename - this function is used in default grid for double click!
+ function edit()
+ {
+ openSelector('emailevents.module', '<inp2:m_t t="user_selector" pass="all,emailevents.module" escape="1"/>', 'FromUserId', null, 'OnSaveSelected');
+ }
+
+ var a_toolbar = new ToolBar();
+
+ a_toolbar.AddButton( new ToolBarButton('usertogroup', '<inp2:m_phrase label="la_ToolTip_SelectUser" escape="1"/>', edit
+ ) );
+
+
+ //a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('approve', '<inp2:m_phrase label="la_ToolTip_Enable" escape="1"/>', function() {
+ submit_event('emailevents.module','OnMassApprove');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarButton('decline', '<inp2:m_phrase label="la_ToolTip_Disable" escape="1"/>', function() {
+ submit_event('emailevents.module','OnMassDecline');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarButton('frontend_mail', '<inp2:m_phrase label="la_ToolTip_Email_FrontOnly" escape="1"/>', function() {
+ submit_event('emailevents.module','OnFrontOnly');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+
+ a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
+ show_viewmenu(a_toolbar,'view');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_ParseBlock name="grid" PrefixSpecial="emailevents.module" IdField="EventId" grid="EmailSettings" menu_filters="yes"/>
+<script type="text/javascript">
+ Grids['emailevents.module'].SetDependantToolbarButtons( new Array('frontend_mail','usertogroup','approve','decline') );
+</script>
+
+<input type="hidden" name="emailevents.module_PopupSelectedUser" value="">
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_email.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_search_edit.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_search_edit.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_search_edit.tpl (revision 7698)
@@ -0,0 +1,75 @@
+<inp2:m_RequireLogin perm_event="confs:OnLoad" system="1"/>
+<inp2:m_include t="incs/header" nobody="yes"/>
+
+<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF">
+<inp2:m_ParseBlock name="section_header" icon="icon46_settings_search" title="la_tab_ConfigSearch"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="confs" title_preset="configsearch_edit" module="in-portal" icon="icon46_settings_search"/>
+
+<!-- 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('confs','<inp2:confs_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('confs','OnGoBack');
+ }
+ ) );
+
+ 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('confs', '<inp2:confs_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('confs', '<inp2:confs_NextId/>');
+ }
+ ) );
+
+ a_toolbar.Render();
+
+ <inp2:m_if prefix="confs" function="IsSingle"/>
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ <inp2:m_else/>
+ <inp2:m_if prefix="confs" function="IsLast"/>
+ a_toolbar.DisableButton('next');
+ <inp2:m_endif/>
+ <inp2:m_if prefix="confs" function="IsFirst"/>
+ a_toolbar.DisableButton('prev');
+ <inp2:m_endif/>
+ <inp2:m_endif/>
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:confs_SaveWarning name="grid_save_warning"/>
+<table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder">
+ <inp2:m_ParseBlock name="subsection" title="!la_section_General!"/>
+
+ <inp2:m_ParseBlock name="inp_id_label" prefix="confs" field="SearchConfigId" title="la_fld_SearchConfigId"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="confs" field="TableName" title="la_fld_TableName"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="confs" field="FieldName" title="la_fld_FieldName"/>
+ <inp2:m_ParseBlock name="inp_edit_checkbox" prefix="confs" field="SimpleSearch" title="la_fld_SimpleSearch"/>
+ <inp2:m_ParseBlock name="inp_edit_checkbox" prefix="confs" field="AdvancedSearch" title="la_fld_AdvancedSearch"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="confs" field="Description" title="la_fld_Description"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="confs" field="DisplayName" title="la_fld_DisplayName"/>
+ <inp2:m_ParseBlock name="inp_edit_options" prefix="confs" field="ModuleName" title="la_fld_ModuleName"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="confs" field="ConfigHeader" title="la_fld_ConfigHeader"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="confs" field="DisplayOrder" title="la_fld_DisplayOrder"/>
+ <inp2:m_ParseBlock name="inp_edit_box" prefix="confs" field="Priority" title="la_fld_Priority"/>
+ <inp2:m_ParseBlock name="inp_edit_options" prefix="confs" field="FieldType" title="la_fld_FieldType"/>
+</table>
+
+<inp2:m_include t="incs/footer"/>
+
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/config/config_search_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/login.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/login.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/login.tpl (revision 7698)
@@ -0,0 +1,84 @@
+<inp2:m_include t="incs/header" nobody="yes" noform="yes"/>
+
+<body style="margin: 0px 8px 0px 8px; background-color: #fff;" text="#000000" style="height: 100%;" onLoad="document.getElementById($form_name).login.focus();">
+
+ <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 90%;">
+ <tr>
+ <td valign="middle" align="center">
+ <inp2:m_ParseBlock name="kernel_form"/>
+ <div align="center">
+ <img title="In-portal" src="img/globe.gif" width="84" height="82" border="0">
+ <img title="In-portal" src="img/logo.gif" width="150" height="82" border="0"><br />
+
+
+ <table border="0" cellpadding="2" cellspacing="0" class="tableborder" style="border-width: 1px;" width="222" height="30">
+ <tr>
+ <td align="right" valign="top" class="tablenav" width ="220" nowrap height="30" style="background: url(img/tabnav_left.gif);">
+ <span style="float: left;">
+ <img src="img/icons/icon24_lock_login.gif" width="16" height="22" alt="" border="0" align="absmiddle"> <inp2:m_phrase name="la_Login"/>
+ </span>
+ <a href="help/manual.pdf"><img src="img/blue_bar_help.gif" border="0"></a>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" bgcolor="#F0F0F0">
+ <table cellpadding="4" cellspacing="0" border="0">
+ <tr bgcolor="#F0F0F0">
+ <td class="text"><inp2:m_phrase name="la_Text_Login"/></td>
+ <td><input type="text" name="login" class="text" onkeypress="catchHotKeysA(event);"></td>
+ </tr>
+ <tr bgcolor="#F0F0F0">
+ <td class="text"><inp2:m_phrase name="la_prompt_Password"/></td>
+ <td><input type="password" name="password" class="text" onKeyPress="catchHotKeysA(event);"></td>
+ </tr>
+ <tr bgcolor="#F0F0F0">
+ <td colspan="2">
+ <div align="left">
+ <input type="submit" name="login_button" onclick="doLogin();" value="<inp2:m_phrase name="la_Login"/>" class="button">
+ <input type="reset" name="cancel_button" value="<inp2:m_phrase name="la_Cancel"/>" class="button">
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <inp2:m_if check="u.current_HasError" field="any">
+ <p class="error"><inp2:u.current_Error field="ValidateLogin"/></p>
+ </inp2:m_if>
+ </td>
+ </tr>
+ </table>
+ <input type="hidden" name="next_template" value="<inp2:m_if check="m_GetEquals" name="next_template" value="">index<inp2:m_else/><inp2:m_get var="next_template"/></inp2:m_if>">
+
+ <script type="text/javascript">
+ function doLogin()
+ {
+ submit_event('u', 'OnLogin');
+ }
+
+ function catchHotKeysA(e)
+ {
+ if (!e) return;
+ if (e.keyCode == 13) doLogin();
+ }
+
+ var a_parent = window.parent;
+ function redirect()
+ {
+ window.name = 'redirect';
+ var i = 0;
+ while (i < 10) {
+ if (window.parent.name == 'main_frame') break;
+ a_parent = window.parent;
+ i++;
+ }
+ page = '<inp2:m_t t="index" expired="1" escape="1" no_amp="1"/>'; // a_parent.location.href + '?expired=1';
+ if (i < 10) {
+ setTimeout('a_parent.location.href=page',100);
+ }
+ }
+ redirect();
+ </script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/login.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/modules/modules_list.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/modules/modules_list.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/modules/modules_list.tpl (revision 7698)
@@ -0,0 +1,56 @@
+<inp2:m_RequireLogin permissions="in-portal:mod_status.view" system="1"/>
+<inp2:m_include t="incs/header" />
+
+<inp2:m_ParseBlock name="section_header" icon="icon46_modules" title="!la_title_Module_Status!"/>
+
+<inp2:m_ParseBlock name="blue_bar" prefix="mod" title_preset="modules_list" module="in-portal" icon="icon46_modules"/>
+
+<!-- ToolBar --->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ //do not rename - this function is used in default grid for double click!
+ function edit()
+ {
+
+ }
+
+ var a_toolbar = new ToolBar();
+
+ a_toolbar.AddButton( new ToolBarButton('approve', '<inp2:m_phrase label="la_ToolTip_Enable" escape="1"/>', function() {
+ submit_event('mod','OnMassApprove');
+ }
+ ) );
+
+
+ a_toolbar.AddButton( new ToolBarButton('deny', '<inp2:m_phrase label="la_ToolTip_Disable" escape="1"/>', function() {
+ submit_event('mod','OnMassDecline');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
+ show_viewmenu(a_toolbar,'view');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_ParseBlock name="grid" PrefixSpecial="mod" IdField="Name" grid="Default" menu_filters="yes"/>
+<script type="text/javascript">
+ Grids['mod'].SetDependantToolbarButtons( new Array('approve','deny') );
+ <inp2:m_if check="m_GetEquals" name="RefreshTree" value="1">
+ var $tree_frame = getFrame('menu');
+ $tree_frame.location = $tree_frame.location;
+ </inp2:m_if>
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/modules/modules_list.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/install/upgrades.sql
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/install/upgrades.sql (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/install/upgrades.sql (revision 7698)
@@ -0,0 +1,13 @@
+# ===== v 1.3.5 =====
+SELECT * FROM Modules;
+SELECT Name FROM Modules;
+
+# ===== v 4.0.1 =====
+ALTER TABLE Modules ADD COLUMN NotCool VARCHAR(255);
+
+# ===== v 4.0.12 =====
+# multiline
+UPDATE Modules SET Name = 'dummy' WHERE Name = 'dummy';
+
+# ===== v 4.0.15 =====
+UPDATE Modules SET Name = 'dummy' WHERE Name = 'dummy';
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/install/upgrades.sql
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/install/step_templates/install_setup.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/install/step_templates/install_setup.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/install/step_templates/install_setup.tpl (revision 7698)
@@ -0,0 +1,56 @@
+<tr class="table_color2">
+ <td colspan="2">
+ In order to use the installation tool, please provide your Intechnic account information:
+ </td>
+</tr>
+<tr class="table_color2">
+ <td class="text">
+ <b>Username<span class="error">*</span>:</b>
+ </td>
+ <td width="80%">
+ <input type="text" name="login" value="" class="text" />
+ </td>
+</tr>
+<tr class="table_color2">
+ <td class="text">
+ <b>Password<span class="error">*</span>:</b>
+ </td>
+ <td>
+ <input type="password" name="password" class="text" />
+ </td>
+</tr>
+
+<?php
+ ob_start();
+?>
+<tr class="%4$s">
+ <td colspan="2">
+ <input type="radio" value="%1$s" name="next_preset" id="next_preset_%1$s"%2$s><label for="next_preset_%1$s">%3$s</label></span>
+ </td>
+</tr>
+<?php
+ $option_tpl = ob_get_clean();
+
+ $options = Array (
+ 'upgrade' => 'Upgrade In-Portal',
+ 1 => 'Clean out the In-Portal database and reinstall',
+ 4 => 'Clean out the In-Portal database and reinstall from backup',
+ 2 => 'Install to a new database',
+ 3 => 'Update License Information',
+ 'db_reconfig' => 'Change Database Configuration',
+ 'fix_paths' => 'Fix Paths',
+ );
+
+ $upgradable_modules = $this->GetUpgradableModules();
+ if (!$upgradable_modules) {
+ unset($options['upgrade']);
+ }
+
+ $td_class = 'table_color1';
+ foreach ($options as $option_key => $option_title) {
+ $checked = $this->GetVar('next_preset') == $option_key ? ' checked' : '';
+ echo sprintf($option_tpl, $option_key, $checked, $option_title, $td_class);
+ $td_class = ($td_class == 'table_color1') ? 'table_color2' : 'table_color1';
+ }
+
+?>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/install/step_templates/install_setup.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/install/step_templates/choose_modules.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/install/step_templates/choose_modules.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/install/step_templates/choose_modules.tpl (revision 7698)
@@ -0,0 +1,21 @@
+<?php
+ ob_start();
+?>
+<tr class="table_color2">
+ <td class="text" colspan="2" valign="middle">
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" name="modules[]" id="module_%1$s" value="%1$s"/></td>
+ <td><label for="module_%1$s">%1$s</label></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<?php
+ $module_tpl = ob_get_clean();
+
+ $modules = $this->ScanModules();
+ foreach ($modules as $module) {
+ echo sprintf($module_tpl, $module);
+ }
+?>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/install/step_templates/choose_modules.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/install/step_templates/upgrade_modules.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/install/step_templates/upgrade_modules.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/install/step_templates/upgrade_modules.tpl (revision 7698)
@@ -0,0 +1,31 @@
+<?php
+ ob_start();
+?>
+<tr class="table_color2">
+ <td class="text" colspan="2" valign="middle">
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td><input type="checkbox" name="modules[]" id="module_%1$s" value="%1$s"/></td>
+ <td><label for="module_%1$s">%2$s</label></td>
+ </tr>
+ </table>
+ </td>
+</tr>
+<?php
+ $module_tpl = ob_get_clean();
+
+ $modules = $this->GetUpgradableModules();
+ foreach ($modules as $module_name => $module_params) {
+ $module_title = $module_name.' ('.$module_params['Version'].' to '.$module_params['ToVersion'].')';
+ if ($this->Application->isDebugMode()) {
+ $module_title .= ' [from: '.$module_params['FromVersion'].']';
+ }
+ echo sprintf($module_tpl, $module_name, $module_title);
+ }
+?>
+<tr class="table_color1">
+ <td class="hint" colspan="2" valign="middle">
+ <img src="incs/img/icon_warning.gif" width="14" height="14" align="absmiddle" />
+ Your data will be modified during the upgrade. We strongly recommend that you make a backup of your database. Proceed with the upgrade ?
+ </td>
+</tr>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/install/step_templates/upgrade_modules.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.2/core/install/incs/style.css
===================================================================
--- branches/unlabeled/unlabeled-1.2.2/core/install/incs/style.css (nonexistent)
+++ branches/unlabeled/unlabeled-1.2.2/core/install/incs/style.css (revision 7698)
@@ -0,0 +1,213 @@
+html, body {
+ margin: 0;
+ padding: 0;
+ background: #FFFFFF;
+ color: #333333;
+ }
+
+ol.install-steps {
+ font: bold 12px verdana, sans-serif;
+ color: #fff;
+ line-height: 20px
+ }
+
+.install-steps li.current-step {
+ color: #005786
+}
+
+/*#nav {
+ margin-left: -1px;
+ text-align: center;
+ float: left
+}
+
+#content {
+ padding: 10px;
+ color: darkblue;
+ float: right
+}
+
+#header {
+ background-color: #fff;
+ color: #006;
+ border-bottom: 1px solid #006;
+ margin-bottom: 0px
+}
+*/
+
+.footer {
+ background-color: #FFFFFF;
+ color: #006;
+ border-top: 1px solid #006;
+ font-size: 11px;
+ text-align: right;
+ padding: 2px 10px 0 0;
+ clear: both;
+}
+
+p {
+ padding: 0;
+ margin-top: 0px;
+ font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Helvetica, Arial, sans-serif;
+}
+
+
+/*
+.spacer {clear: both}
+
+dd, dt {
+ font: 0.95em 'Lucida Grande', Verdana, Geneva, Lucida, Helvetica, Arial, sans-serif;
+}
+*/
+
+.head_version {
+ padding-right: 5px;
+ font-weight: normal;
+ font-size: 10px;
+ color: white;
+ font-family: verdana, arial;
+ text-decoration: none;
+}
+
+.admintitle, .admintitle-white {
+ font-weight: bold;
+ font-size: 20px;
+ color: #009FF0;
+ font-family: verdana, arial;
+ text-decoration: none;
+}
+
+.admintitle-white {
+ color: #fff
+}
+
+.subsectiontitle {
+ font-weight: bold;
+ font-size: 14px;
+ color: white;
+ font-family: verdana, arial;
+ background-color: #999999;
+ text-decoration: none;
+ height: 24px;
+}
+.subsectiontitle:hover {
+ font-weight: bold;
+ font-size: 14px;
+ color: #ffcc00;
+ font-family: verdana, arial;
+ background-color: #999999;
+ text-decoration: none;
+}
+
+.text {
+ font-weight: normal;
+ font-size: 12px;
+ font-family: verdana, arial;
+ text-decoration: none;
+}
+
+.toolbar {
+ border-right: #000000 1px solid;
+ border-top: #000000 0px solid;
+ font-size: 10pt;
+ border-left: #000000 1px solid;
+ border-bottom: #000000 1px solid;
+ font-family: Arial, Helvetica, sans-serif;
+ background-color: #F0F1EB;
+}
+
+.tableborder {
+ border-right: #000000 1px solid;
+ border-top: #000000 0px solid;
+ font-size: 10pt;
+ border-left: #000000 1px solid;
+ border-bottom: #000000 1px solid;
+ font-family: Arial, Helvetica, sans-serif;
+}
+
+.tableborder_full {
+ border-right: #000000 1px solid;
+ border-top: #000000 1px solid;
+ font-size: 10pt;
+ border-left: #000000 1px solid;
+ border-bottom: #000000 1px solid;
+ font-family: Arial, Helvetica, sans-serif;
+ background-image: url(img/tab_middle.gif);
+ background-repeat: repeat-x;
+}
+
+.tablenav {
+ font-weight: bold;
+ font-size: 14px;
+ color: white;
+ font-family: verdana, arial;
+ background-color: #73C4F5;
+ text-decoration: none;
+}
+
+.tablenav_link {
+ font-weight: bold;
+ font-size: 14px;
+ color: white;
+ font-family: verdana, arial;
+ text-decoration: none;
+}
+
+.tablenav_link:hover {
+ font-weight: bold;
+ font-size: 14px;
+ color: #FFCC00;
+ font-family: verdana, arial;
+ text-decoration: none;
+}
+
+/*.table_color1 {
+ font-weight: normal;
+ font-size: 14px;
+ color: black;
+ font-family: verdana, arial;
+ background-color: #F6F6F6;
+ text-decoration: none;
+}*/
+
+.table_color2 {
+ font-weight: normal;
+ font-size: 14px;
+ color: black;
+ font-family: verdana, arial;
+ background-color: #EBEBEB;
+ text-decoration: none;
+}
+
+.error {
+ font-weight: bold;
+ font-size: 9pt;
+ color: #ff0000;
+ font-family: Arial, Helvetica, sans-serif;
+}
+
+.button {
+ font-weight: normal;
+ font-size: 12px;
+ background: url(img/button_back.gif) #F9EEAE repeat-x;
+ color: black;
+ font-family: Arial, Verdana;
+ text-decoration: none;
+}
+
+td {
+ font-size: 10pt;
+ font-family: Verdana, Helvetica;
+ text-decoration: none;
+}
+
+.link {
+ cursor: pointer;
+}
+
+.hint {
+ font-size: 12px;
+ color: #666666;
+ font-style: normal;
+ font-family: Arial, Helvetica, sans-serif;
+}
Property changes on: branches/unlabeled/unlabeled-1.2.2/core/install/incs/style.css
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Event Timeline
Log In to Comment