Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Sat, Feb 1, 8:02 PM

in-portal

This file is larger than 256 KB, so syntax highlighting was skipped.
Index: trunk/kernel/parser.php
===================================================================
--- trunk/kernel/parser.php (revision 28)
+++ trunk/kernel/parser.php (revision 29)
@@ -1,3351 +1,3366 @@
<?php
$ItemTypes["category"]=1;
$ItemTables[1] = "Category";
$ParserFiles[] = "kernel/parser.php";
function m_ParseEnv($str = NULL)
{
global $m_var_list, $objConfig, $objCatList, $objLanguages, $objThemes;
if ($str != NULL)
{
$str = substr($str,1);
$pieces = explode("-", $str);
//echo "<PRE>";print_r($pieces);echo "</PRE>";
$m_var_list["cat"] = $pieces[0];
$m_var_list["p"] = $pieces[1];
$objCatList->Page = $m_var_list["p"];
$m_var_list["lang"] = $pieces[2];
$m_var_list["theme"] = $pieces[3];
}
else
{
$m_var_list["cat"]=0;
$m_var_list["p"] = 1;
$m_var_list["lang"] = $objLanguages->GetPrimary();
$m_var_list["theme"]= $objThemes->GetPrimaryTheme();
}
}
function m_BuildEnv()
{
global $m_var_list, $m_var_list_update, $objLanguages;
$str = ":m";
if( is_array($m_var_list_update) )
foreach($m_var_list_update as $m_var => $m_value)
if($m_value == '0') $m_var_list_update[$m_var] = '';
$str .= m_GetVar('cat');
if( isset($m_var_list_update['cat']) ) unset($m_var_list_update['cat']);
$str .= '-'.m_GetVar('p');
$str .= '-'.m_GetVar('lang');
$str .= '-'.m_GetVar('theme');
return $str;
}
function m_GetVar($name)
{
// get variable from template variable's list
global $m_var_list, $m_var_list_update;
return isset($m_var_list_update[$name]) ? $m_var_list_update[$name] : $m_var_list[$name];
}
function &LoadRelatedItems(&$Relations,&$RelatedItems,$ResourceId)
{
global $objItemTypes;
if(!is_object($Relations))
{
$Relations = new clsRelationshipList();
}
//$Relations->debuglevel = 2;
if ($ResourceId != '') {
$sql = sprintf("SELECT RelationshipId, Type, Enabled, Priority,
IF(TargetId = %1\$s, TargetId, SourceId) AS SourceId,
IF(TargetId = %1\$s, SourceId, TargetId) AS TargetId,
IF(TargetId = %1\$s, TargetType, SourceType) AS SourceType,
IF(TargetId = %1\$s, SourceType, TargetType) AS TargetType
FROM %%s", $ResourceId);
$where = "((SourceId=$ResourceId) OR (TargetId=$ResourceId AND Type=1)) AND Enabled=1";
$Relations->LoadRelated($where,"",$sql);
$ids = array();
if($Relations->NumItems()>0)
{
foreach($Relations->Items as $r)
{
if($r->Get("SourceId")==$ResourceId)
{
$ids[$r->Get("TargetType")][] = $r->Get("TargetId");
}
if($r->Get("TargetId")==$ResourceId && $r->Get("Type")==1)
{
$ids[$r->Get("SourceType")][] = $ResourceId;
}
}
foreach($ids as $ItemType=>$idlist)
{
$Item =& $objItemTypes->GetItem($ItemType);
$table = GetTablePrefix().$Item->Get("SourceTable");
if($ItemType!=1)
{
$cattable = GetTablePrefix()."CategoryItems";
$sql = "SELECT *,CategoryId FROM $table INNER JOIN $cattable ON ";
$sql .=" ($table.ResourceId=$cattable.ItemResourceId) WHERE $table.Status=1 AND PrimaryCat=1 ";
$sql .=" AND ResourceId IN (".implode(",",$ids[$ItemType]).")";
}
else
{
$sql = "SELECT *,CategoryId FROM $table ";
$sql .="WHERE $table.Status=1 ";
$sql .=" AND ResourceId IN (".implode(",",$ids[$ItemType]).")";
}
// echo $sql."<br>\n";
$RelatedItems->Query_Item($sql,-1,-1,$ItemType);
}
}
}
}
/*
@description: Inserts the html from a remote source
@attrib: _url:: Remote URL to include
@attrib: _StartPos:: Numeric start point of text to include, or string match
@attrib: _EndPos:: Numeric end point of text to include, or string match
@example: <inp:m_insert_url _Url="http://www.google.com" _StartPos="\<center\>" _EndPos="\</center\>" />
*/
function m_insert_url($attribs=array())
{
global $pathtoroot;
$url = $attribs["_url"];
$StartPos = $attribs["_startpos"];
$EndPos = $attribs["_endpos"];
$socket = new Socket($url,0,NULL);
$txt = $socket->socket_read_all();
$lines = explode("\n",$txt);
$txt = substr($txt,strpos($txt,"<"));
$tmp = strtolower($txt);
$bodypos = strpos($tmp,"<body");
if(strlen($bodypos)>0)
{
$head = substr($txt,0,$bodypos-1);
$body = substr($txt,$bodypos);
if(substr($tmp,-7)=="</html>")
$body = substr($body,0,-7);
}
else
$body = $txt;
if(strlen($body))
{
if(strlen($StartPos))
{
if(!is_numeric($StartPos))
{
$start = strpos($body,$StartPos);
}
else
$start = (int)$StartPos;
}
else
$start = 0;
if(strlen($EndPos))
{
if(!is_numeric($EndPos))
{
$end = strpos($body,$EndPos,$start) + strlen($EndPos);
}
else
$end = (int)$EndPos;
}
else
$end = NULL;
$o = substr($body,$start,$end-$start);
}
return $o;
}
/*
@description: Displays a template depending on the login status of the user
@attrib: _logintemplate:tpl: template to display when the user is NOT logged in
@attrib: _LoggedinTemplate:tpl: template to display when the user is logged in
@example: <inp:m_loginbox _LoginTemplate="right_login" _LoggedInTemplate="right_loggedin" />
*/
function m_loginbox($attribs = array())
{
global $var_list, $objSession, $objUsers, $objTemplate;
$userid = $objSession->Get("PortalUserId");
$groupid = $objSession->Get("GroupId");
if ($userid == 0)
{
- $t = $objTemplate->ParseTemplate($attribs["_logintemplate"]);
+ if (strlen($attribs["_logintemplate"]))
+ $t = $objTemplate->ParseTemplate($attribs["_logintemplate"]);
return $t;
}
else
{
$user =& $objUsers->GetItem($userid);
- $t = $user->ParseTemplate($attribs["_loggedintemplate"]);
+ if (strlen($attribs["_loggedintemplate"]))
+ $t = $user->ParseTemplate($attribs["_loggedintemplate"]);
return $t;
}
}
/*
@description: result of suggest site action
*/
function m_suggest_result()
{
global $suggest_result;
return $suggest_result;
}
/*
@description: result of subscribe to mailing list action
*/
function m_subscribe_result()
{
global $SubscribeResult;
if(strlen($SubscribeResult))
return language($SubscribeResult);
return "";
}
/*
@description: email address of user subscribing to mailing list
*/
function m_subscribe_address()
{
global $SubscribeAddress;
if(strlen($SubscribeAddress))
return $SubscribeAddress;
return "";
}
/*
@description: Error message of subscribe to mailing list action
*/
function m_subscribe_error()
{
global $SubscribeError;
if(strlen($SubscribeError))
return language($SubscribeError);
return "";
}
/*
@description: Displays a prompt for a form field
@attrib: _Form:: Form name for the field
@attrib: _Field:: Field Name
@attrib: _LangText:lang: Language var to use for field label
@attrib: _plaintext:: Plain text to use for field label (langtext is used by default if both are set)
@attrib: _Template:tpl: template used to display the field label (if not set "<inp:form_prompt />" is used
@attrib: _ErrorTemplate:tpl: If the field is in an error state (ie missing input) this template is used. Will default to the normal template if not set
*/
function m_form_prompt($attribs = array())
{
global $FormError, $objTemplate, $objConfig;
$form = strtolower($attribs["_form"]);
$field = strtolower($attribs["_field"]);
if($form=="m_register" && ($field=="password" || $field=="passwordverify") && $objConfig->Get("User_Password_Auto"))
{
$o = "";
}
else
{
$t = $attribs["_template"];
if(!strlen($t))
{
- $t = "<inp:form_prompt />";
+ $templateText = "<inp:form_prompt />";
}
$e = $attribs["_errortemplate"];
if(!strlen($e))
$e = $t;
if(strlen($attribs["_langtext"]))
{
$txt = language($attribs["_langtext"]);
}
else
$txt = $attribs["_plaintext"];
if (strtolower($field) == "dob")
{
if (isset($FormError[strtolower($form)][strtolower($field."_day")]) || isset($FormError[strtolower($form)][strtolower($field."_month")]) || isset($FormError[strtolower($form)][strtolower($field."_year")]))
- $rawtext = $objTemplate->GetTemplate($e);
+ $rawtext = $objTemplate->GetTemplate($e, true);
}
if(isset($FormError[strtolower($form)][strtolower($field)]))
{
$rawtext = $objTemplate->GetTemplate($e);
}
- else
- $rawtext = $objTemplate->GetTemplate($t);
+ elseif (strlen($t))
+ $rawtext = $objTemplate->GetTemplate($t);
+
if(is_object($rawtext))
{
$src = $rawtext->source;
- $o = str_replace("<inp:form_prompt />",$txt,$src);
+ $o = str_replace("<inp:form_prompt />",$txt, $src);
}
+ else
+ $o = str_replace("<inp:form_prompt />", $txt, $templateText);
+
}
return $o;
}
/*
@description: Returns text if system is configured to use auto-generated passwords
@attrib:_LangText:lang:Language tag to return
@attrib:_PlainText::Plain text to return (_LangText takes precedece)
@attrib:_Value:bool:Auto Password setting value to match
*/
function m_autopassword($attribs = array())
{
global $objConfig;
if($attribs["_value"]=="true" || $attribs["_value"]==1)
{
$IsAuto = $objConfig->Get("User_Password_Auto");
}
else
{
$IsAuto = !$objConfig->Get("User_Password_Auto");
}
if($IsAuto)
{
if(strlen($attribs["_langtext"]))
{
$ret = language($attribs["_langtext"]);
}
else
$ret = $attribs["_plaintext"];
if(!$ret)
return "true";
}
return $ret;
}
/*
@description: checks if field specified is equals to value specified
@attrib: _Form:: Form name for the field
@attrib: _Field:: Field Name
@attrib: _Value:: Field value to compare to
@example: <inp:m_field_equals _field="topic_subject" _Form="edit_topic" _Value="test" />true</inp:m_field_equals>
*/
function m_field_equals($attribs = array())
{
global $FormValues;
//print_pre($attribs);
$form = $attribs["_form"];
$field = $attribs["_field"];
if(isset($_POST[$field]))
{
$value = $_POST[$field];
}
else
$value = $FormValues[$form][$field];
//echo "POST_VALUE: [$value] vs USER_VALUE: [".$attribs['_value']."]<br>";
return $value == $attribs['_value'] ? 1 : '';
}
/*
@description: creates an INPUT tag for a form field. All extra attributes are passed to the INPUT tag
@attrib: _Form:: Form name for the field
@attrib: _Field:: Field Name
@attrib: _Required:bool: If set, In-Portal requires this field have a value when submitting
@example: <inp:m_form_input type="text" class="input" style="width:600px;" _field="topic_subject" _Form="edit_topic" _Required="1" />
*/
function m_form_input($attribs = array())
{
global $FormValues, $objConfig;
$html_attribs = ExtraAttributes($attribs);
$form = $attribs["_form"];
$field = strtolower($attribs["_field"]);
if(isset($_POST[$field]))
{
$value = $_POST[$field];
}
else
$value = $FormValues[$form][$field];
// echo $form.".".$field."=".$value."<br>\n";
if($form=="m_register" && ($field=="password" || $field=="passwordverify") && $objConfig->Get("User_Password_Auto"))
{
$ret = "";
}
else
{
$ret = "<INPUT ".$html_attribs." name=\"$field\" VALUE=\"$value\" />";
if($attribs["_required"])
$ret .= "<input type=hidden name=\"required[]\" VALUE=\"$field\" />";
if($attribs["_custom"])
$ret .= "<input type=hidden name=\"custom[]\" VALUE=\"$field\" />";
}
return $ret;
}
/*
@description: creates an INPUT tag (type checkbox) for a form field. All extra attributes are passed to the INPUT tag
@attrib: _Form:: Form name for the field
@attrib: _Field:: Field Name
@attrib: _Value:bool: If true, the radio button is CHECKED
@attrib: _Required:bool: If set, In-Portal requires this field have a value when submitting
@attrib: _Custom:bool: If set, handled as a custom field
@example: <inp:m_form_checkbox _field="owner_notify" _Form="edit_topic" />
*/
function m_form_checkbox($attribs = array())
{
global $FormValues, $objConfig;
$html_attribs = ExtraAttributes($attribs);
$form = $attribs["_form"];
$field = strtolower($attribs["_field"]);
if(isset($_POST[$field]))
{
$value = (int)$_POST[$field];
if($value==1)
$checked = " CHECKED";
}
else
{
$value = (int)$FormValues[$form][$field];
if($value==1)
$checked=" CHECKED";
}
//echo $form.".".$field."=".$value."<br>\n";
$ret = "<INPUT TYPE=\"checkbox\" $html_attribs name=\"$field\" VALUE=\"1\" $checked />";
if($attribs["_required"])
$ret .= "<input type=hidden name=\"required[]\" VALUE=\"$field\" />";
if($attribs["_custom"])
$ret .= "<input type=hidden name=\"custom[]\" VALUE=\"$field\" />";
return $ret;
}
/*
@description: creates an INPUT tag (type radio) for a form field. All extra attributes are passed to the INPUT tag
@attrib: _Form:: Form name for the field
@attrib: _Field:: Field Name
@attrib: _Value:: Value assigned to radio button. If the form field value matches this attribute, the radio button is CHECKED
@attrib: _Required:bool: If set, In-Portal requires this field have a value when submitting
@attrib: _Custom:bool: If set, handled as a custom field
@example: <inp:m_form_checkbox _field="owner_notify" _Form="edit_topic" />
*/
function m_form_radio($attribs = array())
{
global $FormValues, $objConfig;
$html_attribs = ExtraAttributes($attribs);
$form = $attribs["_form"];
$field = strtolower($attribs["_field"]);
$val = $attribs["_value"];
if(isset($_POST[$field]))
{
$value = (int)$_POST[$field];
if($value==1)
$checked = " CHECKED";
}
else
{
$value = (int)$FormValues[$form][$field];
if($value==$val)
$checked=" CHECKED";
}
//echo $form.".".$field."=".$value."<br>\n";
$ret = "<INPUT TYPE=\"radio\" $html_attribs name=\"$field\" VALUE=\"$val\" $checked />";
if($attribs["_required"])
$ret .= "<input type=hidden name=\"required[]\" VALUE=\"$field\" />";
if($attribs["_custom"])
$ret .= "<input type=hidden name=\"custom[]\" VALUE=\"$field\" />";
return $ret;
}
/*
@description: returns the value for a form field. This may be defaulted by the system or set by a previus submit (as in an error condition)
@attrib: _Form:: Form name for the field
@attrib: _Field:: Field Name
@example: <inp:m_form_value _field="owner_notify" _Form="edit_topic" />
*/
function m_form_value($attribs = array())
{
global $FormValues;
$form = $attribs["_form"];
$field = strtolower($attribs["_field"]);
if(isset($_POST[$field]))
{
$value = stripslashes($_POST[$field]);
}
else
$value = stripslashes($FormValues[$form][$field]);
//echo "<pre>"; print_r($FormValues); echo "</pre>";
return $value;
}
/*
@description: creates an form OPTION tag for a form SELECT tag.
All extra attributes are passed to the OPTION tag.
@attrib: _Form:: Form name for the field
@attrib: _Field:: Field Name
@attrib: _Value:: Value to use for this option (ie the value attribute) If the current value of the select
field is the same as this attribute, then this option will be set SELECTED.
@attrib: _langtext:lang: language tag to display for this option in the SELECT dropdown
@attrib: _plaintext:: plain text to display for this option in the SELECT dropdown (if _langtext is set, it is used instead of _plaintext)
@example: <inp:m_form_option _value="3321" _field="formfield" _form="formname" _langtext="lu..."
*/
function m_form_option($attribs = array())
{
global $FormValues;
$html_attribs = ExtraAttributes($attribs);
$field = $attribs["_field"];
$val = $attribs["_value"];
if(isset($_POST[$field]))
{
$value = $_POST[$field];
}
else
{
$value = $FormValues[$attribs['_form']][$field];
}
$selected = ($val == $value)? "SELECTED" : "";
if(strlen($attribs["_langtext"]))
{
$txt = language($attribs["_langtext"]);
}
else
$txt = $attribs["_plaintext"];
$o = "<OPTION $html_attribs VALUE=\"$val\" $selected>$txt</OPTION>";
return $o;
}
/*
@description: creates an form TEXTAREA field. All extra attributes are passed to the TEXTAREA tag
@attrib: _Form:: Form name for the field
@attrib: _Field:: Field Name
@attrib: _Required:bool: If set, In-Portal requires this field have a value when submitting
@attrib: _Custom:bool: If set, handled as a custom field
@example: <inp:m_form_textarea class="textarea" _field="bb_signature" _Form="bb_profile" ID="textbody" style="width:300px;" ROWS=10 COLS=65 WRAP="VIRTUAL" />
*/
function m_form_textarea($attribs = array())
{
global $FormValues;
$html_attribs = ExtraAttributes($attribs);
$field = $attribs["_field"];
$form = $attribs["_form"];
if(isset($_POST[$field]))
{
$value = stripslashes($_POST[$field]);
}
else
$value = stripslashes($FormValues[$attribs["_form"]][$field]);
$ret = "<TEXTAREA NAME=\"$field\" $html_attribs>$value</TEXTAREA>";
if($attribs["_required"])
$ret .= "<input type=hidden name=required[] VALUE=\"$field\" />";
if($attribs["_custom"])
$ret .= "<input type=hidden name=\"custom[]\" VALUE=\"$field\" />";
return $ret;
}
/*
@description: creates an form field to upload images. (INPUT type=file) All extra attributes are passed to the INPUT tag
@attrib: _Form:: Form name for the field
@attrib: _Field:: Field Name
@attrib: _Required:bool: If set, In-Portal requires this field have a value when submitting
@attrib: _ImageTypes:: Comma-separated list of file extensions allowed
@attrib: _Thumbnail:bool: If true, image is treated as a thumbnail
@attrib: _ImageName:: System name of image being uploaded
@attrib: _MaxSize:int: Maximum size of image to upload, or 0 to allow all
*/
function m_form_imageupload($attribs = array())
{
$html_attribs = ExtraAttributes($attribs);
$field = $attribs["_field"];
$form = $attribs["_form"];
$TypesAllowed = $attribs["_imagetypes"];
$isthumb = (int)$attribs["_thumbnail"];
$imgname = $attribs["_imagename"];
$maxsize = $attribs["_maxsize"];
$ret = "<INPUT $html_attribs TYPE=file NAME=\"$field\" >";
$ret .= "<INPUT TYPE=HIDDEN name=\"isthumb[$field]\" VALUE=\"$isthumb\">";
$ret .= "<INPUT TYPE=HIDDEN name=\"imagetypes[$field]\" VALUE=\"$TypesAllowed\">";
$ret .= "<INPUT TYPE=HIDDEN name=\"imagename[$field]\" VALUE=\"$imgname\">";
$ret .= "<INPUT TYPE=HIDDEN name=\"maxsize[$field]\" VALUE=\"$maxsize\">";
if($attribs["_required"])
$ret .= "<input type=hidden name=required[] VALUE=\"$field\" />";
return $ret;
}
/*
@description: Returns the error text for a form field, or nothing if no error exists for the field
@attrib: _Form:: Form name for the field
@attrib: _Field:: Field Name
*/
function m_form_error($attribs = array())
{
global $FormError;
$form = $attribs["_form"];
$field = $attribs["_field"];
return $FormError[$form][$field];
}
/**
@description: Provides a simple solution for displaying a language flag when a form has an error. Generic and limited to 1 language vairable.
@attrib: _Form:: Form name for the field
*/
function m_form_has_errors($attribs = array())
{
// shows specified template once if form has error(-s)
global $FormError;
$f = $attribs["_form"];
$ret = is_array($FormError[$f]);
if(!$ret) return '';
return isset($attribs["_asif"]) ? true : language('lu_errors_on_form');
}
/**
@description: Lists form errors for all fields in a form
@attrib: _Form:: Form name for the field
@attrib: _ItemTemplate:tpl: Template used to display each form error (if not set, "<inp:form_error />" is used)
*/
function m_list_form_errors($attribs = array())
{
global $FormError, $content_set, $objTemplate;
$t = $attribs["_itemtemplate"];
if(!strlen($t))
- $t = "<inp:form_error />";
+ $templateText = "<inp:form_error />";
$f = $attribs["_form"];
$o = "";
- $rawtext = $objTemplate->GetTemplate($t,true);
- $src = $rawtext->source;
+ if (strlen($t))
+ {
+ $rawtext = $objTemplate->GetTemplate($t, true);
+ $src = $rawtext->source;
+ }
+ else
+ $src = $templateText;
+
//echo $f."<br>";
//echo $t."<br>";
- //echo "<PRE>"; print_r($FormError); echo "</pre>";
+// echo "<PRE>"; print_r($FormError); echo "</pre>";
if(is_array($FormError[$f]))
{
foreach($FormError[$f] as $e)
{
- $o .= str_replace("<inp:form_error />",$e,$src);
+ $o .= str_replace("<inp:form_error />",$e, $src);
}
}
if(!strlen($o))
$content_set = 0;
return $o;
}
function m_form_load_values($FormName,$IdValue)
{
global $FormValues, $objUsers, $objSession, $objConfig;
switch($FormName)
{
case "m_acctinfo":
$u =& $objUsers->GetItem($IdValue);
$FormValues[$FormName]["username"] = $u->Get("Login");
//$FormValues[$FormName]["password"] = $u->Get("Password");
//$FormValues[$FormName]["passwordverify"] = $u->Get("Password");
$FormValues[$FormName]["password"] = "";
$FormValues[$FormName]["passwordverify"] = "";
$FormValues[$FormName]["firstname"] = $u->Get("FirstName");
$FormValues[$FormName]["lastname"] = $u->Get("LastName");
$FormValues[$FormName]["email"] = $u->Get("Email");
$FormValues[$FormName]["phone"] = $u->Get("Phone");
$FormValues[$FormName]["street"] = $u->Get("Street");
$FormValues[$FormName]["city"] = $u->Get("City");
$FormValues[$FormName]["state"] = $u->Get("State");
$FormValues[$FormName]["zip"] = $u->Get("Zip");
$FormValues[$FormName]["country"] = $u->Get("Country");
// $FormValues[$FormName]["dob"] = LangDate($u->Get("dob"));
$FormValues[$FormName]["dob_day"] = date("d", $u->Get("dob"));
$FormValues[$FormName]["dob_year"] = date("Y", $u->Get("dob"));
$FormValues[$FormName]["dob_month"] = date("m", $u->Get("dob"));
$u->LoadCustomFields();
if(is_array($u->CustomFields->Items))
{
foreach($u->CustomFields->Items as $f)
{
$FormValues[$FormName][$f->Get("FieldName")] = $f->Get("Value");
}
}
break;
case "m_profile":
$u =& $objUsers->GetItem($IdValue);
if(is_object($u))
{
$FormValues[$FormName]["pp_firstname"] = $objSession->GetPersistantVariable("pp_firstname");
$FormValues[$FormName]["pp_lastname"] = $objSession->GetPersistantVariable("pp_lastname");
$FormValues[$FormName]["pp_dob"] = $objSession->GetPersistantVariable("pp_dob");
$FormValues[$FormName]["pp_email"] = $objSession->GetPersistantVariable("pp_email");
$FormValues[$FormName]["pp_phone"] = $objSession->GetPersistantVariable("pp_phone");
$FormValues[$FormName]["pp_street"] = $objSession->GetPersistantVariable("pp_street");
$FormValues[$FormName]["pp_city"] = $objSession->GetPersistantVariable("pp_city");
$FormValues[$FormName]["pp_state"] = $objSession->GetPersistantVariable("pp_state");
$FormValues[$FormName]["pp_zip"] = $objSession->GetPersistantVariable("pp_zip");
$FormValues[$FormName]["pp_country"] = $objSession->GetPersistantVariable("pp_country");
}
break;
case "m_simplesearch":
$FormValues[$FormName]["keywords"] = $objSession->GetVariable("Search_Keywords");
break;
case "m_simple_subsearch":
$FormValues[$FormName]["keywords"] = $objSession->GetVariable("Search_Keywords");
break;
}
}
/*
@description: Generates the ACTTION property for a FORM tag used by In-Portal
@attrib: _Template:tpl: If set, this is the template the form submits to (default is the current template)
@attrib: _Form:: The form name<br>Possible Values:
<UL>
<LI>login: user login
<LI>logout: user logout
<LI>forgotpw: Form to prompt the user for forgotten password information
<LI>forgotpw_confirm: confirmation form for forgotpw
<LI>suggest: form to suggest the site to a friend
<LI>suggest_confirm: form to confirm suggestion of the site to a friend
<LI>m_subscribe: form to subscribe to the mailing list
<LI>subscribe_confirm: form to confirm subscription to the mailing list
<LI>m_unsubscribe: form to unsubscribe from the mailing list
<LI>unsubscribe_confirm: form to confirm un-subscription from the mailing list
<LI>m_acctinfo: user account information
<LI>m_profile: system-level profile information
<LI>m_register: New User registration form
<LI>m_addcat: Suggest Category form
<LI>m_addcat_confirm: Confirmation for add category
<LI>m_simplesearch: Perform a simple search
<LI>m_simple_subsearch: Search within results
<LI>m_adv_searchtype: Form to select type of advanced search
<LI>m_adv_subsearch: Advanced Search
<LI>error_access: form displayed on the access denied template
<LI>error_template: Form displayed on the template error page
<LI>m_set_theme: Form displayed for theme selection
</UL>
@attrib: _SubscribeTemplate:tpl: The destination template with "m_subscribe", "subscribe_confirm", "unsubscribe_confirm" _Form actions. Can be reused in other scenarios as programmed.
@attrib: _UnSubscribeTemplate:tpl: The destination template for "m_subscribe" _Form action. Can be reused in other scenarios as programmed.
@attrib: _ConfirmTemplate:tpl: The destination template for "m_unsubscribe", "suggest" _Form actions. Can be reused in other scenarios as programmed.
@attrib: _DestTemplate:tpl: The destination template for "suggest_confirm", "suggest" _Form actions. Can be reused in other scenarios as programmed.
@attrib: _ErrorTemplate:tpl: The destination template extensively used in most of _Form actions in case of error.
@attrib: _Referer:bool: The destination template will be taken from referer page we can from.
@example: <FORM enctype="multipart/form-data" method="POST" NAME="article_review" ACTION="<inp:m_form_action _Form="register" _confirm="join_confirm" />">
*/
function m_form_action($attribs = array())
{
global $var_list, $var_list_update, $m_var_list_update, $objSession, $objConfig, $objCatList;
$target_template = $attribs["_template"];
if(strlen($target_template))
{
$var_list_update["t"] = $target_template;
}
else
$var_list_update["t"] = $var_list["t"];
$ret = "";
$form = strtolower($attribs["_form"]);
switch($form)
{
case "login":
if(!$objSession->SessionEnabled())
{
$var_list_update["t"] = "error_session";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
else
{
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_login";
if($attribs["_successtemplate"])
{
$ret .= "&dest=".$attribs["_successtemplate"];
}
else
if(strlen($var_list["dest"]))
$ret .= "&dest=".$var_list["dest"];
}
break;
case "logout":
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_logout";
break;
case "forgotpw":
if(!$objSession->SessionEnabled())
{
$var_list_update["t"] = "error_session";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
else
{
if(strlen($attribs["_errortemplate"]))
{
$err = $attribs["_errortemplate"];
}
else
$err = $var_list["t"];
$ret = GetIndexURL()."?env=".BuildEnv()."&Action=m_forgotpw&error=$err";
}
break;
case "forgotpw_confirm":
$ret = GetIndexURL()."?env=".BuildEnv();
break;
case "suggest":
if(!$objSession->SessionEnabled())
{
$var_list_update["t"] = "error_session";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
else
{
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_suggest_email";
if(strlen($attribs["_confirmtemplate"])>0)
{
$ret .= "&Confirm=".$attribs["_confirmtemplate"];
}
if(strlen($Dest))
{
$ret .= "&DestTemplate=$Dest";
}
else
{
if(strlen($attribs["_confirmtemplate"])>0)
$ret .="&DestTemplate=".$var_list["t"];
}
if(strlen($attribs["_errortemplate"])>0)
{
$ret .= "&Error=".$attribs["_errortemplate"];
}
}
break;
case "suggest_confirm":
if(!$objSession->SessionEnabled())
{
$var_list_update["t"] = "error_session";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
else
{
if(strlen($_GET["DestTemplate"]))
{
$var_list_update["t"] = $_GET["DestTemplate"];
}
else
$var_list_update["t"] = "index";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
break;
case "m_subscribe":
if(!$objSession->SessionEnabled())
{
$var_list_update["t"] = "error_session";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
else
{
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_subscribe_confirm";
if(strlen($attribs["_subscribetemplate"]))
{
$ret .="&Subscribe=".$attribs["_subscribetemplate"];
}
if(strlen($attribs["_unsubscribetemplate"])>0)
{
$ret .= "&Unsubscribe=".$attribs["_unsubscribetemplate"];
}
if(strlen($attribs["_errortemplate"])>0)
{
$ret .= "&Error=".$attribs["_errortemplate"];
}
}
break;
case "subscribe_confirm":
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_subscribe";
if($attribs["_subscribetemplate"])
$ret .= "&Subscribe=".$attribs["_subscribetemplate"];
break;
case "unsubscribe_confirm":
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_unsubscribe";
if($attribs["_subscribetemplate"])
$ret .= "&Subscribe=".$attribs["_subscribetemplate"];
break;
case "m_unsubscribe":
if(!$objSession->SessionEnabled())
{
$var_list_update["t"] = "error_session";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
else
{
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_unsubscribe";
if(strlen($attribs["_confirmtemplate"])>0)
{
$ret .= "&Confirm=".$attribs["_confirmtemplate"];
}
if(strlen($Dest))
{
$ret .= "&DestTemplate=$Dest";
}
else
{
if(strlen($attribs["_confirmtemplate"])>0)
$ret .="&DestTemplate=".$var_list["t"];
}
}
if(strlen($attribs["_confirmtemplate"])>0)
{
$ret .="&ErrorTemplate=".$attribs["_confirmtemplate"];
}
break;
case "m_unsubscribe_confirm":
$ret = GetIndexURL()."?env=" . BuildEnv();
break;
case "m_acctinfo":
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_acctinfo&UserId=".$objSession->Get("PortalUserId");
m_form_load_values($form, $objSession->Get("PortalUserId"));
break;
case "m_profile":
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_profile&UserId=".$objSession->Get("PortalUserId");
m_form_load_values($form,$objSession->Get("PortalUserId"));
break;
case "m_set_theme":
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_set_theme";
break;
case "m_register":
if(!$objSession->SessionEnabled())
{
$var_list_update["t"] = "error_session";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
else
{
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_register";
switch ($objConfig->Get("User_Allow_New"))
{
case "1":
if(strlen($attribs["_confirmtemplate"]) && $objConfig->Get("User_Password_Auto"))
$_dest = "&dest=".$attribs["_confirmtemplate"];
else
$_dest = "&dest=".$attribs["_logintemplate"];
break;
case "2":
if(strlen($attribs["_notallowedtemplate"]))
$_dest = "&dest=".$attribs["_notallowedtemplate"];
break;
case "3":
if(strlen($attribs["_pendingtemplate"]))
$_dest = "&dest=".$attribs["_pendingtemplate"];
break;
}
if (strlen($_dest))
$ret .= $_dest;
}
break;
case "register_confirm":
if(!$objSession->SessionEnabled())
{
$var_list_update["t"] = "error_session";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
else
{
$ret = GetIndexURL()."?env=" . BuildEnv();
}
break;
case "m_addcat":
if(!$objSession->SessionEnabled())
{
$var_list_update["t"] = "error_session";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
else
{
$action = "m_add_cat";
if ($objSession->HasCatPermission("CATEGORY.ADD.PENDING"))
{
if(strlen($attribs["_confirmpending"]))
{
$ConfirmTemplate = $attribs["_confirmpending"];
}
else
$ConfirmTemplate = $attribs["_confirm"];
$action="m_add_cat_confirm";
}
if ($objSession->HasCatPermission("CATEGORY.ADD"))
{
$ConfirmTemplate = $attribs["_confirm"];
$action="m_add_cat_confirm";
}
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=$action";
if(strlen($ConfirmTemplate))
$ret .= "&Confirm=$ConfirmTemplate";
if (strlen($attribs["_mod_finishtemplate"])) {
$CurrentCat = $objCatList->CurrentCategoryID();
if((int)$CurrentCat>0)
{
$c = $objCatList->GetCategory($CurrentCat);
//will prefix the template with module template root path depending on category
$ids = $c->GetParentIds();
$tpath = GetModuleArray("template");
$roots = GetModuleArray("rootcat");
// get template path of module, by searching for moudle name
// in this categories first parent category
// and then using found moudle name as a key for module template paths array
$path = $tpath[array_search ($ids[0], $roots)];
$t = $path . $attribs["_mod_finishtemplate"];
}
else {
$t = $attribs["_mod_finishtemplate"]; //Just in case
}
}
else {
$t = $attribs["_finishtemplate"];
}
$ret .="&DestTemplate=".$t;
}
break;
case "m_addcat_confirm":
$target_template = $_GET["DestTemplate"];
if(strlen($target_template))
{
$var_list_update["t"] = $target_template;
}
else
$var_list_update["t"] = $var_list["t"];
$ret = GetIndexURL()."?env=".BuildEnv();
break;
case "m_simplesearch":
if(!$objSession->SessionEnabled())
{
$var_list_update["t"] = "error_session";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
else
{
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_simple_search";
if(strlen($attribs["_errortemplate"]))
$ret.= "&Error=".$attribs["_errortemplate"];
m_form_load_values($form, 0);
}
break;
case "m_simple_subsearch":
if(!$objSession->SessionEnabled())
{
$var_list_update["t"] = "error_session";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
else
{
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_simple_subsearch";
m_form_load_values($form,0);
}
break;
case "m_adv_search_type":
if(!$objSession->SessionEnabled())
{
$var_list_update["t"] = "error_session";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
else
{
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_advsearch_type";
m_form_load_values($form,0);
}
break;
case "m_adv_search":
$SearchType = $_GET["type"];
if(!is_numeric($SearchType))
$SearchType = $_POST["itemtype"];
if(!$objSession->SessionEnabled() && !strlen($SearchType))
{
$var_list_update["t"] = "error_session";
$ret = GetIndexURL()."?env=" . BuildEnv();
}
else
{
$ret = GetIndexURL()."?env=" . BuildEnv()."&Action=m_adv_search&type=$SearchType";
m_form_load_values($form,0);
}
break;
case "error_access":
$target_template = $_GET["DestTemplate"];
if(!strlen($target_template))
$target_template="login";
$var_list_update["t"] = $target_template;
$ret = GetIndexURL()."?env=" . BuildEnv();
break;
case "error_template":
$target_template = $_GET["DestTemplate"];
if($attribs["_referer"] == 1)
{
$target_template = "_referer_";
}
elseif (!strlen($target_template))
{
$target_template = "index";
}
$var_list_update["t"] = $target_template;
// $m_var_list_update["cat"]=0;
$ret = GetIndexURL()."?env=".BuildEnv();
break;
}
return $ret;
}
/*
@description: creates a URL to allow the user to log out. Accepts the same attributes as m_template_link
*/
function m_logout_link($attribs)
{
$ret = m_template_link($attribs)."&Action=m_logout";
return $ret;
}
/*
@description: returns a URL to the current theme
@attrib: _page:: Additional address to be added to the end of the theme URL
*/
function m_theme_url($attribs=array())
{
global $objConfig,$objSession, $objThemes, $CurrentTheme;
if(!is_object($CurrentTheme))
$CurrentTheme = $objThemes->GetItem($m_var_list["theme"]);
$theme_url = "http://". ThisDomain().$objConfig->Get("Site_Path")."themes/".$CurrentTheme->Get("Name")."/";
- if($attribs["_page"]) {
- if ($attribs["_page"] != 'current') {
+ if($attribs["_page"])
+ {
+ if ($attribs["_page"] != 'current')
+ {
$theme_url .= $attribs["_page"];
}
- else {
+ else
+ {
$theme_url = "http://".ThisDomain().$objConfig->Get("Site_Path")."index.php?env=".BuildEnv();
}
}
return $theme_url;
}
/*
@description: returns a URL to the current theme
*/
function m_current_page_url($attribs=array())
{
global $objConfig,$objSession;
$theme_url = "http://".ThisDomain().$objConfig->Get("Site_Path")."index.php?env=".BuildEnv();
return $theme_url;
}
/*
@description: returns a URL to the current theme
@attrib: _fullpath:bool: Append the title with the full path of the current category
@attrib: _currentcategory:bool: Append the title with the current category
@attrib: _catfield:: If _currentcategory is used, this attribute determines which category field to use (Name, Description, etc) Defaults to Name
*/
function m_page_title($attibs = array())
{
global $objConfig, $objCatList;
$ret = $objConfig->Get("Site_Name");
if($attibs["_fullpath"] || $attribs["_currentcategory"])
{
$CurrentCat = $objCatList->CurrentCategoryID();
if((int)$CurrentCat>0)
{
$c = $objCatList->GetCategory($CurrentCat);
if($attribs["_fullpath"])
{
$path = $c->Get("CachedNavbar");
if(strlen($path))
$ret .= " - ".$path;
}
else
{
if($attribs["_currentcategory"])
{
$f = $attribs["_catfield"];
if(!strlen($f))
$f = "Name";
$ret .= " - ".$c->Get($f);
}
}
}
}
return $ret;
}
/*
@description: list all active themes
@attrib: _ItemTemplate:tpl: Template to display each theme in the list
*/
function m_list_themes($attribs=array())
{
global $objThemes;
$t = $attribs["_itemtemplate"];
if(strlen($t))
{
$objThemes->Clear();
$objThemes->LoadThemes("Enabled=1","PrimaryTheme DESC");
foreach($objThemes->Items as $theme)
{
$o .= $theme->ParseTemplate($t);
}
}
return $o;
}
/*
@description: display text based on the user's language
@attrib: _Phrase:lang: label to replace with language-specific text
@example: <inp:m_language _Phrase="lu_hello_world" />
*/
function m_language($attribs)
{
global $objSession, $objLanguages, $ForceLanguage;
$phrase = $attribs["_phrase"];
$LangId = (int)$ForceLanguage;
if(strlen($phrase))
{
$lang = $attribs["_language"];
if(strlen($lang))
{
$l = $objLanguages->GetItemByField("PackName",$lang);
if(is_object($l))
{
$LangId = $l->Get("LanguageId");
}
}
return language($phrase,$LangId);
}
else
return "";
}
/*
@description: Creates a URL used to set the current language for a user
@attrib: _language:: Language to set (this value should be the language Pack Name)
*/
function m_setlang_link($attribs)
{
global $m_var_list_update, $objSession,$objLanguages;
$lang = $attribs["_language"];
if(strlen($lang))
{
$l = $objLanguages->GetItemByField("PackName",$lang);
if(is_object($l))
$LangId = $l->Get("LanguageId");
}
else
$LangId=$objSession->Get("Language");
if($LangId)
{
$m_var_list_update["lang"] = $LangId;
$ret = GetIndexURL()."?env=".BuildEnv();
unset($m_var_list_update["lang"]);
}
else
$ret = "";
return $ret;
}
/*
@description: list all active languages
@attrib: _ItemTemplate:tpl: Template to display each language in the list
*/
function m_list_languages($attribs)
{
global $objLanguages, $content_set;
$sql = "SELECT * FROM ".GetTablePrefix()."Language WHERE Enabled=1";
$objLanguages->Clear();
$objLanguages->Query_Item($sql);
if($objLanguages->NumItems()>0)
{
foreach($objLanguages->Items as $l)
$o .= $l->ParseTemplate($attribs["_itemtemplate"]);
}
else
$content_set=0;
return $o;
}
/*
@description: returns the date format for a language
@attrib: _lang:: Pack Name of language to use. The current language is used if this is not set
*/
function m_lang_dateformat($attribs=array())
{
global $objLanguages, $objSession;
$lang = $attribs["_lang"];
if(!strlen($lang))
{
$LangId = $objSession->Get("Language");
$l = $objLanguages->GetItem($LangId);
}
else
{
$l = $objLanguages->GetItemByField("PackName",$lang);
}
$fmt = GetDateFormat($LangId);
$fmt = GetStdFormat($fmt);
return $fmt;
}
/*
@description: returns a language field value
@attrib: _Field:: Language field to return
@attrib: _lang:: Pack Name of language to use. The current language is used if this is not set
*/
function m_lang_field($attribs = array())
{
global $objLanguages, $objSession;
if(!strlen($attribs["_field"]))
return "";
$lang = $attribs["_lang"];
if(!strlen($lang))
{
$LangId = $objSession->Get("Language");
$l = $objLanguages->GetItem($LangId);
}
else
{
$l = $objLanguages->GetItemByField("PackName",$lang);
}
if(is_object($l))
{
//$ret = $l->Get($attribs["_field"]);
$e = new clsHtmlTag();
$e->name=$l->TagPrefix;
$e->attributes=$attribs;
$ret = $l->ParseObject($e);
}
return $ret;
}
/*
@description: Creates a URL used to set the current theme for a user
@attrib: _theme:: Name of Theme to set. The template selected in the new them is always "index"
*/
function m_settheme_link($attribs)
{
global $m_var_list_update, $objSession, $objThemes, $CurrentTheme;
$ThemeName = $attribs["_theme"];
if(strlen($ThemeName))
{
$t = $objThemes->GetItemByField("Name",$ThemeName);
if(is_object($t))
{
$Id = $t->Get("ThemeId");
}
else
$Id = 0;
}
else
{
$t = $CurrentTheme;
$Id = 0;
}
$m_var_list_update["theme"] = $Id;
$ret = GetIndexURL()."?env=".BuildEnv();
unset($m_var_list_update["theme"]);
return $ret;
}
function m_init_cats($attribs = array())
{
// save current & previous category (used in pagination)
global $objSession, $objCatList;
global $var_list;
//echo "SID_INIT: ".$var_list["sid"].'(COOKIE_SID: '.$_COOKIE["sid"].')<br>';
$objSession->SetVariable('prev_category', $objSession->GetVariable('last_category') );
$objSession->SetVariable('last_category', $objCatList->CurrentCategoryID() );
//$last_cat = $objSession->GetVariable('last_category');
//$prev_cat = $objSession->GetVariable('prev_category');
//echo "Last CAT: [$last_cat]<br>";
//echo "Prev CAT: [$prev_cat]<br>";
}
/*
@description: List all subcategories a user is allowed to view
@attrib: _columns:int: Numver of columns to display the categories in (defaults to 1)
@attrib: _maxlistcount:int: Maximum number of categories to list
@attrib: _FirstItemTemplate:tpl: Template used for the first category listed
@attrib: _LastItemTemplate:tpl: Template used for the last category listed
@attrib: _ItemTemplate:tpl: default template used for category list items
@attrib: _NoTable:bool: If set to 1, the categories will not be listed in a table. If a table is used, all HTML attributes are passed to the TABLE tag
@example: <inp:m_list_cats _NoTable="0" _columns="2" _ItemTemplate="catlist_element" border="0" cellspacing="0" cellpadding="0" width="98%" />
*/
function m_list_cats($attribs = array())
{
global $var_list, $objConfig, $objSession, $objCatList, $var_list_update, $content_set, $objSystemCache;
$CachedList = GetTagCache("kernel","m_list_cats",$attribs,m_BuildEnv());
if(strlen($CachedList))
{
return $CachedList;
}
$cols = $attribs["_columns"];
if($cols<1)
$cols =1;
$CategoryId = $attribs["_catid"];
if(!is_numeric($CategoryId))
$CategoryId = $objCatList->CurrentCategoryID();
$cat_count = (int)$attribs["_maxlistcount"];
/* validation */
if(strlen($attribs["_itemtemplate"])==0)
{
if($attribs["dataexists"])
$content_set = 0;
return "";
}
$GroupList = $objSession->Get("GroupList");
if(strlen($GroupList))
{
$Groups = explode(",",$GroupList);
}
$acl_where = "";
if(@count($Groups)>0 && is_array($Groups))
{
$acl_where = array();
for($i=0;$i<count($Groups);$i++)
{
$g = $Groups[$i];
$acl_where[] = "(FIND_IN_SET($g,acl) OR ((NOT FIND_IN_SET($g,dacl)) AND acl='')) ";
}
if(count($acl_where))
{
$acl_where = "(".implode(" OR ",$acl_where).")";
}
else
$acl_where = "(FIND_IN_SET(0,acl))";
}
else
$acl_where = "(FIND_IN_SET(0,acl))";
$objCatList->Clear();
$OrderBy = $objCatList->QueryOrderByClause(TRUE,TRUE,TRUE);
$objCatList->LoadCategories("ParentId=$CategoryId AND Status=1",$OrderBy);
if ($objCatList->NumItems() == 0)
{
if($attribs["_dataexists"])
$content_set = 0;
return "";
}
$html_attr = ExtraAttributes($attribs);
$o="";
$notable = $attribs["_notable"];
$count=0;
$row=0;
$var_list_update["t"] = $var_list["t"];
if(!$notable)
{
$per_row = ceil($objCatList->NumItems()/$cols);
$o = "<TABLE $html_attr><TR CLASS=\"m_list_cats\">";
$o .= "<TD valign=\"top\">";
$CatCount = $objCatList->NumItems();
foreach($objCatList->Items as $cat)
{
$parsed=0;
if($count==$per_row)
{
$o .= "</TD><TD valign=\"top\">";
$count=0;
}
if($row==0 && strlen($attribs["_firstitemtemplate"]))
{
$o.= $cat->ParseTemplate($attribs["_firstitemtemplate"]);
$parsed=1;
}
if($row==$CatCount-1 && !$parsed && strlen($attribs["_lastitemtemplate"])>0)
{
$o .= $cat->ParseTemplate($attribs["_lastitemtemplate"]);
$parsed=1;
}
if(!$parsed)
$o.= $cat->ParseTemplate($attribs["_itemtemplate"]);
$count++;
$row++;
}
if($count != $per_row)
$o .= "</TD>";
$o .= "\n</tr></table>\n";
}
else
{
$CatCount = $objCatList->NumItems();
foreach($objCatList->Items as $cat)
{
if($cat->Get("ParentId")==$CategoryId)
{
if($row==0 && strlen($attribs["_firstitemtemplate"]))
{
$o.= $cat->ParseTemplate($attribs["_firstitemtemplate"]);
$parsed=1;
}
if($row==$CatCount-1 && !$parsed && strlen($attribs["_lastitemtemplate"])>0)
{
$o .= $cat->ParseTemplate($attribs["_lastitemtemplate"]);
$parsed=1;
}
if(!$parsed)
$o .= $cat->ParseTemplate($attribs["_itemtemplate"]);
$row++;
$i++;
$count++;
if($count>=$cat_count && $cat_count>0)
break;
}
}
}
unset($var_list_update["t"]);
SaveTagCache("kernel","m_list_cats",$attribs,m_BuildEnv(),$o);
return $o;
}
function LoadCatSearchResults($attribs)
{
global $objSession, $objPermissions, $objCatList, $objSearchCats, $objConfig, $CountVal;
$GroupList = $objSession->Get("GroupList");
if(strlen($GroupList))
$Groups = explode(",",$GroupList);
$acl_where = "";
if(@count($Groups)>0 && is_array($Groups))
{
$acl_where = array();
for($i=0;$i<count($Groups);$i++)
{
$g = $Groups[$i];
$acl_where[] = "(FIND_IN_SET($g,acl) OR ((NOT FIND_IN_SET($g,dacl)) AND acl='')) ";
}
if(count($acl_where))
{
$acl_where = "(".implode(" OR ",$acl_where).")";
}
else
$acl_where = "(FIND_IN_SET(0,acl))";
}
else
$acl_where = "(FIND_IN_SET(0,acl))";
$CAT_VIEW = $objPermissions->GetPermId("CATEGORY.VIEW");
$ctable = $objCatList->SourceTable;
$stable = $objSession->GetSearchTable(); // $objSearchCats->SourceTable;
$ptable = GetTablePrefix()."PermCache";
$sql = "SELECT * FROM $stable INNER JOIN $ctable ON ($stable.ItemId=$ctable.CategoryId) ";
$sql .= "INNER JOIN $ptable ON ($ctable.CategoryId=$ptable.CategoryId) ";
$sql .="WHERE ItemType=1 AND Status=1 AND $acl_where AND PermId=$CAT_VIEW ORDER BY EdPick DESC,Relevance DESC ";
$objSearchCats->Page = $m_var_list["p"];
if($objSearchCats->Page<1)
$objSearchCats->Page=1;
if(is_numeric($objConfig->Get($objSearchCats->PerPageVar)))
{
$Start = ($objSearchCats->Page-1)*$objConfig->Get($objSearchCats->PerPageVar);
$limit = "LIMIT ".$Start.",".$objConfig->Get($objSearchCats->PerPageVar);
}
else
$limit = NULL;
if(strlen($limit))
$sql .= $limit;
// echo "TEST:<BR>$sql<br>\n";
$objSearchCats->Query_Item($sql);
$where = "ItemType=1";
if(is_numeric($CountVal[1]))
{
$objSearchCats->QueryItemCount = $CountVal[1];
}
else
{
$objSearchCats->QueryItemCount = QueryCount($sql);
$CountVal[1]= $objSearchCats->QueryItemCount;
}
}
/*
@description: Used in conjuction with m_search_list_cats. This function generates a navigation link which is
used to switch from a short list to a longer list. The page number is not changed.
If this tag is called before the list tag, this function will load the category list.
Generally, it is good practice to duplicate all attributes set for m_search_list_cats.
Any extra HTML attributes are passed to the anchor tag
@attrib: _Template:tpl: Template to link to
@attrib: _text:lang: language tag to include as text for the anchor tag
@attrib: _plaintext:: plain text to include as text for the anchor tag. The _text attribute takes presedence
if both are included.
@attrib: _image:: URL to an image to include inside the anchor tag.
*/
function m_search_cat_more($attribs = array())
{
global $objSearchCats, $objConfig, $m_var_list_update;
$html_attribs = ExtraAttributes($attribs);
$DestTemplate = $attribs["_template"];
if($attribs["_shortlist"])
$objSearchList->PerPageVar = "Perpage_Category_Short";
if($objSearchCats->NumItems()==0)
{
LoadCatSearchResults($attribs);
}
$max = $objConfig->Get($objSearchList->PerPageVar);
$val = $objSearchCats->QueryItemCount;
if($val > $max)
{
if($attribs["_root"])
$attribs["_category"]=0;
$m_var_list_update["p"]=1;
$url = m_template_link($attribs);
unset($m_var_list_update["p"]);
$o = "<A $html_attribs HREF=\"$url\">";
$text = $attribs["_text"];
if(!strlen($text))
{
$text = $attribs["_plaintext"];
if(!strlen($text))
{
}
$o .= $text."</A>";
}
else
$o .= language($text);
if(strlen($attribs["_image"]))
{
$o .= "<IMG SRC=\"".$attribs["_image"]."\" BORDER=\"0\" />";
}
$o .= "</A>";
}
return $o;
}
/*
@description: Used in conjuction with m_search_list_cats. This function generates the page navigation
for the list. If this tag is called before the list tag, this function will load
the category list. Generally, it is good practice to duplicate all attributes set for
m_search_list_cats.
@attrib: _PagesToList:int: Number of pages to list (default is 10)
@attrib: _label:lang: language tag to include in the output if there are pages to list. If there are no pages
listed, this text will not be included (resulting in an empty output)
*/
function m_search_cat_pagenav($attribs = array())
{
global $objSearchCats, $objConfig, $objCatList, $objSession;
$DestTemplate = $attribs["_template"];
$PagesToList = $attribs["_pagestolist"];
if(!is_numeric($PagesToList))
$PagesToList = 10;
$CatId = $attribs["_catid"];
if(!is_numeric($CatId))
$CatId = $objCatList->CurrentCategoryID();
$objSearchCats->PerPageVar = "Perpage_Category";
if($attribs["_shortlist"])
$objSearchCats->PerPageVar = "Perpage_Category_Short";
if($objSearchCats->NumItems()==0)
{
LoadCatSearchResults($attribs);
}
$o = $objSearchCats->GetPageLinkList($DestTemplate);
if(strlen($o) && strlen($attribs["_label"]))
$o = language($attribs["_label"]).$o;
return $o;
}
/*
@description: List all categories matched in a search
@attrib: _columns:int: Numver of columns to display the categories in (defaults to 1)
@attrib: _maxlistcount:int: Maximum number of categories to list
@attrib: _ShortList:bool: If set, the Perpage_Category_Short setting is used instead of Perpage_Category
@attrib: _FirstItemTemplate:tpl: Template used for the first category listed
@attrib: _LastItemTemplate:tpl: Template used for the last category listed
@attrib: _ItemTemplate:tpl: default template used for category list items
@attrib: _NoTable:bool: If set to 1, the categories will not be listed in a table. If a table is used, all HTML attributes are passed to the TABLE tag
@example: <inp:m_search_list_cats _NoTable="1" _ItemTemplate="category_search_results_element" />
*/
function m_search_list_cats($attribs = array())
{
global $var_list, $objConfig, $objSession, $objCatList, $var_list_update, $content_set,
$objSearchCats, $objPermissions, $m_var_list;
if(!is_object($objSearchCats))
{
$objSearchCats = new clsCatList();
$objSearchCats->SourceTable="ses_".$objSession->GetSessionKey()."_Search";
$objSearchCats->Clear();
}
$objSearchCats->PerPageVar = "Perpage_Category";
if($attribs["_shortlist"])
{
$objSearchCats->Page=1;
$m_var_list["p"] = 1;
$objSearchCats->PerPageVar = "Perpage_Category_Short";
}
if($objSearchCats->NumItems()==0)
{
LoadCatSearchResults($attribs);
//echo "Cat count: ". $objSearchCats->QueryItemCount;
$ret = 0;
if ($_POST['keywords']) {
foreach ($objSearchCats->Items as $cat) {
if (strstr(strip_tags(strtolower($cat->Data['Name'])), strtolower($_POST['keywords'])) || strstr(strip_tags(strtolower($cat->Data['Description'])), strtolower($_POST['keywords']))) {
$ret++;
}
}
}
else {
$ret = $objSearchCats->QueryItemCount;
}
if ($ret == 0) //if ($objSearchCats->NumItems() == 0)
{
$content_set = 0;
return language("lu_no_categories");
}
}
$html_attr = ExtraAttributes($attribs);
$cols = $attribs["_columns"];
if($cols<1)
$cols =1;
$cat_count = (int)$attribs["_maxlistcount"];
/* validation */
if(strlen($attribs["_itemtemplate"])==0)
{
$content_set = 0;
return "ERROR -1";
}
$o="";
$notable = $attribs["_notable"];
$count=0;
$row=0;
$var_list_update["t"] = $var_list["t"];
if(!$notable)
{
$per_row = ceil($objCatList->NumItems()/$cols);
$o = "<TABLE $html_attr><TR CLASS=\"m_list_cats\">";
$o .= "<TD valign=\"top\">";
foreach($objSearchCats->Items as $cat)
{
$parsed=0;
if($count==$per_row)
{
$o .= "</TD><TD valign=\"top\">";
$count=0;
}
if($row==0 && strlen($attribs["_firstitemtemplate"]))
{
$o.= $cat->ParseTemplate($attribs["_firstitemtemplate"]);
$parsed=1;
}
if($row==$objSearchCats->NumItems()-1 && !$parsed && strlen($attribs["_lastitemtemplate"])>0)
{
$o .= $cat->ParseTemplate($attribs["_lastitemtemplate"]);
$parsed=1;
}
if(!$parsed)
$o.= $cat->ParseTemplate($attribs["_itemtemplate"]);
$count++;
}
if($count != $per_row)
$o .= "</TD>";
$o .= "\n</tr></table>\n";
}
else
{
//echo "<pre>"; print_r($objSearchCats->Items); echo "</pre>";
foreach($objSearchCats->Items as $cat)
{
$cat->Keywords = GetKeywords($objSession->GetVariable("Search_Keywords"));
$keywords = $objSession->GetVariable("Search_Keywords");
//echo "<pre>"; print_r($objSession->GetVariable("Search_Keywords")); echo "</pre>";
//echo $_POST['keywords']."<br>";
//echo $cat->Data['Name']."<br>";
if (strstr(strip_tags(strtolower($cat->Data['Name'])), strtolower($keywords)) || strstr(strip_tags(strtolower($cat->Data['Description'])), strtolower($keywords))) {
if($row==0 && strlen($attribs["_firstitemtemplate"]))
{
$o.= $cat->ParseTemplate($attribs["_firstitemtemplate"]);
$parsed=1;
}
if($row==$objSearchCats->NumItems()-1 && !$parsed && strlen($attribs["_lastitemtemplate"])>0)
{
$o .= $cat->ParseTemplate($attribs["_lastitemtemplate"]);
$parsed=1;
}
if(!$parsed)
$o.= $cat->ParseTemplate($attribs["_itemtemplate"]);
$row++;
$i++;
$count++;
}
}
}
unset($var_list_update["t"]);
return $o;
}
/*
@description: Parse a template based on the current advanced search type
@attrib:_TypeSelect:tpl:Template to parse if no item type has been selected
@attrib:_ItemSelect:tpl:Template to parse if an item type has been selected to search
*/
function m_advsearch_include($attribs)
{
global $objTemplate;
$TypeSelectTemplate = $attribs["_typeselect"];
$ItemTemplate = $attribs["_itemselect"];
if((strlen($_GET["type"])>0 || $_POST["itemtype"]>0) && ($_GET["Action"]=="m_advsearch_type" || $_GET["Action"]=="m_adv_search"))
{
$o = $objTemplate->ParseTemplate($ItemTemplate);
}
else
$o = $objTemplate->ParseTemplate($TypeSelectTemplate);
return $o;
}
/*
@description: Returns the name of the item type currently being advanced searched
@attrib::_plaintext:bool:If set, simply returns the name of the item if not, builds a language tag (lu_searchtitle_[name])
*/
function m_advsearch_type($attribs)
{
global $objItemTypes;
if($_GET["Action"]=="m_advsearch_type")
{
$ItemType = $_POST["itemtype"];
}
elseif($_GET["Action"]=="m_adv_search")
$ItemType = $_GET["type"];
$o = "";
if((int)$ItemType>0)
{
$Item = $objItemTypes->GetItem($ItemType);
if(is_object($Item))
{
$name = strtolower($Item->Get("ItemName"));
if($attribs["_plaintext"])
{
$o .= $name;
}
else
$o = language("lu_searchtitle_".strtolower($name));
}
}
return $o;
}
/*
@description: Lists advanced search fields for the selected item type
@attrib: _FirstItemTemplate:tpl: Template used for the first field listed
@attrib: _LastItemTemplate:tpl: Template used for the last field listed
@attrib: _AltLastItemTemplate:tpl: Altername Template used for the last field listed
@attrib: _ItemTemplate:tpl: default template used for field list items
@attrib: _AltTemplate:tpl: Alternate template used for field list items
*/
function m_advsearch_fields($attribs)
{
global $objItemTypes, $objTemplate, $objSearchConfig;
if(!is_object($objSearchConfig))
$objSearchConfig = new clsSearchConfigList();
if($_GET["Action"]=="m_advsearch_type")
{
$ItemType = $_POST["itemtype"];
}
elseif($_GET["Action"]=="m_adv_search")
$ItemType = $_GET["type"];
$o = "";
if((int)$ItemType>0)
{
$Item = $objItemTypes->GetItem($ItemType);
if(is_object($Item))
{
$name = strtolower($Item->Get("ItemName"));
$table = $Item->Get("SourceTable");
$sql = "SELECT * FROM ".$objSearchConfig->SourceTable." WHERE TableName='$table' AND AdvancedSearch=1 ORDER BY DisplayOrder";
$objSearchConfig->Query_Item($sql);
$row=0;
if(is_array($objSearchConfig->Items))
{
$ItemCount = count($objSearchConfig->Items);
foreach($objSearchConfig->Items as $s)
{
$even = (($row+1) % 2 == 0);
$parsed=0;
if($row==0 && strlen($attribs["_firstitemtemplate"]))
{
$o .= $s->ParseTemplate($attribs["_firstitemtemplate"]);
$parsed=1;
}
if($row==$ItemCount-1 && $even && !$parsed && strlen($attribs["_altlastitemtemplate"])>0)
{
$o .= $s->ParseTemplate($attribs["_altlastitemtemplate"]);
$parsed=1;
}
if($row==$ItemCount-1 && !$parsed && strlen($attribs["_lastitemtemplate"])>0)
{
$o .= $s->ParseTemplate($attribs["_lastitemtemplate"]);
$parsed=1;
}
if(!$parsed)
{
if($even && strlen($attribs["_altitemtemplate"])>0)
{
$o .= $s->ParseTemplate($attribs["_altitemtemplate"]);
}
else
$o .= $s->ParseTemplate($attribs["_itemtemplate"]);
}
$row++;
}
}
}
}
return $o;
}
/*
@description: create a link to a template based on attributes passed into the tag. All extra HTML attributes
are passed to the anchor tag created.
@attrib: _Template:tpl: Template to link to. Just the template name is listed here. (ex: use "index" instead if "inlink/index")
@attrib: _Module:: Module being linked to (ie In-Bulletin or In-News or In-Link)
@attrib: _perm:: A list of permissions to check. If the user has any of the the permissions in the list,
the link will be generated. (If the _DeniedTemplate attribute is set, this template is used
and the link is created.)
@attrib: _DeniedTemplate:tpl: This template is used if the user does not have a permission listed in the _perm
attribute. If this attirbute is not included and the user does not have access,
nothing is returned. (The link is not created.)
@attrib: _Root:bool: If set, the current category is set to the module's root category
@attrib: _text:lang: language tag to include as text for the anchor tag
@attrib: _plaintext:: plain text to include as text for the anchor tag. The _text attribute takes presedence
if both are included.
@attrib: _image:: URL to an image to include inside the anchor tag.
@attrib: _image_actions:: Image events.
*/
function m_module_link($attribs = array())
{
global $objCatList, $objSession;
$permission = $attribs["_perm"];
$o = "";
$tpath = GetModuleArray("template");
if(strlen($permission))
{
$perms = explode(",",$permission);
$hasperm = FALSE;
for($x=0;$x<count($perms);$x++)
{
if($objSession->HasCatPermission($perms[$x]))
{
$hasperm = TRUE;
break;
}
}
}
else
$hasperm = TRUE;
if(!$hasperm && strlen($attribs["_deniedtemplate"])>0)
{
$hasperm = TRUE;
$attribs["_template"]=$attribs["_deniedtemplate"];
}
if($hasperm)
{
$module = $attribs["_module"];
if(ModuleEnabled($module))
{
$t = $tpath[$attribs["_module"]];
$t .= $attribs["_template"];
$attribs["_template"] = $t;
$html_attr = ExtraAttributes($attribs);
if($attribs["_root"])
{
$func = ModuleTagPrefix($module)."_root_link";
if(function_exists($func))
{
$url = $func($attribs);
}
else
$url = m_template_link($attribs);
}
else
$url = m_template_link($attribs);
$o = "<A $html_attr HREF=\"";
$o .= $url;
$o .= "\"> ";
$text = $attribs["_text"];
if(!strlen($text))
{
$text = $attribs["_plaintext"];
if(!strlen($text))
{
if(strlen($attribs["_image"]))
{
$text = "<IMG SRC=\"".$attribs["_image"]."\" BORDER=\"0\">";
}
}
$o .= $text."</A>";
}
else
$o .= language($text)."</A>";
}
else
{
$o = "";
}
}
return $o;
}
/*
@description: create a link to a template based on attributes passed into the tag. All extra HTML attributes
are passed to the anchor tag created.
@attrib: _Template:tpl: Template to link to. Just the template name is listed here. (ex: use "index" instead if "inlink/index")
@attrib: _perm:: A list of permissions to check. If the user has any of the the permissions in the list,
the link will be generated. (If the _DeniedTemplate attribute is set, this template is used
and the link is created.)
@attrib: _DeniedTemplate:tpl: This template is used if the user does not have a permission listed in the _perm
attribute. If this attirbute is not included and the user does not have access,
nothing is returned. (The link is not created.)
@attrib: _text:lang: language tag to include as text for the anchor tag
@attrib: _plaintext:: plain text to include as text for the anchor tag. The _text attribute takes presedence
if both are included.
@attrib: _image:: URL to an image to include inside the anchor tag.
*/
function m_permission_link($attribs = array())
{
global $objCatList, $objSession;
$permission = $attribs["_perm"];
$o = "";
if(strlen($permission))
{
$perms = explode(",",$permission);
$hasperm = FALSE;
for($x=0;$x<count($perms);$x++)
{
if($objSession->HasCatPermission($perms[$x]))
{
$hasperm = TRUE;
break;
}
}
}
else
$hasperm = TRUE;
if(!$hasperm && strlen($attribs["_deniedtemplate"])>0)
{
$hasperm = TRUE;
$attribs["_template"]=$attribs["_deniedtemplate"];
}
if($hasperm)
{
$url = m_template_link($attribs);
$o = "<A $html_attr HREF=\"";
$o .= $url;
$o .= "\"> ";
$text = $attribs["_text"];
if(!strlen($text))
{
$text = $attribs["_plaintext"];
if(!strlen($text))
{
if(strlen($attribs["_image"]))
{
$text = "<IMG SRC=\"".$attribs["_image"]."\" BORDER=\"0\">";
}
}
$o .= $text."</A>";
}
else
$o .= language($text)."</A>";
}
else
{
$o = "";
}
return $o;
}
/*
@description: Create a link to a template.
@attrib: _Template:tpl: Template to link to (ex: "inbulletin/post_list")
@attrib: _Query:str: Extra query sring to be added to link URL (ex: "&test=test")
@attrib: _Category:int: Set the current category to this ID. If not set, the current category is unchanged
@attrib: _anchor:: If included, a local anchor (#) is added. (ex: _anchor="top" results in <A HREF="..#top">)
@attrib: _Secure:bool:If set, creates an https URL
@attrib: _Root:bool:If set, gets module root category id
@attrib: _Module:str:Module Name
@attrib: _Unsecure:bool: Is set, creates an insecure full url (http://...)
@example: <a href="<inp:m_template_link _Template="index" _Category=0 />"><inp:m_language _Phrase="lu_home" /></a>
*/
function m_template_link($attribs = array())
{
global $var_list, $var_list_update, $m_var_list_update, $objCatList;
$template = $attribs["_template"];
$query = trim($attribs["_query"]);
$query = !ereg("^&", $query)? "&$query" : $query;
if(!strlen($template))
$template = $var_list["t"];
$cat = $attribs["_category"];
$var_list_update["t"] = $template;
if(strlen($cat))
{
if($cat=="NULL")
{
$m_var_list_update["cat"]=0;
}
else
{
$m_var_list_update["cat"] = $cat;
}
}
if($attribs["_secure"])
{
$ret = GetIndexURL(1)."?env=".BuildEnv().$query;
}
elseif($attribs["_unsecure"])
{
$ret = GetIndexURL(2)."?env=".BuildEnv().$query;
}
else
$ret = GetIndexURL()."?env=".BuildEnv().$query;
if(strlen($attribs["_anchor"]))
$ret .= "#".$attribs["_anchor"];
unset($var_list_update["t"]);
if(strlen($cat))
unset($m_var_list_update["cat"]);
return $ret;
}
/*
@description: create a link to a template based on user permissions. All extra HTML attributes are passed to the anchor tag created.
@attrib: _Template:tpl: Template to link to if the user has access
@attrib: _DeniedTemplate:tpl: This template is used if the user does not have a permission listed in the _perm
attribute. If this attirbute is not included and the user does not have access,
the "login" template is used.
@attrib: _perm:: A list of permissions to check. If the user has any of the the permissions in the list,
the link will be generated. (If the _DeniedTemplate attribute is set, this template is used
and the link is created.)
@attrib: _System:bool: Set this attribute if one of the permissions in the list is a system permission (ie: LOGIN)
@attrib: _Category:int: Set the current category to this ID. If not set, the current category is unchanged
@example: <a href="<inp:m_access_template_link _Template="my_account" _DeniedTemplate="login" _Perm="login" />"><inp:m_language _Phrase="lu_myaccount" /></A>
*/
function m_access_template_link($attribs = array(), $Permission="")
{
global $var_list, $var_list_update, $m_var_list_update, $objCatList, $objSession;
$cat = $attribs["_category"];
if(strlen($cat))
{
if($cat=="NULL")
$cat = 0;
}
else
$cat = $objCatList->CurrentCategoryID();
if(!strlen($Permission))
{
$Permission = strtoupper($attribs["_perm"]);
}
$o = "";
$hasperm = FALSE;
if(strlen($Permission))
{
$perms = explode(",",$Permission);
for($x=0;$x<count($perms);$x++)
{
if($objSession->HasCatPermission(trim($perms[$x]),$cat))
{
$hasperm = TRUE;
break;
}
}
if(!$hasperm && $attribs["_system"])
{
for($x=0;$x<count($perms);$x++)
{
if($objSession->HasSystemPermission(trim($perms[$x])))
{
$hasperm = TRUE;
break;
}
}
}
}
$access = $attribs["_template"];
$denied = $attribs["_deniedtemplate"];
if(!strlen($denied))
$denied = "login";
$m_var_list_update["cat"] = $cat;
if($hasperm)
{
$template = $access;
if(!strlen($template))
$template = $var_list["t"];
$var_list_update["t"] = $template;
}
else
{
$template = $denied;
if(!strlen($template))
$template = $var_list["t"];
if($template == "login")
{
$dest = $access;
}
$var_list_update["t"] = $template;
}
$ret = GetIndexURL()."?env=".BuildEnv();
unset($var_list_update["t"]);
if(strlen($dest))
$ret .= "&dest=$dest";
return $ret;
}
/*
@description: returns a text based on user permissions. Text from inside of the tag will be returned if text attributes are not specified and user has permissions to category, or if _NoPerm attribute set to 1 and user doesn't have permissions. Otherwise entire section will be excluded.
@attrib: _Text:lang: Template to link to if the user has access
@attrib: _PlainText:: This template is used if the user does not have a permission listed in the _perm attribute. If this attirbute is not included and the user does not have access, the "login" template is used.
@attrib: _DenyText:lang: Template to link to if the user has access
@attrib: _PlainDenyText:: This exact text is used if the user does not have a permission listed in the _perm attribute and _DenyText attribute is not set.
@attrib: _perm:: A list of permissions to check. If the user has any of the the permissions in the list, the link will be generated.
@attrib: _System:bool: Set this attribute if one of the permissions in the list is a system permission (ie: LOGIN)
@attrib: _Category:int: Set the current category to this ID. If not set, the current category is unchanged
@attrib: _MatchAllPerms:int: Checks for all listed Permissions to be TRUE. Note: this attribute is rarely used.
@attrib: _NoPerm:int: The whole tag will return inner text if user has no permissions and attribute set to 1. Default value is 0.
@example: <inp:m_perm_text _Text="!lu_allow_language_tag!" _PlainText="Just a text" _DenyText="!lu_deny_language_tag!" _PlainDenyText="Just a plain text" _Perm="login" _MatchAllPerms="1" _NoPerm="0">Some HTML here!</inp>
*/
function m_perm_text($attribs = array())
{
global $var_list, $var_list_update, $m_var_list_update, $objCatList, $objSession;
$cat = $attribs["_category"];
if(strlen($cat))
{
if($cat=="NULL")
$cat = 0;
}
else
$cat = $objCatList->CurrentCategoryID();
if(!strlen($Permission))
{
$Permission = strtoupper($attribs["_perm"]);
}
$o = "";
$hasperm = FALSE;
$count = 0;
if(strlen($Permission))
{
$perms = explode(",",$Permission);
for($x=0;$x<count($perms);$x++)
{
$_AllPermsCount[$count] = 0;
if($objSession->HasCatPermission($perms[$x],$cat))
{
$hasperm = TRUE;
$_AllPermsCount[$count] = 1;
// break;
}
$count++;
}
if(!$hasperm && $attribs["_system"])
{
for($x=0; $x<count($perms); $x++)
{
$_AllPermsCount[$count] = 0;
if($objSession->HasSystemPermission($perms[$x]))
{
$hasperm = TRUE;
$_AllPermsCount[$count] = 1;
// break;
}
$count++;
}
}
}
if ((int)$attribs["_matchallperms"])
{
if (count($_AllPermsCount) != array_sum($_AllPermsCount))
$hasperm = FALSE;
}
$text = $attribs["_text"];
$plaintext = $attribs["_plaintext"];
$denytext = $attribs["_denytext"];
$plaindenytext = $attribs["_plaindenytext"];
$nopermissions_status = (int)$attribs["_noperm"]? 1 : 0;
if(!strlen($denied))
$denied = "login";
if (!$nopermissions_status)
{
if ($hasperm)
{
if (strlen($text) || strlen($plaintext))
$ret = strlen($text)? language($text) : $plaintext;
else
$ret = "1";
}
else
$ret = strlen($denytext)? language($denytext) : $plaindenytext;
}
elseif (!$hasperm)
{
$ret = "1";
}
return $ret;
}
/*
@description: Returns the error string associated with a permission
*/
function m_permission_error($attribs = array())
{
global $objPermissions;
$ret = "";
$perm = strtoupper($_GET["error"]);
if(strlen($perm))
{
$ado = GetADODBConnection();
$sql = "SELECT * FROM ".GetTablePrefix()."PermissionConfig WHERE PermissionName ='$perm'";
$rs = $ado->Execute($sql);
if($rs && !$rs->EOF)
{
$data = $rs->fields;
$error_tag = $data["ErrorMessage"];
}
else
$error_tag = "lu_unknown_error";
$ret = language($error_tag);
}
return $ret;
}
/*
@description: Returns the error text encountered when parsing templates
*/
function m_template_error($attribs = array())
{
global $objTemplate;
$ret = "";
if($objTemplate->ErrorNo<0)
{
$ret = $objTemplate->ErrorStr;
}
return $ret;
}
/*
@description: Creates a category navigation bar
@attrib: _Template:tpl: template to use for navigation links
@attrib: _RootTemplate:bool: If set, this template is linked to for the root category
@attrib: _LinkCurrent:bool: If set, the last (current) category is linked. Otherwise the current category is simply displayed
@attrib: _Separator:: text to display between levels of the navigation bar
@attrib: _Root:: Root category configuration variable to use. (ex: Link for In-Link's root category) If not set, the system root is used
@example: <inp:m_navbar _RootTemplate="index" _Template="inbulletin/index" _LinkCurrent="1" _separator=" &gt; " />
*/
function m_navbar($attribs = array())
{
global $m_var_list_update, $var_list, $objCatList, $objConfig, $objModules;
$separator = GetElem($attribs, '_separator');
if(!$separator) $separator = "<span class=\"NAV_ARROW\"> > </span>";
$admin = (int)GetElem($attribs, 'admin');
$t = GetElem($attribs, '_template');
$LinkLeafNode = GetElem($attribs, '_linkcurrent');
$catid = (int)GetElem($attribs, '_catid');
if( GetElem($attribs, '_root') )
{
$var = GetElem($attribs, '_root')."_Root";
$Root = (int)$objConfig->Get($var);
}
else
$Root = 0;
$RootTemplate = GetElem($attribs, '_roottemplate') ? GetElem($attribs, '_roottemplate') : '';
$Module = GetElem($attribs, '_module');
$ModuleRootTemplate = '';
if($Module)
{
$ModuleRootCat = $objModules->GetModuleRoot($Module);
if($ModuleRootCat>0)
{
$modkey = "_moduleroottemplate";
$ModuleRootTemplate = GetElem($attribs, $modkey);
}
else
$ModuleRootTemplate="";
}
else
$ModuleRootCat = 0;
if(!$catid)
$catid = $objCatList->CurrentCategoryID();
$ret = $objCatList->cat_navbar($admin, $catid, $t, $separator,$LinkLeafNode,$Root,$RootTemplate,$ModuleRootCat,$ModuleRootTemplate);
return $ret;
}
/*
@description: Parse a category field and return the value
@attrib: _Field:: Category field to parse
@attrib: _CatId:int: Category ID to parse (uses current category if not set)
@attrib: _StripHTML:bool: if set, all HTML is removed from the output
*/
function m_category_field($attribs)
{
global $objCatList;
$ret = "";
$catid = (int)$attribs["_catid"];
$field = $attribs["_field"];
if(!$catid)
$catid = $objCatList->CurrentCategoryID();
if(strlen($field))
{
$cat =& $objCatList->GetCategory($catid);
if(is_object($cat))
{
$element = new clsHtmlTag();
$element->name=$cat->TagPrefix;
$element->attributes = $attribs;
$ret = $cat->ParseObject($element);
}
}
if($attribs["_striphtml"])
$ret = strip_tags($ret);
return $ret;
}
/*
@description: returns the date of the last modification to a category
@attrib: _Part:: part of the date to display
@attrib: _Local:bool: If set, only subcategories of the current category is checked
@example: <inp:m_category_modified />
*/
function m_category_modified($attribs)
{
global $objConfig, $objCatList;
$ado = GetADODBConnection();
if($attribs["_local"] && $objCatList->CurrentCategoryID() != 0)
{
$c =& $objCatList->GetItem($objCatList->CurrentCategoryID());
$catlist = $c->GetSubCatIds();
$catwhere = "CategoryId IN (".explode(",",$catlist).")";
$sql = "SELECT MAX(Modified) as ModDate,MAX(CreatedOn) as NewDate FROM ".GetTablePrefix()."Category ";
$sql .= "INNER JOIN ".GetTablePrefix()."CategoryItems ON (".GetTablePrefix()."Category.ResourceId=".GetTablePrefix()."CategoryItems.ItemResourceId) ";
$sql .= "WHERE $catwhere LIMIT 1";
}
else
$sql = "SELECT MAX(Modified) as ModDate FROM ".GetTablePrefix()."Category LIMIT 1";
$rs = $ado->Execute($sql);
if($rs && ! $rs->EOF)
{
$mod = $rs->fields["ModDate"];
if($mod)
{
$part = strtolower($attribs["_part"]);
if(strlen($part))
{
$ret = ExtractDatePart($part,$mod);
}
else
{
$ret = LangDate($mod);
}
}
}
return $ret;
}
/*
@description: creates LINK tags to include all module style sheets
@attrib: _Modules:: Accepts a comma-separated list of modules to include (ie: "In-Link, In-News, In-Bulletin")
@attrib: _*css:none: Each module may set a custom-named stylesheet. For example, for In-Link the attribute would be _In-Linkcss="..".
If a module does not have a *css attribute, the default (style.css) is assumed.
@example: <inp:m_module_stylesheets _Modules="In-Portal,In-News,In-Bulletin,In-Link" _In-PortalCss="incs/inportal_main.css" />
*/
function m_module_stylesheets($attribs)
{
global $TemplateRoot;
$IncludeList = explode(",",trim($attribs["_modules"]));
$tpath = GetModuleArray("template");
for($inc=0;$inc<count($IncludeList);$inc++)
{
$css_attr = "_".strtolower($IncludeList[$inc])."css";
if(strlen($attribs[$css_attr]))
{
$mod_css = $tpath[$IncludeList[$inc]].$attribs[$css_attr];
}
else
$mod_css = $tpath[$IncludeList[$inc]]."style.css";
$file = $TemplateRoot.$mod_css;
if(file_exists($file))
$ret .= "<link rel=\"stylesheet\" href=\"$mod_css\" type=\"text/css\" />\n";
}
return $ret;
}
/*
@description: lists items related to a category
@attrib:CatId:int: Category ID of category, or current category if not set
@attrib:_ListItem: Comma-separated list of item types (ie: Link, Topic, Category, News) The items are listed in the order this list provides, then by priority.
Each item should have its own template passed in as an attribute (_{ItemType}Template)
*/
function m_related_items($attribs)
{
global $objItemTypes, $objCatList, $content_set;
static $Related;
global $CatRelations;
$cat = $attribs["_catid"];
if(!is_numeric($cat))
{
$cat = $objCatList->CurrentCategoryID();
}
$c =& $objCatList->GetCategory($cat);
$data_sent=0;
if(is_object($c))
{
$ResourceId = $c->Get("ResourceId");
$IncludeList = explode(",",trim(strtolower($attribs["_listitems"])));
$o = "";
if(!is_object($CatRelations))
{
$CatRelations = new clsMultiTypeList();
LoadRelatedItems($Related, $CatRelations,$c->Get("ResourceId"));
}
if($CatRelations->NumItems()>0)
{
for($inc=0;$inc<count($IncludeList);$inc++)
{
$t_attr = "_".$IncludeList[$inc]."template";
$t = $attribs[$t_attr];
$item_type = $IncludeList[$inc];
if(strlen($item_type))
{
$objType = $objItemTypes->GetTypeByName($item_type);
if(is_object($objType))
{
foreach($CatRelations->Items as $item)
{
if(is_object($item))
{
if(strtolower($objType->Get("ItemName")) == strtolower($item_type) && $item->type==$objType->Get("ItemType"))
{
if(strlen($item->BasePermissionName))
{
$perm = $item->BasePermissionName.".VIEW";
$haspem = $objSession->HasCatPermission($perm,$item->Get("CategoryId"));
}
else
$hasperm = 1;
if($hasperm)
{
$data_sent =1;
$classname = $objType->Get("ClassName");
if(strlen($classname))
{
$l = new $classname;
$l->Data = $item->Data;
$o .= $l->ParseTemplate($t);
}
}
}
}
$item = NULL;
}
}
else
echo $item_type." not found <br>\n";
}
}
if($data_sent)
{
return $o;
}
else
{
$content_set=0;
return "";
}
}
else
{
$content_set = 0;
return "";
}
}
else
{
$content_set = 0;
return "";
}
}
/*
@description: Returns the number of items related to the current category
@attrib:_CatId:int: If set, this is the category ID to use, otherwise the current category is used
@attrib:_ItemType::Name of item to count. If not set, all related items are counted
*/
function m_related_count($attribs)
{
global $objItemTypes, $objCatList, $content_set;
$cat = $attribs["_catid"];
if(!is_numeric($cat))
{
$cat = $objCatList->CurrentCategoryID();
}
$c =& $objCatList->GetCategory($cat);
$data_sent=0;
//echo "Category: $cat<pre>"; print_r($c); echo " </pre>";
if(is_object($c))
{
$ResourceId = $c->Get("ResourceId");
if(!is_object($CatRelations))
{
$CatRelations = new clsMultiTypeList();
LoadRelatedItems($Related, $CatRelations, $c->Get("ResourceId"));
}
$item_type = $attribs["_itemtype"];
if(strlen($item_type))
{
$objType = $objItemTypes->GetTypeByName($item_type);
if(is_object($objType))
{
$TargetType = $objType->Get("ItemType");
}
else
$TargetType="";
}
if($CatRelations->NumItems()>0)
{
for($x=0;$x<$CatRelations->NumItems();$x++)
{
$a = $CatRelations->GetItemByIndex($x);
if($a->type == $TargetType || !strlen($TargetType))
{
$count++;
}
}
}
}
return $count;
}
/*
@description: Returns the MetaKeywords field for a category, or the system MetaKeywords value
if the category doesn't have a value for MetaKeywords
@attrib: _CatId:int: Category to use (The current category is used by default)
*/
function m_meta_keywords($attribs = array())
{
global $objCatList, $objConfig;
$catid = (int)$attribs["_catid"];
if(!$catid)
{
$catid = $objCatList->CurrentCategoryID();
}
if($catid)
{
$c = $objCatList->GetItem($catid);
$keywords = $c->Get("MetaKeywords");
}
if(!strlen($keywords))
{
$keywords = $objConfig->Get("MetaKeywords");
}
return $keywords;
}
/*
@description: Returns the MetaDescription field for a category, or the system MetaDescription value
if the category doesn't have a value for MetaDescription
@attrib: _CatId:int: Category to use (The current category is used by default)
*/
function m_meta_description($attribs = array())
{
global $objCatList, $objConfig;
$catid = (int)$attribs["_catid"];
if(!$catid)
{
$catid = $objCatList->CurrentCategoryID();
}
if($catid)
{
$c = $objCatList->GetItem($catid);
$desc = $c->Get("MetaDescription");
}
if(!strlen($desc))
{
$desc = $objConfig->Get("MetaDescription");
}
return $desc;
}
/*
@description: return the number of items in the database
@attrib: _ItemType:: Name of item to count
@attrib: _ListType:: Type of item to count (ie: favorites, editor's pick, etc)
@attrib: _CategoryCount:int: Limit scope to the current category
@attrib: _SubCats:bool: Count items in all subcategories (_CategoryCount must be set)
@attrib: _Today:bool: Count items added today
@attrib: _GroupOnly:bool: Only count items the current user can view
@attrib: _NoCache:bool: Count without using cache
*/
function m_itemcount($attribs = array())
{
global $objItemTypes, $objCatList, $objSession, $objCountCache;
$Bit_None = 0;
$Bit_Today = 1;
$Bit_Owner = 2;
$Bit_Global = 4;
$Bit_SubCats=8;
if($attribs["_categorycount"])
{
$evar = m_BuildEnv();
}
else
$evar = "";
$cat = $attribs["_catid"];
if(!is_numeric($cat))
{
$cat = $objCatList->CurrentCategoryID();
}
if((int)$cat>0)
$c = $objCatList->GetCategory($cat);
if(is_numeric($attribs["_itemtype"]))
{
$item = $objItemTypes->GetItem($attribs["_itemtype"]);
}
else
$item = $objItemTypes->GetTypeByName($attribs["_itemtype"]);
$DoUpdate=0;
//echo "<pre>"; print_r($item); echo "</pre>";
$ExtraId="";
if(is_object($item))
{
if($item->Get("ItemType")==1) /* counting categories */
{
$ret = $objCatList->CountCategories($attribs);
}
else
{
$ListVar =& GetItemCollection($attribs["_itemtype"]);
if(is_object($ListVar))
{
$ret = $ListVar->PerformItemCount($attribs);
}
}
}
else
$ret = 0;
return $ret;
}
/*
@description: Parse a User field and return the value
@attrib: _Field:: User field to parse
@attrib: _UserId:int: Category ID to parse (uses current user if not set)
*/
function m_user_field($attribs)
{
global $objUsers, $objSession;
$o = "";
$userid = $attribs["_userid"];
if(!is_numeric($userid) || $userid=="0")
$userid = $objSession->Get("PortalUserId");
if($userid)
{
$u =& $objUsers->GetItem($userid);
if(is_object($u))
{
$element = new clsHtmlTag();
$element->name = $u->TagPrefix;
$element->attributes = $attribs;
$o = $u->ParseObject($element);
}
}
return $o;
}
/*
@description: Parses a user template
@attrib:_Template:tpl: Template to parse
@attrib:_UserId:int: User ID to parse. If not set, the current user is used
*/
function m_user_detail($attribs = array())
{
global $objTemplate, $objUsers, $objSession;
$tname = $attribs["_template"];
$UserId = (int)$attribs["_userid"];
if(!$UserId)
{
$UserId=$objSession->Get("PortalUserId");
}
if($UserId>0)
{
$u = $objUsers->GetUser($UserId);
$o = $u->ParseTemplate($tname);
}
else
{
$u = new clsPortalUser(NULL);
$o = $u->ParseTemplate($tname);
}
return $o;
}
/*
@description: returns a user field from the current profile being viewed
@example:<inp:m_user_profile_field _Field="login" />
*/
function m_user_profile_field($attribs = array())
{
if((int)$_GET["UserId"])
{
$attribs["_userid"] = $_GET["UserId"];
}
$ret = m_user_field($attribs);
/* if ($ret == '') {
$ret = admin_language("lu_Guest");
}*/
return $ret;
}
/*
@description: Parses a user profile template
@attrib:_Template:tpl: Template to parse
@attrib:_UserId:int: User ID to parse. If not set, the current user is used
*/
function m_user_profile_detail($attribs)
{
if((int)$_GET["UserId"])
{
$attribs["_userid"] = $_GET["UserId"];
}
$ret = m_user_detail($attribs);
return $ret;
}
/*
@description: Lists all user profile fields the user has indicated to be public
@attrib: _ItemTemplate:tpl: Template used to list each field
@example:<inp:m_user_profile _ItemTemplate="view_profile_field" />
*/
function m_user_profile($attribs = array())
{
global $objTemplate, $objUsers;
$tname = $attribs["_itemtemplate"];
$t = $objTemplate->GetTemplate($tname);
if(is_object($t))
{
$html = $t->source;
}
$userid = $_GET["UserId"];
$o = "";
if((int)$userid>0)
{
$u = $objUsers->GetItem($userid);
$vars = $u->GetAllPersistantVars();
foreach($vars as $field=>$value)
{
if(substr($field,0,3)=="pp_")
{
if($value==1)
{
$src = $html;
$src = str_replace("<inp:user_profile_field />","<inp:user _field=\"".substr($field,3)."\" />",$src);
$src = str_replace("lu_profile_field","lu_".$field,$src);
$o .= $u->ParseTemplateText($src);
}
}
}
}
return $o;
}
/*
@description: List users the current user has marked as 'friend'
@attrib: _Status:: Determines which online status to list, either "online" or "offline".
@attrib: _ItemTemplate:tpl: Template used to parse list items
*/
function m_list_friends($attribs = array())
{
global $objUsers, $objSession;
global $online_friends;
$ado = GetADODBConnection();
$status = strtolower($attribs["_status"]);
$logedin_user = $objSession->Get("PortalUserId");
$u =& $objUsers->GetUser($logedin_user);
//echo "<pre>"; print_r($u); echo "</pre>";
if(!isset($online_friends) || $status=="online")
{
$ftable = GetTablePrefix()."Favorites";
$stable = GetTablePrefix()."UserSession";
$ptable = GetTablePrefix()."PortalUser";
if(isset($online_friends))
{
foreach($online_friends as $id=>$name)
{
$u =& $objUsers->GetUser($id);
$o .= $u->ParseTemplate($attribs["_itemtemplate"]);
}
}
else
{
$sql = "SELECT $ftable.ResourceId,$ftable.ItemTypeId, $ptable.PortalUserId,$stable.PortalUserId FROM $ftable ";
$sql .="INNER JOIN $ptable ON ($ftable.ResourceId=$ptable.ResourceId) INNER JOIN $stable ON ";
$sql .= "($ptable.PortalUserId=$stable.PortalUserId) WHERE ItemTypeId=6 AND $ftable.PortalUserId = ".$logedin_user; //$u->Data['ResourceId'];
//echo $sql;
$rs = $ado->Execute($sql);
while($rs && ! $rs->EOF)
{
$u =& $objUsers->GetItem($rs->fields["PortalUserId"]);
if($status=="online")
{
$o .= $u->ParseTemplate($attribs["_itemtemplate"]);
}
$online_friends[]=$rs->fields["PortalUserId"];
if(ADODB_EXTENSION>0)
{
adodb_movenext($rs);
}
else
$rs->MoveNext();
}
}
}
if($status=="offline")
{
$ftable = GetTablePrefix()."Favorites";
$stable = GetTablePrefix()."UserSession";
$ptable = GetTablePrefix()."PortalUser";
$sessql = "SELECT DISTINCT(PortalUserId) FROM $stable";
if(count($online_friends)>0)
{
$sql = "SELECT $ftable.ResourceId,$ftable.ItemTypeId, $ptable.PortalUserId FROM $ftable ";
$sql .="INNER JOIN $ptable ON ($ftable.ResourceId=$ptable.ResourceId) WHERE ItemTypeId=6 AND ";
$sql .= " $ptable.PortalUserId NOT IN (".implode(",",$online_friends).") AND $ftable.PortalUserId = ".$logedin_user; //$u->Data['ResourceId'];
}
else
{
$sql = "SELECT $ftable.ResourceId,$ftable.ItemTypeId, $ptable.PortalUserId FROM $ftable ";
$sql .="INNER JOIN $ptable ON ($ftable.ResourceId=$ptable.ResourceId) WHERE ItemTypeId=6 AND $ftable.PortalUserId = ".$logedin_user; //$u->Data['ResourceId'];
}
//echo $sql;
$rs = $ado->Execute($sql);
while($rs && ! $rs->EOF)
{
$u = $objUsers->GetItem($rs->fields["PortalUserId"]);
$o .= $u->ParseTemplate($attribs["_itemtemplate"]);
if(ADODB_EXTENSION>0)
{
adodb_movenext($rs);
}
else
$rs->MoveNext();
}
}
$t = $attribs["_itemtemplate"];
return $o;
}
/*
@description: Returns the number of users the current user has marked as 'friend'
@attrib: _Status:: Determines which online status to count, either "online" or "offline".
*/
function m_friend_count($attribs=array())
{
global $objUsers, $objSession;
global $online_friends;
$ado = GetADODBConnection();
$logedin_user = $objSession->Get("PortalUserId");
$u =& $objUsers->GetUser($logedin_user);
$status = strtolower($attribs["_status"]);
if(!isset($online_friends) || $status=="online")
{
$ftable = GetTablePrefix()."Favorites";
$stable = GetTablePrefix()."UserSession";
$ptable = GetTablePrefix()."PortalUser";
if(isset($online_friends) && $status="online")
{
return count($online_friends);
}
else
{
$online_friends = array();
$sql = "SELECT $ftable.ResourceId,$ftable.ItemTypeId, $ptable.PortalUserId,$stable.PortalUserId FROM $ftable ";
$sql .="INNER JOIN $ptable ON ($ftable.ResourceId=$ptable.ResourceId) INNER JOIN $stable ON ";
$sql .= "($ptable.PortalUserId=$stable.PortalUserId) WHERE ItemTypeId=6 AND $ftable.PortalUserId = ".$logedin_user; //$u->Data['ResourceId'];
//echo $sql."<br>\n";
$rs = $ado->Execute($sql);
while($rs && ! $rs->EOF)
{
$online_friends[$rs->fields["PortalUserId"]]=$rs->fields["PortalUserId"];
if(ADODB_EXTENSION>0)
{
adodb_movenext($rs);
}
else
$rs->MoveNext();
}
if($status=="online")
return count($online_friends);
}
}
if($status=="offline")
{
$ftable = GetTablePrefix()."Favorites";
$stable = GetTablePrefix()."UserSession";
$ptable = GetTablePrefix()."PortalUser";
$sessql = "SELECT DISTINCT(PortalUserId) FROM $stable";
if(count($online_friends)>0)
{
$sql = "SELECT count($ftable.ResourceId) as ItemCount FROM $ftable ";
$sql .="INNER JOIN $ptable ON ($ftable.ResourceId=$ptable.ResourceId) WHERE ItemTypeId=6 AND ";
$sql .= " $ptable.PortalUserId NOT IN (".implode(",",$online_friends).") AND $ftable.PortalUserId = ".$logedin_user; //$u->Data['ResourceId'];
}
else
{
$sql = "SELECT count($ftable.ResourceId) as ItemCount FROM $ftable ";
$sql .="INNER JOIN $ptable ON ($ftable.ResourceId=$ptable.ResourceId) WHERE ItemTypeId=6 AND $ftable.PortalUserId = ".$logedin_user; //$u->Data['ResourceId'];
}
$rs = $ado->Execute($sql);
return $rs->fields["ItemCount"];
}
}
/*
@description: Returns the number of users the current user has marked as 'friend' today
*/
function m_friend_count_today($attribs)
{
global $objSession;
$logedin_user = $objSession->Get("PortalUserId");
$ret =0;
$ado = GetADODBConnection();
$today = mktime(0,0,0,date("m"),date("d"),date("Y"));
$sql = "SELECT count(*) as c FROM ".GetTablePrefix()."Favorites WHERE ItemTypeId=6 and PortalUserId=".$objSession->Get("PortalUserId")." AND Modified>$today";
$rs = $ado->Execute($sql);
if($rs && !$rs->EOF)
$ret = $rs->fields["c"];
return $ret;
}
/*
@description: Returns the number of items in a search result
@Example: <span>(<inp:m_search_item_count _ItemType="Topic" />)</span>
*/
function m_search_item_count($attribs)
{
global $objItemTypes, $objCatList, $objSession, $CountVal;
if(!is_array($CountVal))
$CountVal=array();
$item = $objItemTypes->GetTypeByName($attribs["_itemtype"]);
if(is_object($item))
{
$val = $CountVal[$item->Get("ItemType")];
if(is_numeric($val))
return $val;
$where = "ItemType=".$item->Get("ItemType");
$table = $objSession->GetSearchTable();
$ret = TableCount($table,$where,0);
$CountVal[$item->Get("ItemType")]=(int)$ret;
}
return $ret;
}
/*
@description: Returns the number of categories in a search result
@Example: <span>(<inp:m_search_cat_count />)</span>
*/
function m_search_cat_count($attribs = array())
{
global $objItemTypes, $objCatList, $objSession, $CountVal, $objSearchCats;
if(!is_object($objSearchCats))
{
$objSearchCats = new clsCatList();
$objSearchCats->SourceTable = $objSession->GetSearchTable();
$objSearchCats->Clear();
}
LoadCatSearchResults($attribs);
//echo "<pre>"; print_r($objSearchCats->Items); echo "</pre>";
$ret = 0;
$keywords = $objSession->GetVariable("Search_Keywords");
if ($keywords) {
foreach ($objSearchCats->Items as $cat) {
if (strstr(strip_tags(strtolower($cat->Data['Name'])), strtolower($keywords)) || strstr(strip_tags(strtolower($cat->Data['Description'])), strtolower($keywords))) {
$ret++;
}
}
}
else {
$ret = $objSearchCats->QueryItemCount;
}
//echo $ret;
//$objSearchCats->QueryItemCount = $ret;
return $ret;
}
/*
@description: Returns super global variable by type and name
@attrib: _Name:: Name of variable
@attrib: _Type:: Type super global variable <br>Possible Values:
<UL>
<LI>get: $_GET super variable
<LI>post: $_POST super variable
<LI>cookie: $_COOKIE super variable
<LI>env: $_ENV super variable
<LI>server: $_SERVER super variable
<LI>session: $_SESSION super variable
</UL>
@Example: <inp:m_get_var _name="url" _type="get" />
*/
function m_get_var($attribs = array())
{
global $_GET, $_POST, $_COOKIE, $_FILES, $_ENV, $_SERVER, $_SESSION;
$type = strtolower($attribs['_type']);
$name = $attribs['_name'];
switch ($type)
{
case "get":
$vars = $_GET;
break;
case "cookie":
$vars = $_COOKIE;
break;
case "files":
$vars = $_FILES;
break;
case "server":
$vars = $_SERVER;
break;
case "session":
$vars = $_SESSION;
break;
case "env":
$vars = $_ENV;
break;
case "post":
$vars = $_POST;
break;
default :
$vars = $_POST;
break;
}
$ret = $vars[$name];
return $ret;
}
/*
@description: Returns number of users currently on-line
@attrib: _LastActive:: Last user/session activity in seconds
@attrib: _OwnCount:bool: Count user's own session
*/
function m_users_online($attribs = array())
{
global $objSession;
$LastActive = (int)($attribs['_lastactive']);
$OwnCount = (int)($attribs['_owncount']);
if ($LastActive && !is_null($LastActive))
$sql_add = " AND LastAccessed>".(time()-$LastActive);
if (!$OwnCount || is_null($OwnCount))
$sql_add.= " AND SessionKey!='".$objSession->GetSessionKey()."'";
$ado = GetADODBConnection();
$sql = "SELECT COUNT(*) AS Counter FROM ".GetTablePrefix()."UserSession WHERE Status=1".$sql_add;
$rs = $ado->Execute($sql);
$ret = ($rs && !$rs->EOF)? $rs->fields["Counter"] : 0;
return $ret;
}
?>
Property changes on: trunk/kernel/parser.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1
\ No newline at end of property
+1.2
\ No newline at end of property
Index: trunk/kernel/include/parseditem.php
===================================================================
--- trunk/kernel/include/parseditem.php (revision 28)
+++ trunk/kernel/include/parseditem.php (revision 29)
@@ -1,2748 +1,2751 @@
<?php
global $ItemTypePrefixes;
$ItemTypePrefixes = array();
$ItemTagFiles = array();
function RegisterPrefix($class,$prefix,$file)
{
global $ItemTypePrefixes, $ItemTagFiles;
$ItemTypePrefixes[$class] = $prefix;
$ItemTagFiles[$prefix] = $file;
}
class clsParsedItem extends clsItemDB
{
var $TagPrefix;
var $Parser;
var $AdminParser;
function clsParsedItem($id=NULL)
{
global $TemplateRoot;
$this->clsItemDB();
$this->Parser = new clsTemplateList($TemplateRoot);
$this->AdminParser = new clsAdminTemplateList();
}
/* function ParseObject($element)
{
$extra_attribs = ExtraAttributes($element->attributes);
if(strtolower($element->name)==$this->TagPrefix)
{
$field = strtolower($element->attributes["_field"]);
$tag = $this->TagPrefix."_".$field;
$ret = $this->parsetag($tag);
}
return $ret;
}
*/
function ParseTimeStamp($d,$attribs=array())
{
if($attribs["_tz"])
{
$d = GetLocalTime($d,$objSession->Get("tz"));
}
$part = strtolower($attribs["_part"]);
if(strlen($part))
{
$ret = ExtractDatePart($part,$d);
}
else
{
if($d<=0)
{
$ret = "";
}
else
$ret = LangDate($d);
}
return $ret;
}
function ParseObject($element)
{
global $objConfig, $objCatList, $var_list_update, $var_list, $n_var_list_update, $m_var_list_update;
$extra_attribs = ExtraAttributes($element->attributes);
$ret = "";
if ($this->TagPrefix == "email" && strtolower($element->name) == "touser") {
$this->TagPrefix = "touser";
}
if(strtolower($element->name)==$this->TagPrefix)
{
$field = strtolower($element->attributes["_field"]);
switch($field)
{
case "id":
$ret = $this->Get($this->id_field);
break;
case "resourceid":
if(!$this->NoResourceId)
$ret = $this->Get("ResourceId");
break;
case "category":
$c = $objCatList->GetItem($this->Get("CategoryId"));
if(is_object($c))
{
$ret = $c->parsetag($element->attributes["_cattag"]);
}
break;
case "priority":
if($this->Get("Priority")!=0)
{
$ret = (int)$this->Get("Priority");
}
else
$ret = "";
break;
case "link":
if(method_exists($this,"ItemURL"))
{
$ret = $this->ItemURL($element->attributes["_template"],FALSE,"");
}
break;
case "cat_link":
if(method_exists($this,"ItemURL"))
{
$ret = $this->ItemURL($element->attributes["_template"],TRUE,"");
}
break;
case "fullpath":
$ret = $this->Get("CachedNavbar");
if(!strlen($ret))
{
if(is_numeric($this->Get("CategoryId")))
{
$c = $objCatList->GetItem($this->Get("CategoryId"));
if(is_object($c))
$ret = $c->Get("CachedNavbar");
}
else
{
if(method_exists($this,"GetPrimaryCategory"))
{
$cat = $this->GetPrimaryCategory();
$c = $objCatList->GetItem($cat);
if(is_object($c))
$ret = $c->Get("CachedNavbar");
}
}
}
// $ret = $this->HighlightText($ret);
break;
case "relevance":
$style = $element->attributes["_displaymode"];
if(!strlen($style))
$style = "numerical";
switch ($style)
{
case "numerical":
$ret = (100 * LangNumber($this->Get("Relevance"),1))."%";
break;
case "bar":
$OffColor = $element->attributes["_offbackgroundcolor"];
$OnColor = $element->attributes["_onbackgroundcolor"];
$percentsOff = (int)(100 - (100 * $this->Get("Relevance"))); if ($percentsOff)
{
$percentsOn = 100 - $percentsOff;
$ret = "<td width=\"$percentsOn%\" bgcolor=\"$OnColor\"><img src=\"img/s.gif\"></td><td width=\"$percentsOff%\" bgcolor=\"$OffColor\"><img src=\"img/s.gif\"></td>";
}
else
$ret = "<td width=\"100%\" bgcolor=\"$OnColor\"><img src=\"img/s.gif\"></td>";
break;
case "graphical":
$OnImage = $element->attributes["_onimage"];
if (!strlen($OnImage))
break;
// Get image extension
$image_data = explode(".", $OnImage);
$image_ext = $image_data[count($image_data)-1];
unset($image_data[count($image_data)-1]);
$rel = (10 * LangNumber($this->Get("Relevance"),1));
$OnImage1 = join(".", $image_data);
if ($rel)
$img_src = $OnImage1."_".$rel.".".$image_ext;
else
$img_src = $OnImage;
$ret = "<img src=\"$img_src\" border=\"0\" alt=\"".(10*$rel)."\">";
break;
}
break;
case "rating":
$style = $element->attributes["_displaymode"];
if(!strlen($style))
$style = "numerical";
switch($style)
{
case "numerical":
$ret = LangNumber($this->Get("CachedRating"),1);
break;
case "text":
$ret = RatingText($this->Get("CachedRating"));
break;
case "graphical":
$OnImage = $element->attributes["_onimage"];
$OffImage = $element->attributes["_offimage"];
$images = RatingTickImage($this->Get("CachedRating"),$OnImage,$OffImage);
for($i=1;$i<=count($images);$i++)
{
$url = $images[$i];
if(strlen($url))
{
$ret .= "<IMG src=\"$url\" $extra_attribs >";
$ret .= $element->attributes["_separator"];
}
}
break;
}
break;
case "reviews":
$today = FALSE;
if(method_exists($this,"ReviewCount"))
{
if($element->attributes["_today"])
$today = TRUE;
$ret = $this->ReviewCount($today);
}
else
$ret = "";
break;
case "votes":
$ret = (int)$this->Get("CachedVotesQty");
break;
case "favorite":
if(method_exists($this,"IsFavorite"))
{
if($this->IsFavorite())
{
$ret = $element->attributes["_label"];
if(!strlen($ret))
$ret = "lu_favorite";
$ret = language($ret);
}
else
$ret = "";
}
break;
case "new":
if(method_exists($this,"IsNewItem"))
{
if($this->IsNewItem())
{
$ret = $element->attributes["_label"];
if(!strlen($ret))
$ret = "lu_new";
$ret = language($ret);
}
else
$ret = "";
}
break;
case "pop":
if(method_exists($this,"IsPopItem"))
{
if($this->IsPopItem())
{
$ret = $element->attributes["_label"];
if(!strlen($ret))
$ret = "lu_pop";
$ret = language($ret);
}
else
$ret = "";
}
break;
case "hot":
if(method_exists($this,"IsHotItem"))
{
if($this->IsHotItem())
{
$ret = $element->attributes["_label"];
if(!strlen($ret))
$ret = "lu_hot";
$ret = language($ret);
}
else
$ret = "";
}
break;
case "pick":
if($this->Get("EditorsPick")==1)
{
$ret = $element->attributes["_label"];
if(!strlen($ret))
$ret = "lu_pick";
$ret = language($ret);
}
else
$ret = "";
break;
case "admin_icon":
if(method_exists($this,"StatusIcon"))
{
if($element->attributes["fulltag"])
{
$ret = "<IMG $extra_attribs SRC=\"".$this->StatusIcon()."\">";
}
else
$ret = $this->StatusIcon();
}
break;
case "custom":
if(method_exists($this,"GetCustomFieldValue"))
{
$field = $element->attributes["_customfield"];
$default = $element->attributes["_default"];
if (strlen($field))
$ret = $this->GetCustomFieldValue($field,$default);
}
break;
case "image":
$default = $element->attributes["_primary"];
$name = $element->attributes["_name"];
if(strlen($name))
{
$img = $this->GetImageByName($name);
}
else
{
if($default)
$img = $this->GetDefaultImage();
}
if(is_object($img))
{
if(strlen($element->attributes["_imagetemplate"]))
{
$ret = $img->ParseTemplate($element->attributes["_imagetemplate"]);
break;
}
else
{
if($element->attributes["_thumbnail"])
{
$url = $img->parsetag("thumb_url");
}
else
{
if(!$element->attributes["_nothumbnail"])
{
$url = $img->parsetag("image_url");
}
else
{
$url = $img->FullURL(TRUE,"");
}
}
}
}
else
{
$url = $element->attributes["_defaulturl"];
}
if($element->attributes["_imagetag"])
{
if(strlen($url))
{
$ret = "<IMG src=\"$url\" $extra_attribs >";
}
else
$ret = "";
}
else
$ret = $url;
break;
default:
$ret = "Undefined:".$element->name;
break;
}
}
else if ($this->TagPrefix == 'email'){
$ret = "Undefined:".$element->name;
}
return $ret;
}
function ParseString($name)
{
$el = new clsHtmlTag();
$el->Clear();
$el->prefix = "inp";
$el->name = $name;
$numargs = func_num_args();
$arg_list = func_get_args();
for ($i = 1; $i < $numargs; $i++)
{
$attr = $arg_list[$i];
$parts = explode("=",$attr,2);
$name = $parts[0];
$val = $parts[1];
$el->attributes[$name] = $val;
}
return $this->ParseObject($el);
}
/* pass attributes as strings
ie: ParseStringEcho('tagname','_field="something" _data="somethingelse"');
*/
function ParseStringEcho($name)
{
$el = new clsHtmlTag();
$el->Clear();
$el->prefix = "inp";
$el->name = $name;
$numargs = func_num_args();
$arg_list = func_get_args();
for ($i = 1; $i < $numargs; $i++)
{
$attr = $arg_list[$i];
$parts = explode("=",$attr,2);
$name = $parts[0];
$val = $parts[1];
$el->attributes[$name] = $val;
}
echo $this->ParseObject($el);
}
function ParseElement($raw, $inner_html ="")
{
$tag = new clsHtmlTag($raw);
$tag->inner_html = $inner_html;
if($tag->parsed)
{
if($tag->name=="include" || $tag->name=="perm_include" || $tag->name=="lang_include")
{
$output = $this->Parser->IncludeTemplate($tag);
}
else
{
$output = $this->ParseObject($tag);
//echo $output."<br>";
if(substr($output,0,9)=="Undefined")
{
$output = $tag->Execute();
// if(substr($output,0,8)="{Unknown")
// $output = $raw;
} return $output;
}
}
else
return "";
}
function AdminParseTemplate($file)
{
$html = "";
$t = $this->AdminParser->GetTemplate($file);
if(is_object($t))
{
array_push($this->AdminParser->stack,$file);
$html = $t->source;
$next_tag = strpos($html,"<inp:");
while($next_tag)
{
$end_tag = strpos($html,"/>",$next_tag);
$tagtext = substr($html,$next_tag,($end_tag - $next_tag)+2);
$pre = substr($html,0,$next_tag);
$post = substr($html,$end_tag+2);
$inner = $this->ParseElement($tagtext);
$html = $pre.$inner.$post;
$next_tag = strpos($html,"<inp:");
}
array_pop($this->AdminParser->stack);
}
return $html;
}
function ParseTemplateText($text)
{
$html = $text;
$search = "<inp:".$this->TagPrefix;
$next_tag = strpos($html,"<inp:");
//$next_tag = strpos($html,$search);
while($next_tag)
{
$closer = strpos(strtolower($html),">",$next_tag);
$end_tag = strpos($html,"/>",$next_tag);
if($end_tag < $closer || $closer == 0)
{
$tagtext = substr($html,$next_tag,($end_tag - $next_tag)+2);
$pre = substr($html,0,$next_tag);
$post = substr($html,$end_tag+2);
$inner = $this->ParseElement($tagtext);
$html = $pre.$inner.$post;
}
else
{
$OldTagStyle = "</inp>";
## Try to find end of TagName
$TagNameEnd = strpos($html, " ", $next_tag);
## Support Old version
// $closer = strpos(strtolower($html),"</inp>",$next_tag);
if ($TagNameEnd)
{
$Tag = strtolower(substr($html, $next_tag, $TagNameEnd-$next_tag));
$TagName = explode(":", $Tag);
if (strlen($TagName[1]))
$CloserTag = "</inp:".$TagName[1].">";
}
else
{
$CloserTag = $OldTagStyle;
}
$closer = strpos(strtolower($html), $CloserTag, $next_tag);
## Try to find old tag closer
if (!$closer && ($CloserTag != $OldTagStyle))
{
$CloserTag = $OldTagStyle;
$closer = strpos(strtolower($html), $CloserTag, $next_tag);
}
$end_tag = strpos($html,">",$next_tag);
$tagtext = substr($html,$next_tag,($end_tag - $next_tag)+1);
$pre = substr($html,0,$next_tag);
$inner = substr($html,$end_tag+1,$closer-($end_tag+1));
$post = substr($html,$end_tag+1+strlen($inner) + strlen($CloserTag));
//echo "PRE:". htmlentities($pre,ENT_NOQUOTES);
//echo "INNER:". htmlentities($inner,ENT_NOQUOTES);
//echo "POST:". htmlentities($post,ENT_NOQUOTES);
$parsed = $this->ParseElement($tagtext);
if(strlen($parsed))
{
$html = $pre.$this->ParseTemplateText($inner).$post;
}
else
$html = $pre.$post;
}
$next_tag = strpos($html,$search);
}
return $html;
}
function ParseTemplate($tname)
{
global $objTemplate, $LogLevel,$ptime,$timestart;
LogEntry("Parsing $tname\n");
$LogLevel++;
$html = "";
$t = $objTemplate->GetTemplate($tname);
//$t = $this->Parser->GetTemplate($tname);
if(is_object($t))
{
array_push($this->Parser->stack,$tname);
$html = $t->source;
$html = $this->ParseTemplateText($html);
array_pop($this->Parser->stack);
}
$LogLevel--;
LogEntry("Finished Parsing $tname\n");
$ptime = round(getmicrotime() - $timestart,6);
$xf = 867530; //Download ID
if($xf != 0)
{
$x2 = substr($ptime,-6);
$ptime .= $xf ^ $x2; //(1/1000);
}
return $html;
}
function SendUserEventMail($EventName,$ToUserId,$LangId=NULL,$RecptName=NULL)
{
global $objMessageList,$FrontEnd;
$Event =& $objMessageList->GetEmailEventObject($EventName,0,$LangId);
if(is_object($Event))
{
if($Event->Get("Enabled")=="1" || ($Event->Get("Enabled")==2 && $FrontEnd))
{
$Event->Item = $this;
if(is_numeric($ToUserId))
{
return $Event->SendToUser($ToUserId);
}
else
return $Event->SendToAddress($ToUserId,$RecptName);
}
}
}
function SendAdminEventMail($EventName,$LangId=NULL)
{
global $objMessageList,$FrontEnd;
//echo "Firing Admin Event $EventName <br>\n";
$Event =& $objMessageList->GetEmailEventObject($EventName,1,$LangId);
if(is_object($Event))
{
if($Event->Get("Enabled")=="1" || ($Event->Get("Enabled")==2 && $FrontEnd))
{
$Event->Item = $this;
//echo "Admin Event $EventName Enabled <br>\n";
return $Event->SendAdmin($ToUserId);
}
}
}
function parse_template($t)
{
}
}
class clsItemCollection
{
var $Items;
var $CurrentItem;
var $adodbConnection;
var $classname;
var $SourceTable;
var $LiveTable;
var $QueryItemCount;
var $AdminSearchFields = array();
var $SortField;
var $debuglevel;
var $id_field = null; // id field for list item
var $BasePermission;
var $Dummy = null;
function SetTable($action, $table_name = null) // new by Alex
{
// $action = {'live', 'restore','edit'}
switch($action)
{
case 'live':
$this->LiveTable = $table_name;
$this->SourceTable = $this->LiveTable;
break;
case 'restore':
$this->SourceTable = $this->LiveTable;
break;
case 'edit':
global $objSession;
$this->SourceTable = $objSession->GetEditTable($this->LiveTable);
break;
}
}
function &GetDummy() // new by Alex
{
if( !isset($this->Dummy) )
$this->Dummy =& new $this->classname();
$this->Dummy->tablename = $this->SourceTable;
return $this->Dummy;
}
function clsItemCollection()
{
$this->adodbConnection = GetADODBConnection();
$this->Clear();
$this->BasePermission="";
}
function GetIDField() // new by Alex
{
// returns id field for list item
if( !isset($this->id_field) )
{
$dummy =& $this->GetDummy();
$this->id_field = $dummy->IdField();
}
return $this->id_field;
}
function &GetNewItemClass()
{
return new $this->classname();
}
function Clear()
{
unset($this->Items);
$this->Items = array();
$this->CurrentItem=0;
}
function &SetCurrentItem($id)
{
$this->CurrentItem=$id;
return $this->GetItem($id);
}
function &GetCurrentItem()
{
if($this->CurrentItem>0)
{
return $this->GetItem($this->CurrentItem);
}
else
return FALSE;
}
function NumItems()
{
if(is_array($this->Items))
{
-// echo "TEST COUNT: ".count($this->Items);
+// echo "TEST COUNT: ".count($this->Items)."<BR>";
return count($this->Items);
}
else
return 0;
}
function ItemLike($index, $string)
{
// check if any of the item field
// even partially matches $string
$found = false;
$string = strtolower($string);
$item_data = $this->Items[$index]->GetData();
foreach($item_data as $field => $value)
if( in_array($field, $this->AdminSearchFields) )
if( strpos(strtolower($value), $string) !== false)
{
$found = true;
break;
}
return $found;
}
function DeleteItem($index) // by Alex
{
// deletes item with specific index from list
$i = $index; $item_count = $this->NumItems();
while($i < $item_count - 1)
{
$this->Items[$i] = $this->Items[$i + 1];
$i++;
}
unset($this->Items[$i]);
}
function ShowItems()
{
$i = 0; $item_count = $this->NumItems();
while($i < $item_count)
{
echo "Item No <b>$i</b>:<br>";
$this->Items[$i]->PrintVars();
$i++;
}
}
function SwapItems($Index,$Index2)
{
$temp = $this->Items[$Index]->GetData();
$this->Items[$Index]->SetData($this->Items[$Index2]->GetData());
$this->Items[$Index2]->SetData($temp);
}
function CopyResource($OldId,$NewId)
{
$this->Clear();
$sql = "SELECT * FROM ".$this->SourceTable." WHERE ResourceId=$OldId";
$this->Query_Item($sql);
// echo $sql."<br>\n";
if($this->NumItems()>0)
{
foreach($this->Items as $item)
{
$item->UnsetIdField();
$item->Set("ResourceId",$NewId);
$item->Create();
}
}
}
function ItemsOnClipboard()
{
global $objSession;
$clip = $objSession->GetPersistantVariable("ClipBoard");
$count = 0;
$table = $this->SourceTable;
$prefix = GetTablePrefix();
if(substr($table,0,strlen($prefix))==$prefix)
$table = substr($table,strlen($prefix));
if(strlen($clip))
{
$clipboard = ParseClipboard($clip);
if($clipboard["table"] == $table)
{
$count = count(explode(",",$clipboard["ids"]));
}
else
$count = 0;
}
else
$count = 0;
return $count;
}
function CopyToClipboard($command,$idfield, $idlist)
{
global $objSession,$objCatList;
if(is_array($idlist))
{
$list = implode(",",$idlist);
}
else
$list = $idlist;
$clip = $command."-".$objCatList->CurrentCategoryID().".".$this->SourceTable.".$idfield=".$list;
$objSession->SetVariable("ClipBoard",$clip);
}
function SortItems($asc=TRUE)
{
$done = FALSE;
$field = $this->SortField;
$ItemCount = $this->NumItems();
while(!$done)
{
$done=TRUE;
for($i=1;$i<$this->NumItems();$i++)
{
$doswap = FALSE;
if($asc)
{
$val1 = $this->Items[$i-1]->Get($field);
$val2 = $this->Items[$i]->Get($field);
$doswap = ($val1 > $val2);
}
else
{
$val1 = $this->Items[$i-1]->Get($field);
$val2 = $this->Items[$i]->Get($field);
$doswap = ($val1 < $val2);
}
if($doswap)
{
$this->SwapItems($i-1,$i);
$done = FALSE;
}
}
}
}
function &GetItem($ID,$LoadFromDB=TRUE)
{
$found=FALSE;
if(is_array($this->Items))
{
for($x=0;$x<count($this->Items);$x++)
{
$i =& $this->GetItemRefByIndex($x);
if($i->UniqueID()==$ID)
{
$found=TRUE;
break;
}
}
}
if(!$found)
{
if($LoadFromDB)
{
$n = NULL;
$n = new $this->classname();
$n->tablename = $this->SourceTable;
$n->LoadFromDatabase($ID);
$index = array_push($this->Items, $n);
$i =& $this->Items[count($this->Items)-1];
}
else
$i = FALSE;
}
return $i;
}
function GetItemByIndex($index)
{
return $this->Items[$index];
}
function &GetItemRefByIndex($index)
{
return $this->Items[$index];
}
function &GetItemByField($Field,$Value,$LoadFromDB=TRUE)
{
$found=FALSE;
if(is_array($this->Items))
{
foreach($this->Items as $i)
{
if($i->Get($Field)==$Value)
{
$found = TRUE;
break;
}
}
}
if(!$found && $LoadFromDB==TRUE)
{
$sql = "SELECT * FROM ".$this->SourceTable." WHERE $Field = '$Value'";
//echo $sql;
$res = $this->adodbConnection->Execute($sql);
if($res && !$res->EOF)
{
$i = $this->AddItemFromArray($res->fields);
$i->tablename = $this->SourceTable;
$i->Clean();
}
else
$i = FALSE;
}
return $i;
}
function GetPage($Page, $ItemsPerPage)
{
$result = array_slice($this->Items, ($Page * $ItemsPerPage) - $ItemsPerPage, $ItemsPerPage);
return $result;
}
function GetNumPages($ItemsPerPage)
{
return GetPageCount($ItemsPerPage,$this->QueryItemCount);
}
function &AddItemFromArray($data, $clean=FALSE)
{
$class = new $this->classname;
$class->SetFromArray($data);
$class->tablename = $this->SourceTable;
if($clean==TRUE)
$class->Clean();
//array_push($this->Items,$class);
$this->Items[] =& $class;
return $class;
}
function Query_Item($sql, $offset=-1,$rows=-1)
{
global $Errors;
$dummy =& $this->GetDummy();
if( !$dummy->TableExists() )
{
if($this->debuglevel) echo "ERROR: table <b>".$dummy->tablename."</b> missing.<br>";
$this->Clear();
return false;
}
if($rows>-1 && $offset>-1)
{
//echo "<b>Executing SelectLimit</b> $sql <b>Offset:</b> $offset,$rows<br>\n";
$result = $this->adodbConnection->SelectLimit($sql, $rows,$offset);
}
else {
//echo $sql."<br><br>";
$result = $this->adodbConnection->Execute($sql);
}
if ($result === false)
{
$Errors->AddError("error.DatabaseError",NULL,$this->adodbConnection->ErrorMsg(),"",get_class($this),"Query_Item");
echo '<br><br>'.$sql.'<br><br>';
echo "Error: ".$this->adodbConnection->ErrorMsg()."<br>";
return false;
}
$this->Clear();
if($this->debuglevel > 0)
{
echo "This SQL: $sql<br>";
if( ($this->debuglevel > 1) && ($result->RecordCount() > 0) )
{
echo '<pre>'.print_r($result->GetRows(), true).'</pre>';
$result->MoveFirst();
}
}
LogEntry("SQL Loop Start\n");
$count = 0;
while ($result && !$result->EOF)
{
$count++;
$data = $result->fields;
$this->AddItemFromArray($data,TRUE);
if( defined('ADODB_EXTENSION') && constant('ADODB_EXTENSION') > 0 )
adodb_movenext($result);
else
$result->MoveNext();
}
LogEntry("SQL Loop End ($count iterations)\n");
return $this->Items;
}
function GetOrderClause($FieldVar,$OrderVar,$DefaultField,$DefaultVar,$Priority=TRUE,$UseTableName=FALSE)
{
global $objConfig, $objSession;
if($UseTableName)
{
$TableName = $this->SourceTable.".";
}
else
$TableName = "";
$PriorityClause = $TableName."EditorsPick DESC, ".$TableName."Priority DESC";
if(strlen(trim($FieldVar))>0)
{
if(is_object($objSession))
{
if(strlen($objSession->GetPersistantVariable($FieldVar))>0)
{
$OrderBy = trim($TableName.$objSession->GetPersistantVariable($FieldVar) . " ".
$objSession->GetPersistantVariable($OrderVar));
$FieldUsed = $objSession->GetPersistantVariable($FieldVar);
}
}
$OrderBy = trim($OrderBy);
if (strlen(trim($OrderBy))==0)
{
if(!$UseTableName)
{
$OrderBy = trim($DefaultField." ".$DefaultVar);
}
else
{
if(strlen(trim($DefaultField))>0)
{
$OrderBy = $this->SourceTable.".".$DefaultField.".".$DefaultVar;
}
$FieldUsed=$DefaultField;
}
}
}
if(($FieldUsed != "Priority" || strlen($OrderBy)==0) && $Priority==TRUE)
{
if(strlen($OrderBy)==0)
{
$OrderBy = $PriorityClause;
}
else
$OrderBy = $PriorityClause.", ".$OrderBy;
}
return $OrderBy;
}
function GetResourceIDList()
{
$ret = array();
foreach($this->Items as $i)
array_push($ret,$i->Get("ResourceId"));
return $ret;
}
function GetFieldList($field)
{
$ret = array();
foreach($this->Items as $i)
array_push($ret,$i->Get($field));
return $ret;
}
function SetCommonField($FieldName,$FieldValue)
{
for($i=0;$i<$this->NumItems();$i++)
{
$this->Items[$i]->Set($FieldName,$fieldValue);
$this->Items[$i]->Update();
}
}
function ClearCategoryItems($CatId,$CatTable = "CategoryItems")
{
$CatTable = AddTablePrefix($CatTable);
$sql = "SELECT * FROM ".$this->SourceTable." INNER JOIN $CatTable ".
" ON (".$this->SourceTable.".ResourceId=$CatTable.ItemResourceId) WHERE CategoryId=$CatId";
$this->Clear();
$this->Query_Item($sql);
if($this->NumItems()>0)
{
foreach($this->Items as $i)
{
$i->DeleteCategoryItems($CatId,$CatTable);
}
}
}
function CopyToEditTable($idfield = null, $idlist = 0)
{
global $objSession;
if($idfield == null) $idfield = $this->GetIDField();
$edit_table = $objSession->GetEditTable($this->SourceTable);
@$this->adodbConnection->Execute("DROP TABLE IF EXISTS $edit_table");
if(is_array($idlist))
{
$list = implode(",",$idlist);
}
else
$list = $idlist;
$query = "SELECT * FROM ".$this->SourceTable." WHERE $idfield IN ($list)";
$insert = "CREATE TABLE ".$edit_table." ".$query;
if($objSession->HasSystemPermission("DEBUG.LIST"))
echo htmlentities($insert,ENT_NOQUOTES)."<br>\n";
$this->adodbConnection->Execute($insert);
}
function CreateEmptyEditTable($idfield = null)
{
global $objSession;
if($idfield == null) $idfield = $this->GetIDField();
$edit_table = $objSession->GetEditTable($this->SourceTable);
@$this->adodbConnection->Execute("DROP TABLE IF EXISTS $edit_table");
$query = "SELECT * FROM ".$this->SourceTable." WHERE $idfield = -1";
$insert = "CREATE TABLE ".$edit_table." ".$query;
if($objSession->HasSystemPermission("DEBUG.LIST"))
echo htmlentities($insert,ENT_NOQUOTES)."<br>\n";
$this->adodbConnection->Execute($insert);
}
function CopyFromEditTable($idfield = null)
{
global $objSession;
$dropRelTableFlag = false;
if($idfield == null) $idfield = $this->GetIDField();
$edit_table = $objSession->GetEditTable($this->SourceTable);
$sql = "SELECT * FROM $edit_table";
$rs = $this->adodbConnection->Execute($sql);
// echo $sql."<BR>";
while($rs && !$rs->EOF)
{
$data = $rs->fields;
$c = new $this->classname;
$c->SetFromArray($data);
$c->idfield = $idfield;
$c->Dirty();
if($c->Get($idfield)<1)
{
$old_id = $c->Get($idfield);
$c->UnsetIdField();
if(!is_numeric($c->Get("OrgId")) || $c->Get("OrgId")==0)
{
$c->Clean(array("OrgId"));
}
else
{
if($c->Get("Status") != -2)
{
$org = new $this->classname();
$org->LoadFromDatabase($c->Get("OrgId"));
$org->DeleteCustomData();
$org->Delete(TRUE);
$c->Set("OrgId",0);
}
}
$c->Create();
}
if(is_numeric($c->Get("ResourceId")))
{
if( isset($c->Related) && is_object($c->Related) )
{
$r = $c->Related;
$r->CopyFromEditTable($c->Get("ResourceId"));
$dropRelTableFlag = true;
}
unset($r);
if( isset($c->Reviews) && is_object($c->Reviews) )
{
$r = $c->Reviews;
$r->CopyFromEditTable($c->Get("ResourceId"));
}
}
if(!is_numeric($c->Get("OrgId")) || $c->Get("OrgId")==0)
{
$c->Clean(array("OrgId"));
}
else
{
if($c->Get("Status") != -2)
{
$org = new $this->classname();
$org->LoadFromDatabase($c->Get("OrgId"));
$org->DeleteCustomData();
$org->Delete(TRUE);
$c->Set("OrgId",0);
}
}
if(method_exists($c,"CategoryMemberList"))
{
$cats = $c->CategoryMemberList($objSession->GetEditTable("CategoryItems"));
//echo "CATS: [$cats]<br>";
$c->Update();
UpdateCategoryItems($c,$cats);
}
else
$c->Update();
unset($c);
unset($r);
$rs->MoveNext();
}
if ($dropRelTableFlag)
{
$objRelGlobal = new clsRelationshipList();
$objRelGlobal->PurgeEditTable();
}
@$this->adodbConnection->Execute("DROP TABLE IF EXISTS $edit_table");
@$this->adodbConnection->Execute("DROP TABLE IF EXISTS ".$objSession->GetEditTable("CategoryItems"));
}
function GetNextTempID()
{
// get next temporary id (lower then zero) from temp table
$db =& $this->adodbConnection;
$sql = 'SELECT MIN(%s) AS MinValue FROM %s';
return $db->GetOne( sprintf($sql, $this->GetIDField(), $this->SourceTable) ) - 1;
}
function PurgeEditTable($idfield = null)
{
global $objSession;
if($idfield == null) $idfield = $this->GetIDField();
$edit_table = $objSession->GetEditTable($this->SourceTable);
/* $rs = $this->adodbConnection->Execute("SELECT * FROM $edit_table");
while($rs && !$rs->EOF)
{
$data = $rs->fields;
$c = new $this->classname;
$c->SetFromArray($data);
$c->id_field = $idfield;
$c->tablename = $edit_table;
$c->Delete();
$rs->MoveNext();
}*/
@$this->adodbConnection->Execute("DROP TABLE IF EXISTS $edit_table");
@$this->adodbConnection->Execute("DROP TABLE IF EXISTS ".$objSession->Get("CategoryItems"));
}
function CopyCatListToEditTable($idfield, $idlist)
{
global $objSession;
$edit_table = $objSession->GetEditTable("CategoryItems");
@$this->adodbConnection->Execute("DROP TABLE IF EXISTS $edit_table");
if(is_array($idlist))
{
$list = implode(",",$idlist);
}
else
$list = $idlist;
$query = "SELECT * FROM ".GetTablePrefix()."CategoryItems WHERE $idfield IN ($list)";
$insert = "CREATE TABLE ".$edit_table." ".$query;
if($objSession->HasSystemPermission("DEBUG.LIST"))
echo htmlentities($insert,ENT_NOQUOTES)."<br>\n";
$this->adodbConnection->Execute($insert);
}
function CreateEmptyCatListTable($idfield)
{
global $objSession;
$edit_table = $objSession->GetEditTable("CategoryItems");
@$this->adodbConnection->Execute("DROP TABLE IF EXISTS $edit_table");
$query = "SELECT * FROM ".GetTablePrefix()."CategoryItems WHERE $idfield = -1";
$insert = "CREATE TABLE ".$edit_table." ".$query;
if($objSession->HasSystemPermission("DEBUG.LIST"))
echo htmlentities($insert,ENT_NOQUOTES)."<br>\n";
$this->adodbConnection->Execute($insert);
}
function PurgeCatListEditTable()
{
global $objSession;
$edit_table = $objSession->GetEditTable("CategoryItems");
$this->adodbConnection->Execute("DROP TABLE IF EXISTS $edit_table");
}
function AdminSearchWhereClause($SearchList)
{
$sql = "";
if(!is_array($SearchList))
{
$SearchList = explode(",",$SearchList);
}
if(!count($SearchList) || !count($this->AdminSearchFields))
return "";
for($f=0;$f<count($SearchList);$f++)
{
$value = $SearchList[$f];
if(strlen($value))
{
$inner_sql = "";
for($i=0; $i<count($this->AdminSearchFields);$i++)
{
$field = $this->AdminSearchFields[$i];
if(strlen(trim($value)))
{
if(strlen($inner_sql))
$inner_sql .= " OR ";
$inner_sql .= $field." LIKE '%".$value."%'";
}
}
if(strlen($inner_sql))
{
$sql .= "(".$inner_sql.") ";
if($f<count($SearchList)-1)
$sql .= " AND ";
}
}
}
return $sql;
}
function BackupData($OutFileName,$Start,$Limit)
{
$fp=fopen($Outfile,"a");
if($fp)
{
if($Start==1)
{
$sql = "DELETE FROM ".$this->SourceTable;
fputs($fp,$sql);
}
$this->Query_Item("SELECT * FROM ".$this->SourceTable." LIMIT $Start, $Limit");
foreach($this->Items as $i)
{
$sql = $i->CreateSQL();
fputs($fp,$sql);
}
fclose($fp);
$this->Clear();
}
}
function RestoreData($InFileName,$Start,$Limit)
{
$res = -1;
$fp=fopen($InFileName,"r");
if($fp)
{
fseek($fp,$Start);
$Line = 0;
while($Line < $Limit)
{
$sql = fgets($fp,16384);
$this->adodbConnection->Execute($sql);
$Line++;
}
$res = ftell($fp);
fclose($fp);
}
return $res;
}
function Delete_Item($Id)
{
global $objCatList;
$l =& $this->GetItem($Id);
$l->BasePermission=$this->BasePermission;
$l->DeleteCategoryItems($objCatList->CurrentCategoryID());
}
function Move_Item($Id, $OldCat, $ParentTo)
{
global $objCatList;
$l = $this->GetItem($Id);
$l->BasePermission=$this->BasePermission;
$l->AddtoCategory($ParentTo);
$l->RemoveFromCategory($OldCat);
}
function Copy_Item($Id, $ParentTo)
{
$l = $this->GetItem($Id);
$l->BasePermission=$this->BasePermission;
$l->AddtoCategory($ParentTo);
}
}/* clsItemCollection */
class clsItemList extends clsItemCollection
{
var $Page;
var $PerPageVar;
var $EnablePaging;
var $MaxListCount = 0;
var $PageEnvar;
var $PageEnvarIndex;
var $ListType;
function clsItemList()
{
$this->clsItemCollection();
$this->EnablePaging = TRUE;
$this->PageEnvarIndex = "p";
}
function GetPageLimitSQL()
{
global $objConfig;
$limit = NULL;
if($this->EnablePaging)
{
if($this->Page<1)
$this->Page=1;
//echo "Limited to ".$objConfig->Get($this->PerPageVar)." items per page<br>\n";
if(is_numeric($objConfig->Get($this->PerPageVar)))
{
$Start = ($this->Page-1)*$objConfig->Get($this->PerPageVar);
$limit = "LIMIT ".$Start.",".$objConfig->Get($this->PerPageVar);
}
else
$limit = NULL;
}
else
{
if($this->MaxListCount)
{
$limit = "LIMIT 0, $MaxListCount";
}
}
return $limit;
}
function GetPageOffset()
{
global $objConfig;
$Start = 0;
if($this->EnablePaging)
{
if($this->Page<1)
$this->Page=1;
if(is_numeric($objConfig->Get($this->PerPageVar)))
{
$Start = ($this->Page-1)*$objConfig->Get($this->PerPageVar);
}
}
else
{
if((int)$this->MaxListCount==0)
$Start = -1;
}
return $Start;
}
function GetPageRowCount()
{
global $objConfig;
if($this->EnablePaging)
{
if($this->Page<1)
$this->Page=1;
// echo "PerPageVar = ".$this->PerPageVar."<br>\n";
// echo "<pre>"; print_r($objConfig); echo "</pre>";
return $objConfig->Get($this->PerPageVar);
}
else
return (int)$this->MaxListCount;
}
function Query_Item($sql,$limit=NULL)
{
if(strlen($limit))
{
$sql .= " ".$limit;
//echo "[$sql]<br>\n";
return parent::Query_Item($sql);
}
else
{
// echo "-------------------<br>$sql<br>\n";
// echo "Paging: ".$this->EnablePaging." Offset: ".$this->GetPageOffset()." Count: ".$this->GetPageRowCount()."<br>\n";
// echo "===================<br>\n";
return parent::Query_Item($sql,$this->GetPageOffset(),$this->GetPageRowCount());
}
}
function Query_List($whereClause,$orderByClause=NULL,$JoinCats=TRUE)
{
global $objSession, $Errors;
if($JoinCats)
{
$cattable = GetTablePrefix()."CategoryItems";
$t = $this->SourceTable;
$sql = "SELECT *,CategoryId FROM $t INNER JOIN $cattable ON $cattable.ItemResourceId=$t.ResourceId";
}
else
$sql = "SELECT * FROM ". $this->SourceTable;
if(trim($whereClause)!="")
{
if(isset($whereClause))
$sql = sprintf('%s WHERE %s',$sql,$whereClause);
}
if(strlen($orderByClause)>0)
{
if(substr($orderByClause,0,8)=="ORDER BY")
{
$sql .= " ".$orderByClause;
}
else
{
$sql .= " ORDER BY $orderByClause";
}
}
if($objSession->HasSystemPermission("DEBUG.LIST"))
echo $sql."<br>\n";
return $this->Query_Item($sql);
}
function GetPageLinkList($dest_template=NULL,$page = "",$PagesToList=10, $HideEmpty=TRUE)
{
global $objConfig, $var_list_update, $var_list;
$v= $this->PageEnvar;
global ${$v};
if(!strlen($page))
$page = GetIndexURL();
$PerPage = $objConfig->Get($this->PerPageVar);
if($PerPage<1)
$PerPage=20;
$NumPages = ceil($this->GetNumPages($PerPage));
if($NumPages==1 && $HideEmpty)
return "";
if(strlen($dest_template))
{
$var_list_update["t"] = $dest_template;
}
else
$var_list_update["t"] = $var_list["t"];
$o = "";
if($this->Page==0 || !is_numeric($this->Page))
$this->Page=1;
if($this->Page>$NumPages)
$this->Page=$NumPages;
$StartPage = (int)$this->Page - ($PagesToList/2);
if($StartPage<1)
$StartPage=1;
$EndPage = $StartPage+($PagesToList-1);
if($EndPage>$NumPages)
{
$EndPage = $NumPages;
$StartPage = $EndPage-($PagesToList-1);
if($StartPage<1)
$StartPage=1;
}
$o = "";
if($StartPage>1)
{
${$v}[$this->PageEnvarIndex] = $this->Page-$PagesToList;
$prev_url = $page."?env=".BuildEnv();
$o .= "<A HREF=\"$prev_url\">&lt;&lt;</A>";
}
for($p=$StartPage;$p<=$EndPage;$p++)
{
if($p!=$this->Page)
{
${$v}[$this->PageEnvarIndex]=$p;
$href = $page."?env=".BuildEnv();
$o .= " <A HREF=\"$href\">$p</A> ";
}
else
{
$o .= " <SPAN class=\"current-page\">$p</SPAN>";
}
}
if($EndPage<$NumPages && $EndPage>0)
{
${$v}[$this->PageEnvarIndex]=$this->Page+$PagesToList;
$next_url = $page."?env=".BuildEnv();
$o .= "<A HREF=\"$next_url\"> &gt;&gt;</A>";
}
unset(${$v}[$this->PageEnvarIndex],$var_list_update["t"] );
return $o;
}
function GetAdminPageLinkList($url)
{
global $objConfig, $var_list_update, $var_list;
$v = $this->PageEnvar;
global ${$v};
if(strlen($this->PerPageVar)==0)
$this->PerPageVar = "Perpage_Links";
$PerPage = $objConfig->Get($this->PerPageVar);
if($PerPage<1)
$PerPage=20;
$NumPages = ceil($this->GetNumPages($PerPage));
//echo $this->CurrentPage." of ".$NumPages." Pages";
$o = "";
if($this->Page>$NumPages)
$this->Page=$NumPages;
$StartPage = $this->Page - 5;
if($StartPage<1)
$StartPage=1;
$EndPage = $StartPage+9;
if($EndPage>$NumPages)
{
$EndPage = $NumPages;
$StartPage = $EndPage-9;
if($StartPage<1)
$StartPage=1;
}
$o = "";
if($StartPage>1)
{
${$v}[$this->PageEnvarIndex]= $this->Page-10;
$prev_url = $url."?env=".BuildEnv();
$o .= "<A HREF=\"$prev_url\">&lt;&lt;</A>";
}
for($p=$StartPage;$p<=$EndPage;$p++)
{
if($p!=$this->Page)
{
${$v}[$this->PageEnvarIndex]=$p;
$href = $url."?env=".BuildEnv();
$o .= " <A HREF=\"$href\" class=\"NAV_URL\">$p</A> ";
}
else
{
$o .= "<SPAN class=\"CURRENT_PAGE\">$p</SPAN>";
}
}
if($EndPage<$NumPages)
{
${$v}[$this->PageEnvarIndex]=$this->Page+10;
$next_url = $url."?env=".BuildEnv();
$o .= "<A HREF=\"$next_url\"> &gt;&gt;</A>";
}
unset( ${$v}[$this->PageEnvarIndex]);
return $o;
}
}
function ParseClipboard($clip)
{
$ret = array();
$parts = explode(".",$clip,3);
$command = $parts[0];
$table = $parts[1];
$prefix = GetTablePrefix();
if(substr($table,0,strlen($prefix))==$prefix)
$table = substr($table,strlen($prefix));
$subparts = explode("=",$parts[2],2);
$idfield = $subparts[0];
$idlist = $subparts[1];
$cmd = explode("-",$command);
$ret["command"] = $cmd[0];
$ret["source"] = $cmd[1];
$ret["table"] = $table;
$ret["idfield"] = $idfield;
$ret["ids"] = $idlist;
//print_pre($ret);
return $ret;
}
function UpdateCategoryItems($item,$NewCatList)
{
global $objCatList;
$CurrentList = explode(",",$item->CategoryMemberList());
$del_list = array();
$ins_list = array();
if(!is_array($NewCatList))
{
if(strlen(trim($NewCatList))==0)
$NewCatList = $objCatList->CurrentCategoryID();
$NewCatList = explode(",",$NewCatList);
}
//print_r($NewCatList);
for($i=0;$i<count($NewCatList);$i++)
{
$cat = $NewCatList[$i];
if(!in_array($cat,$CurrentList))
$ins_list[] = $cat;
}
for($i=0;$i<count($CurrentList);$i++)
{
$cat = $CurrentList[$i];
if(!in_array($cat,$NewCatList))
$del_list = $cat;
}
for($i=0;$i<count($ins_list);$i++)
{
$cat = $ins_list[$i];
$item->AddToCategory($cat);
}
for($i=0;$i<count($del_list);$i++)
{
$cat = $del_list[$i];
$item->RemoveFromCategory($cat);
}
}
class clsCatItemList extends clsItemList
{
var $PerPageVarLong;
var $PerPageShortVar;
var $Query_SortField;
var $Query_SortOrder;
var $ItemType;
function clsCatItemList()
{
$this->ClsItemList();
$this->Query_SortField = array();
$this->Query_SortOrder = array();
}
function QueryOrderByClause($EditorsPick=FALSE,$Priority=FALSE,$UseTableName=FALSE)
{
global $objSession;
if($UseTableName)
{
$TableName = $this->SourceTable.".";
}
else {
$TableName = "";
}
$Orders = array();
if($EditorsPick)
{
$Orders[] = $TableName."EditorsPick DESC";
}
if($Priority)
{
$Orders[] = $TableName."Priority DESC";
}
if(count($this->Query_SortField)>0)
{
for($x=0; $x<count($this->Query_SortField); $x++)
{
$FieldVar = $this->Query_SortField[$x];
$OrderVar = $this->Query_SortOrder[$x];
if(is_object($objSession))
{
$FieldVarData = $objSession->GetPersistantVariable($FieldVar);
if(strlen($FieldVarData)>0)
{
$Orders[] = trim($TableName.$objSession->GetPersistantVariable($FieldVar) . " ".
$objSession->GetPersistantVariable($OrderVar));
}
}
}
}
if(count($Orders)>0)
{
$OrderBy = "ORDER BY ".implode(", ",$Orders);
}
else
$OrderBy="";
return $OrderBy;
}
function AddSortField($SortField, $SortOrder)
{
if(strlen($SortField))
{
$this->Query_SortField[] = $SortField;
$this->Query_SortOrder[] = $SortOrder;
}
}
function ClearSortFields()
{
$this->Query_SortField = array();
$this->Query_SortOrder = array();
}
/* skeletons in this closet */
function GetNewValue($CatId=NULL)
{
return 0;
}
function GetPopValue($CategoryId=NULL)
{
return 0;
}
/* end of skeletons */
function GetCountSQL($PermName,$CatId=NULL, $GroupId=NULL, $AdditonalWhere="")
{
global $objSession, $objPermissions, $objCatList;
$ltable = $this->SourceTable;
$acl = $objSession->GetACLClause();
$cattable = GetTablePrefix()."CategoryItems";
$CategoryTable = GetTablePrefix()."Category";
$ptable = GetTablePrefix()."PermCache";
$VIEW = $objPermissions->GetPermId($PermName);
$sql = "SELECT count(*) as CacheVal FROM $ltable ";
$sql .="INNER JOIN $cattable ON ($cattable.ItemResourceId=$ltable.ResourceId) ";
$sql .="INNER JOIN $CategoryTable ON ($CategoryTable.CategoryId=$cattable.CategoryId) ";
$sql .="INNER JOIN $ptable ON ($cattable.CategoryId=$ptable.CategoryId) ";
$sql .="WHERE ($acl AND PermId=$VIEW AND $cattable.PrimaryCat=1 AND $CategoryTable.Status=1) ";
if(strlen($AdditonalWhere)>0)
{
$sql .= "AND (".$AdditonalWhere.")";
}
return $sql;
}
function SqlCategoryList($attribs = array())
{
$CatTable = GetTablePrefix()."CategoryItems";
$t = $this->SourceTable;
$sql = "SELECT *,$CatTable.CategoryId FROM $t INNER JOIN $CatTable ON $CatTable.ItemResourceId=$t.ResourceId ";
$sql .="WHERE ($CatTable.CategoryId=".$catid." AND $t.Status=1)";
return $sql;
}
function CategoryCount($attribs=array())
{
global $objCatList, $objCountCache;
$cat = $attribs["_catid"];
if(!is_numeric($cat))
{
$cat = $objCatList->CurrentCategoryID();
}
if((int)$cat>0)
$c = $objCatList->GetCategory($cat);
$CatTable = GetTablePrefix()."CategoryItems";
$t = $this->SourceTable;
$sql = "SELECT count(*) as MyCount FROM $t INNER JOIN $CatTable ON ($CatTable.ItemResourceId=$t.ResourceId) ";
if($attribs["_subcats"])
{
$ctable = $objCatList->SourceTable;
$sql .= "INNER JOIN $ctable ON ($CatTable.CategoryId=$ctable.CategoryId) ";
$sql .= "WHERE (ParentPath LIKE '".$c->Get("ParentPath")."%' ";
if(!$attribs["_countcurrent"])
{
$sql .=" AND $ctable.CategoryId != $cat) ";
}
else
$sql .=") ";
}
else
$sql .="WHERE ($CatTable.CategoryId=".$cat." AND $t.Status=1) ";
if($attribs["_today"])
{
$today = mktime(0,0,0,date("m"),date("d"),date("Y"));
$sql .= "AND ($t.CreatedOn>=$today) ";
}
//echo $sql."<br><br>\n";
$rs = $this->adodbConnection->Execute($sql);
$ret = "";
if($rs && !$rs->EOF)
$ret = (int)$rs->fields["MyCount"];
return $ret;
}
function SqlGlobalCount($attribs=array())
{
global $objSession;
$p = $this->BasePermission.".VIEW";
$t = $this->SourceTable;
if($attribs["_today"])
{
$today = mktime(0,0,0,date("m"),date("d"),date("Y"));
$where = "($t.CreatedOn>=$today)";
}
if($attribs["_grouponly"])
{
$GroupList = $objSession->Get("GroupList");
}
else
$GroupList = NULL;
$sql = $this->GetCountSQL($p,NULL,$GroupList,$where);
return $sql;
}
function DoGlobalCount($attribs)
{
global $objCountCache;
$cc = $objCountCache->GetValue($this->CacheListType("_"),$this->ItemType,$this->CacheListExtraId("_"),(int)$attribs["_today"], 3600);
if(!is_numeric($cc))
{
$sql = $this->SqlGlobalCount($attribs);
$ret = QueryCount($sql);
$objCountCache->SetValue($this->CacheListType("_"),$this->ItemType,$this->CacheListExtraId("_"),(int)$attribs["_today"],$ret);
}
else
$ret = $cc;
return $ret;
}
function CacheListExtraId($ListType)
{
global $objSession;
if(!strlen($ListType))
$ListType="_";
switch($ListType)
{
case "_":
$ExtraId = $objSession->Get("GroupList");
break;
case "category":
$ExtraId = $objSession->Get("GroupList");
break;
case "myitems":
$ExtraId = $objSession->Get("PortalUserId");
break;
case "hot":
$ExtraId = $objSession->Get("GroupList");
break;
case "pop":
$ExtraId = $objSession->Get("GroupList");
break;
case "pick":
$ExtraId = $objSession->Get("GroupList");
break;
case "favorites":
$ExtraId = $objSession->Get("PortalUserId");
break;
case "new":
$ExtraId = $objSession->Get("GroupList");
break;
}
return $ExtraId;
}
function CacheListType($ListType)
{
if(!strlen($ListType))
$ListType="_";
switch($ListType)
{
case "_":
$ListTypeId = 0;
break;
case "category":
$ListTypeId = 1;
break;
case "myitems":
$ListTypeId = 2;
break;
case "hot":
$ListTypeId = 3;
break;
case "pop":
$ListTypeId = 4;
break;
case "pick":
$ListTypeId = 5;
break;
case "favorites":
$ListTypeId = 6;
break;
case "new":
$ListTypeId = 8;
break;
}
return $ListTypeId;
}
function PerformItemCount($attribs=array())
{
global $objCountCache, $objSession;
$ret = "";
$ListType = $attribs["_listtype"];
if(!strlen($ListType))
$ListType="_";
$ListTypeId = $this->CacheListType($ListType);
//echo "ListType: $ListType ($ListTypeId)<br>\n";
$ExtraId = $this->CacheListExtraId($ListType);
switch($ListType)
{
case "_":
$ret = $this->DoGlobalCount($attribs);
break;
case "category":
$ret = $this->CategoryCount($attribs);
break;
case "myitems":
$sql = $this->SqlMyItems($attribs);
break;
case "hot":
$sql = $this->SqlHotItems($attribs);
break;
case "pop":
$sql = $this->SqlPopItems($attribs);
break;
case "pick":
$sql = $this->SqlPickItems($attribs);
break;
case "favorites":
$sql = $this->SqlFavorites($attribs);
break;
case "search":
$sql = $this->SqlSearchItems($attribs);
break;
case "new":
$sql = $this->SqlNewItems($attribs);
break;
}
//echo "SQL: $sql<br>";
if(strlen($sql))
{
if(is_numeric($ListTypeId))
{
$cc = $objCountCache->GetValue($ListTypeId,$this->ItemType,$ExtraId,(int)$attribs["_today"], 3600);
if(!is_numeric($cc) || $attribs['_nocache'] == 1)
{
$ret = QueryCount($sql);
$objCountCache->SetValue($ListTypeId,$this->ItemType,$ExtraId,(int)$attribs["_today"],$ret);
}
else
$ret = $cc;
}
else
$ret = QueryCount($sql);
}
return $ret;
}
function GetJoinedSQL($PermName, $CatId=NULL, $AdditionalWhere="")
{
global $objSession, $objPermissions;
$ltable = $this->SourceTable;
$acl = $objSession->GetACLClause();
$cattable = GetTablePrefix()."CategoryItems";
$CategoryTable = GetTablePrefix()."Category";
$ptable = GetTablePrefix()."PermCache";
$VIEW = $objPermissions->GetPermId($PermName);
$sql ="INNER JOIN $cattable ON ($cattable.ItemResourceId=$ltable.ResourceId) ";
$sql .="INNER JOIN $CategoryTable ON ($CategoryTable.CategoryId=$cattable.CategoryId) ";
$sql .= "INNER JOIN $ptable ON ($cattable.CategoryId=$ptable.CategoryId) ";
$sql .="WHERE ($acl AND PermId=$VIEW AND PrimaryCat=1 AND $CategoryTable.Status=1) ";
if(is_numeric($CatId))
{
$sql .= " AND ($CategoryTable.CategoryId=$CatId) ";
}
if(strlen($AdditionalWhere)>0)
{
$sql .= "AND (".$AdditionalWhere.")";
}
return $sql;
}
function CountFavorites($attribs)
{
if($attribs["_today"])
{
global $objSession, $objConfig, $objPermissions;
$acl = $objSession->GetACLClause();
$favtable = GetTablePrefix()."Favorites";
$ltable = $this->SourceTable;
$cattable = GetTablePrefix()."CategoryItems";
$CategoryTable = GetTablePrefix()."Category";
$ptable = GetTablePrefix()."PermCache";
$today = mktime(0,0,0,date("m"),date("d"),date("Y"));
$where = "PortalUserId=".$objSession->Get("PortalUserId")." AND $ltable.Status=1";
$where .= " AND $favtable.Modified >= $today AND ItemTypeId=".$this->ItemType;
$p = $this->BasePermission.".VIEW";
$sql = "SELECT $ltable.*,$CategoryTable.CategoryId,$CategoryTable.CachedNavBar FROM $favtable INNER JOIN $ltable ON ($favtable.ResourceId=$ltable.ResourceId) ";
$sql .= $this->GetJoinedSQL($p,NULL,$where);
$ret = QueryCount($sql);
}
else
{
if (!$this->ListType == "favorites")
{
$this->ListType = "favorites";
$this->LoadFavorites($attribs);
$ret = $this->QueryItemCount;
}
else
$ret = $this->QueryItemCount;
}
return $ret;
}
function CountPickItems($attribs)
{
if (!$this->ListType == "pick")
{
$this->ListType = "pick";
$this->LoadPickItems($attribs);
$ret = $this->QueryItemCount;
}
else
$ret = $this->QueryItemCount;
return $ret;
}
function CountMyItems($attribs)
{
if (!$this->ListType == "myitems")
{
$this->ListType = "myitems";
$this->LoadMyItems($attribs);
$ret = $this->QueryItemCount;
}
else
$ret = $this->QueryItemCount;
return $ret;
}
function CountHotItems($attribs)
{
if (!$this->ListType == "hotitems")
{
$this->ListType = "hotitems";
$this->LoadHotItems($attribs);
$ret = $this->QueryItemCount;
}
else
$ret = $this->QueryItemCount;
return $ret;
}
function CountNewItems($attribs)
{
if (!$this->ListType == "newitems")
{
$this->ListType = "newitems";
$this->LoadNewItems($attribs);
$ret = $this->QueryItemCount;
}
else
$ret = $this->QueryItemCount;
return $ret;
}
function CountPopItems($attribs)
{
if (!$this->ListType == "popitems")
{
$this->ListType = "popitems";
$this->LoadPopItems($attribs);
$ret = $this->QueryItemCount;
}
else
$ret = $this->QueryItemCount;
return $ret;
}
function CountSearchItems($attribs)
{
if (!$this->ListType == "search")
{
$this->ListType = "search";
$this->LoadSearchItems($attribs);
$ret = $this->QueryItemCount;
}
else
$ret = $this->QueryItemCount;
return $ret;
}
function SqlFavorites($attribs)
{
global $objSession, $objConfig, $objPermissions;
$acl = $objSession->GetACLClause();
$favtable = GetTablePrefix()."Favorites";
$ltable = $this->SourceTable;
$cattable = GetTablePrefix()."CategoryItems";
$CategoryTable = GetTablePrefix()."Category";
$ptable = GetTablePrefix()."PermCache";
$where = "PortalUserId=".$objSession->Get("PortalUserId")." AND $ltable.Status=1";
if($attribs["_today"])
{
$today = mktime(0,0,0,date("m"),date("d"),date("Y"));
$where .= " AND $favtable.Modified >= $today AND ItemTypeId=".$this->ItemType;
}
$p = $this->BasePermission.".VIEW";
$sql = "SELECT $ltable.*,$CategoryTable.CategoryId,$CategoryTable.CachedNavBar FROM $favtable INNER JOIN $ltable ON ($favtable.ResourceId=$ltable.ResourceId) ";
$sql .= $this->GetJoinedSQL($p,NULL,$where);
$OrderBy = $this->QueryOrderByClause(TRUE,TRUE,TRUE);
$sql .= " ".$OrderBy;
return $sql;
}
function LoadFavorites($attribs)
{
global $objSession, $objCountCache;
$sql = $this->SqlFavorites($attribs);
if($objSession->HasSystemPermission("DEBUG.LIST"))
echo htmlentities($sql,ENT_NOQUOTES)."<br>\n";
if($attribs["_shortlist"])
{
$this->PerPageVar = $this->PerPageShortVar;
}
else
$this->PerPageVar = $this->PerPageVarLong;
$CachedCount = $objCountCache->GetValue($this->CacheListType("favorites"),$this->ItemType,$this->CacheListExtraId("favorites"),(int)$attribs["_today"],3600);
if(!is_numeric($CachedCount))
{
$this->QueryItemCount = QueryCount($sql);
$objCountCache->SetValue($this->CacheListType("favorites"),$this->ItemType,$this->CacheListExtraId("favorites"),(int)$attribs["_today"],$this->QueryItemCount);
}
else
$this->QueryItemCount = (int)$CachedCount;
return $this->Query_Item($sql);
}
function SqlPickItems($attribs)
{
global $objSession, $objCatList;
$catid = (int)$attribs["_catid"];
$scope = (int)$attribs["_scope"];
//$JoinCats = (int)$attribs["_catinfo"] || $scope;
$TableName = $this->SourceTable;
if($scope)
{
if (!$catid)
{
$catid = $objCatList->CurrentCategoryID();
}
$where = "CategoryId =".$catid." AND ".$TableName.".EditorsPick=1 AND ".$TableName.".Status=1";
}
else
{
$where = $TableName.".EditorsPick=1 AND ".$TableName.".Status=1 ";
$catid=NULL;
}
if($attribs["_today"])
{
$today = mktime(0,0,0,date("m"),date("d"),date("Y"));
$where .= " AND ($TableName.CreatedOn>=$today)";
}
$CategoryTable = GetTablePrefix()."Category";
$sql = "SELECT $TableName.*,$CategoryTable.CategoryId,$CategoryTable.CachedNavBar FROM $TableName ";
$p = $this->BasePermission.".VIEW";
$sql .= $this->GetJoinedSQL($p,$CatUd,$where);
$OrderBy = $this->QueryOrderByClause(TRUE,TRUE,TRUE);
$sql .= " ".$OrderBy;
return $sql;
}
function LoadPickItems($attribs)
{
global $objSession, $objCountCache;
$sql = $this->SqlPickItems($attribs);
if($objSession->HasSystemPermission("DEBUG.LIST"))
echo htmlentities($sql,ENT_NOQUOTES)."<br>\n";
if($attribs["_shortlist"])
{
$this->PerPageVar = $this->PerPageShortVar;
}
else
$this->PerPageVar = $this->PerPageVarLong;
$CachedCount = $objCountCache->GetValue($this->CacheListType("pick"),$this->ItemType,$this->CacheListExtraId("pick"),(int)$attribs["_today"],3600);
if(!is_numeric($CachedCount))
{
$this->QueryItemCount= QueryCount($sql);
$objCountCache->SetValue($this->CacheListType("pick"),$this->ItemType,$this->CacheListExtraId("pick"),(int)$attribs["_today"],$this->QueryItemCount);
}
else
$this->QueryItemCount=$CachedCount;
return $this->Query_Item($sql);
}
function SqlMyItems($attribs= array())
{
global $objSession;
$TableName = $this->SourceTable;
$where = " ".$TableName.".Status>-1 AND ".$TableName.".CreatedById=".$objSession->Get("PortalUserId");
if($attribs["_today"])
{
$today = mktime(0,0,0,date("m"),date("d"),date("Y"));
$where .= " AND ($TableName.CreatedOn>=$today)";
}
$CategoryTable = GetTablePrefix()."Category";
$sql = "SELECT $TableName.*,$CategoryTable.CategoryId,$CategoryTable.CachedNavBar FROM $TableName ";
$p = $this->BasePermission.".VIEW";
$sql .= $this->GetJoinedSQL($p,$CatUd,$where);
$OrderBy = $this->QueryOrderByClause(TRUE,TRUE,TRUE);
$sql .= " ".$OrderBy;
return $sql;
}
function LoadMyItems($attribs=array())
{
global $objSession,$objCountCache;
$sql = $this->SqlMyItems($attribs);
if($objSession->HasSystemPermission("DEBUG.LIST"))
echo htmlentities($sql,ENT_NOQUOTES)."<br>\n";
if($attribs["_shortlist"])
{
$this->PerPageVar = $this->PerPageShortVar;
}
else
$this->PerPageVar = $this->PerPageVarLong;
$CachedCount = $objCountCache->GetValue($this->CacheListType("myitems"),$this->ItemType,$this->CacheListExtraId("myitems"),(int)$attribs["_today"],3600);
if(!is_numeric($CachedCount))
{
$this->QueryItemCount= QueryCount($sql);
$objCountCache->SetValue($this->CacheListType("myitems"),$this->ItemType,$this->CacheListExtraId("myitems"),(int)$attribs["_today"],$this->QueryItemCount);
}
else
$this->QueryItemCount=$CachedCount;
return $this->Query_Item($sql);
}
function SqlNewItems($attribs = array())
{
global $objSession, $objCatList;
$catid = (int)$attribs["_catid"];
$scope = (int)$attribs["_scope"];
//$JoinCats = (int)$attribs["_catinfo"] || $scope;
$TableName = $this->SourceTable;
if($attribs["_today"])
{
$cutoff = mktime(0,0,0,date("m"),date("d"),date("Y"));
}
else
{
if($scope)
{
if (!$catid)
{
$catid = $objCatList->CurrentCategoryID();
}
$cutoff = $this->GetNewValue($catid);
}
else
$cutoff = $this->GetNewValue();
}
if($scope)
{
if (!$catid)
{
$catid = $objCatList->CurrentCategoryID();
}
$where = "CategoryId =".$catid." AND ((".$TableName.".CreatedOn >=".$cutoff." AND ".$TableName.".NewItem != 0) OR ".$TableName.".NewItem=1 ) AND ".$TableName.".Status=1 ";
}
else
{
$where = "((".$TableName.".CreatedOn >=".$this->GetNewValue()." AND ".$TableName.".NewItem != 0) OR ".$TableName.".NewItem=1 ) AND ".$TableName.".Status=1 ";
}
$CategoryTable = GetTablePrefix()."Category";
$sql = "SELECT $TableName.*,$CategoryTable.CategoryId,$CategoryTable.CachedNavBar FROM $TableName ";
$p = $this->BasePermission.".VIEW";
$sql .= $this->GetJoinedSQL($p,$CatUd,$where);
$OrderBy = $this->QueryOrderByClause(TRUE,TRUE,TRUE);
$sql .= " ".$OrderBy;
return $sql;
}
function LoadNewItems($attribs)
{
global $objSession,$objCountCache;
$sql = $this->SqlNewItems($attribs);
if($objSession->HasSystemPermission("DEBUG.LIST"))
echo htmlentities($sql,ENT_NOQUOTES)."<br>\n";
if($attribs["_shortlist"])
{
$this->PerPageVar = $this->PerPageShortVar;
}
else
$this->PerPageVar = $this->PerPageVarLong;
$CachedCount = $objCountCache->GetValue($this->CacheListType("new"),$this->ItemType,$this->CacheListExtraId("new"),(int)$attribs["_today"],3600);
if(!is_numeric($CachedCount))
{
$this->QueryItemCount= QueryCount($sql);
$objCountCache->SetValue($this->CacheListType("new"),$this->ItemType,$this->CacheListExtraId("new"),(int)$attribs["_today"],$this->QueryItemCount);
}
else
$this->QueryItemCount=$CachedCount;
return $this->Query_Item($sql);
}
function SqlPopItems($attribs)
{
global $objSession, $objCatList;
$catid = (int)$attribs["_catid"];
$scope = (int)$attribs["_scope"];
//$JoinCats = (int)$attribs["_catinfo"] || $scope;
$TableName = $this->SourceTable;
if($scope)
{
if (!$catid)
{
$catid = $objCatList->CurrentCategoryID();
}
$where = "CategoryId =".$catid." AND ((".$TableName.".Hits >=".$this->GetLinkPopValue()." AND ".$TableName.".PopItem !=0) OR ".$TableName.".PopItem=1) AND ".$TableName.".Status=1";
}
else
{
$where = "((".$TableName.".CachedRating >=".$this->GetPopValue()." AND ".$TableName.".PopItem !=0 ) OR ".$TableName.".PopItem=1) AND ".$TableName.".Status=1 ";
$where = "((".$TableName.".Hits >=".$this->GetPopValue()." AND ".$TableName.".PopItem !=0) OR ".$TableName.".PopItem=1) AND ".$TableName.".Status=1 ";
}
if($attribs["_today"])
{
$today = mktime(0,0,0,date("m"),date("d"),date("Y"));
$where .= " AND ($TableName.CreatedOn>=$today)";
}
$CategoryTable = GetTablePrefix()."Category";
$sql = "SELECT $TableName.*,$CategoryTable.CategoryId,$CategoryTable.CachedNavBar FROM $TableName ";
$p = $this->BasePermission.".VIEW";
$sql .= $this->GetJoinedSQL($p,$catid,$where);
$OrderBy = $this->QueryOrderByClause(TRUE,TRUE,TRUE);
$sql .= " ".$OrderBy;
return $sql;
}
function LoadPopItems($attribs)
{
global $objSession,$objCountCache;
$sql = $this->SqlPopItems($attribs);
if($objSession->HasSystemPermission("DEBUG.LIST"))
echo htmlentities($sql,ENT_NOQUOTES)."<br>\n";
if($attribs["_shortlist"])
{
$this->PerPageVar = $this->PerPageShortVar;
}
else
$this->PerPageVar = $this->PerPageVarLong;
$CachedCount = $objCountCache->GetValue($this->CacheListType("pop"),$this->ItemType,$this->CacheListExtraId("pop"),(int)$attribs["_today"],3600);
if(!is_numeric($CachedCount))
{
$this->QueryItemCount= QueryCount($sql);
$objCountCache->SetValue($this->CacheListType("pop"),$this->ItemType,$this->CacheListExtraId("pop"),(int)$attribs["_today"],$this->QueryItemCount);
}
else
$this->QueryItemCount=$CachedCount;
return $this->Query_Item($sql);
}
function SqlHotItems($attribs)
{
global $objSession, $objCatList;
$catid = (int)$attribs["_catid"];
$scope = (int)$attribs["_scope"];
// $JoinCats = (int)$attribs["_catinfo"] || $scope;
$TableName = $this->SourceTable;
$OrderBy = $TableName.".CachedRating DESC";
if($scope)
{
if (!$catid)
{
$catid = $objCatList->CurrentCategoryID();
}
$where = "CategoryId =".$catid." AND ((".$TableName.".CachedRating >=".$this->GetHotValue()." AND ".$TableName.".PopItem !=0) OR ".$TableName.".PopItem=1) AND ".$TableName.".Status=1";
}
else
{
$where = "((".$TableName.".CachedRating >=".$this->GetPopValue()." AND ".$TableName.".PopItem !=0 ) OR ".$TableName.".PopItem=1) AND ".$TableName.".Status=1 ";
}
if($attribs["_today"])
{
$today = mktime(0,0,0,date("m"),date("d"),date("Y"));
$where .= " AND ($TableName.CreatedOn>=$today)";
}
$CategoryTable = GetTablePrefix()."Category";
$sql = "SELECT $TableName.*,$CategoryTable.CategoryId,$CategoryTable.CachedNavBar FROM $TableName ";
$p = $this->BasePermission.".VIEW";
$CatId = !$scope? NULL : $catid;
$sql .= $this->GetJoinedSQL($p,$CatId,$where);
if(strlen($OrderBy))
$sql .= " ORDER BY $OrderBy ";
return $sql;
}
function LoadHotItems($attribs)
{
global $objSession,$objCountCache;
$sql = $this->SqlHotItems($attribs);
if($objSession->HasSystemPermission("DEBUG.LIST"))
echo htmlentities($sql,ENT_NOQUOTES)."<br>\n";
if($attribs["_shortlist"])
{
$this->PerPageVar = $this->PerPageShortVar;
}
else
$this->PerPageVar = $this->PerPageVarLong;
$CachedCount = $objCountCache->GetValue($this->CacheListType("hot"),$this->ItemType,$this->CacheListExtraId("hot"),(int)$attribs["_today"], 0);
if(!is_numeric($CachedCount))
{
$this->QueryItemCount= QueryCount($sql);
$objCountCache->SetValue($this->CacheListType("hot"),$this->ItemType,$this->CacheListExtraId("hot"),(int)$attribs["_today"],$this->QueryItemCount);
}
else
$this->QueryItemCount=$CachedCount;
return $this->Query_Item($sql);
}
function SqlSearchItems($attribs = array())
{
global $objConfig, $objItemTypes, $objSession, $objPermissions, $CountVal;
$acl = $objSession->GetACLClause();
$this->Clear();
//$stable = "ses_".$objSession->GetSessionKey()."_Search";
$stable = $objSession->GetSearchTable();
$ltable = $this->SourceTable;
$catitems = GetTablePrefix()."CategoryItems";
$cattable = GetTablePrefix()."Category";
$ptable = GetTablePrefix()."PermCache";
$p = $this->BasePermission.".VIEW";
$i = new $this->classname();
$sql = "SELECT $cattable.CategoryId,$cattable.CachedNavbar,$ltable.*, Relevance FROM $stable ";
$sql .= "INNER JOIN $ltable ON ($stable.ItemId=$ltable.".$i->id_field.") ";
$where = "ItemType=".$this->ItemType." AND $ltable.Status=1";
$sql .= $this->GetJoinedSQL($p,NULL,$where);
$sql .= " ORDER BY EdPick DESC,Relevance DESC ";
$tmp = $this->QueryOrderByClause(FALSE,TRUE,TRUE);
$tmp = substr($tmp,9);
if(strlen($tmp))
{
$sql .= ", ".$tmp." ";
}
return $sql;
}
function LoadSearchItems($attribs = array())
{
global $CountVal, $objSession;
$sql = $this->SqlSearchItems($attribs);
$this->Query_Item($sql);
$Keywords = GetKeywords($objSession->GetVariable("Search_Keywords"));
for($i=0;$i<$this->NumItems(); $i++)
{
$this->Items[$i]->Keywords = $Keywords;
}
if(is_numeric($CountVal[$this->ItemType]))
{
$this->QueryItemCount = $CountVal[$this->ItemType];
+// echo "CACHE: <pre>"; print_r($CountVal); echo "</pre><BR>";
}
else
{
- $this->QueryItemCount=QueryCount($sql);
+ $this->QueryItemCount = QueryCount($sql);
+// echo "SQL: ".$sql."<BR>";
$CountVal[$this->ItemType] = $this->QueryItemCount;
}
+
}
-
+
function PasteFromClipboard($TargetCat,$NameField="")
{
global $objSession,$objCatList;
$clip = $objSession->GetVariable("ClipBoard");
if(strlen($clip))
{
$ClipBoard = ParseClipboard($clip);
$IsCopy = (substr($ClipBoard["command"],0,4)=="COPY") || ($ClipBoard["source"] == $TargetCat);
$item_ids = explode(",",$ClipBoard["ids"]);
for($i=0;$i<count($item_ids);$i++)
{
$item = $this->GetItem($item_ids[$i]);
if(!$IsCopy) // paste to other category then current
{
$item->MoveToCategory($ClipBoard["source"],$TargetCat);
$clip = str_replace("CUT","COPY",$clip);
$objSession->SetVariable("ClipBoard",$clip);
}
else
{
$item->CopyToNewResource($TargetCat,$NameField); // create item copy, but with new ResourceId
$item->AddToCategory($TargetCat);
UpdateCategoryCount($item->type,$TargetCat);
}
}
}
}
}
?>
Property changes on: trunk/kernel/include/parseditem.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1
\ No newline at end of property
+1.2
\ No newline at end of property
Index: trunk/kernel/admin/include/summary/site.php
===================================================================
--- trunk/kernel/admin/include/summary/site.php (revision 28)
+++ trunk/kernel/admin/include/summary/site.php (revision 29)
@@ -1,114 +1,115 @@
<?php
$lang_Search = admin_language("la_prompt_Search");
$lang_Users = admin_language("la_Text_Users");
$lang_Active = admin_language("la_Text_Active");
$lang_Disabled = admin_language("la_Text_Disabled");
$lang_Pending = admin_language("la_Text_Pending");
$lang_Denied = admin_language("la_Text_Denied");
$lang_PendingItems = admin_language("la_prompt_PendingItems");
$lang_Categories = admin_language("la_Text_Categories");
$lang_Posts = admin_language("la_Text_Posts");
+$lang_Topics = admin_language("la_Text_Topic");
$lang_Articles = admin_language("la_Text_Articles");
$lang_Links = admin_language("la_Text_Links");
$lang_QuickLinks = admin_language("la_Text_QuickLinks");
$lang_Catalog = admin_language("la_Text_Catalog");
$lang_New = admin_language("la_Text_New");
$lang_Hot = admin_language("la_Text_Hot");
$lang_EdPick = admin_language("la_prompt_EditorsPick");
$lang_Pop = admin_language("la_Text_Pop");
global $adminURL,$admin,$rootURL;
$UserURL = $adminURL."/users/user_list.php?env=".BuildEnv();
$browseURL = $adminURL."/browse.php?env=".BuildEnv();
$topicURL = $rootURL."in-bulletin";
$newsURL = $rootURL."in-news";
$linkURL = $rootURL."in-link";
$table = $objCatList->SourceTable;
$Total = TableCount($table,"",0);
$Active = TableCount($table,"Status=1",0);
$Pending = TableCount($table,"Status=2",0);
$Disabled = TableCount($table,"Status=0",0);
$Pick = TableCount($table,"EditorsPick=1",0);
$NewVal = adodb_date("U") - ($objConfig->Get("Category_NewDays") * 86400);
$where = "(CreatedOn > ".$NewVal." AND NewItem=".AUTO.") OR NewItem=".ALWAYS;
$New = TableCount($table,$where ,0);
$ConfigVar = "Category_View";
$CurrentVal = $objConfig->Get($ConfigVar);
$TabName = "categories";
$date_str = adodb_date("F j, Y");
print <<<END
<div isBox="true" id="searchBox" SortValue="1" isOpen="true">
<div class="searchbox_header" func="header" STYLE="background:url($imagesURL/summary/searchbox_header.gif);">
<img src="$imagesURL/spacer.gif" width="1" height="4"><br />
<img isEI="true" src="$imagesURL/summary/searchbox_cl.gif" width="8" height="8" align="absMiddle" hSpace="4">$lang_Search $lang_Catalog
</div>
<div class="searchbox_body" func="body" STYLE="background:url($imagesURL/summary/searchbox_bg.gif);">
<img src="$imagesURL/spacer.gif" width="1" height="12"><br />
<form NAME="admin_search" ID="admin_search" method=POST action="$browseURL">
<img src="$imagesURL/spacer.gif" width="12" height="1">
<input ID="SearchWord" NAME="SearchWord" class="search" type="text">
<INPUT ID="SearchScope" NAME="SearchScope" type="hidden" VALUE="0">
<INPUT ID="SearchType" NAME="SearchType" TYPE="hidden" VALUE="all">
<INPUT ID="NewSearch" NAME="NewSearch" TYPE="hidden" VALUE="1">
<INPUT TYPE="HIDDEN" NAME="Action" value="m_SearchWord">
<img isImgButton="true" src="$imagesURL/toolbar/icon16_search.gif" width="22" height="22" align="absMiddle" onclick="admin_search.submit();">
</FORM>
</div>
</div>
<div isBox="true" id="categories" SortValue="2">
<div class="usersbox_header" func="header" STYLE="background:url($imagesURL/summary/usersbox_header.gif);">
<img src="$imagesURL/spacer.gif" width="1" height="4"><br />
<table cellspacing="0" cellpadding="0">
<tr>
<td><img isEI="true" src="$imagesURL/summary/usersbox_cl.gif" width="8" height="8" align="absMiddle" hSpace="4"><b>$lang_Categories</b></td>
<td class="info" valign="top">&nbsp;($Total)</td>
</tr>
</table>
</div>
<div class="usersbox_body" func="body" STYLE="background:url($imagesURL/summary/usersbox_bg.gif);">
<div style="padding:8px; width:100%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td class="lTDi" width="50%">
<a href="javascript:FilterLink('$TabName','$ConfigVar',64);" class="userslink">
<img src="$imagesURL/itemicons/icon16_cat.gif" border="0" align="absMiddle"> $lang_Active <span class="info">($Active)</span></a>
</td>
<td class="rTDi">
<a href="javascript:FilterLink('$TabName','$ConfigVar',8);" class="userslink">
<img src="$imagesURL/itemicons/icon16_cat_new.gif" border="0" align="absMiddle"> $lang_New <span class="info">($New)</span></a>
</td>
</tr>
<tr>
<td class="lTDi" width="50%">
<a href="javascript:FilterLink('$TabName','$ConfigVar',32);" class="userslink">
<img src="$imagesURL/itemicons/icon16_cat_pending.gif" border="0" align="absMiddle"> $lang_Pending <span class="info">($Pending)</span></a>
</td>
<td class="rTDi" >
<a href="javascript:FilterLink('$TabName','$ConfigVar',1);" class="userslink">
<img src="$imagesURL/itemicons/icon16_cat_pick.gif" border="0" align="absMiddle"> $lang_EdPick <span class="info">($Pick)</span></a>
</td>
</tr>
<tr>
<td class="lTD" width="50%">
<a href="javascript:FilterLink('$TabName','$ConfigVar',16);" class="userslink">
<img src="$imagesURL/itemicons/icon16_cat_disabled.gif" border="0" align="absMiddle"> $lang_Disabled <span class="info">($Disabled)</span></a>
</td>
<td>&nbsp;</td>
</tr>
</table>
</div>
<img src="images/spacer.gif" height="21" width="1">
</div>
</DIV>
END;
?>
Property changes on: trunk/kernel/admin/include/summary/site.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1
\ No newline at end of property
+1.2
\ No newline at end of property
Index: trunk/kernel/frontaction.php
===================================================================
--- trunk/kernel/frontaction.php (revision 28)
+++ trunk/kernel/frontaction.php (revision 29)
@@ -1,828 +1,831 @@
<?php
switch($Action)
{
case "m_login":
// if($objSession->ValidSession())
// $objSession->Logout();
//echo $objSession->GetSessionKey()."<br>\n";
if ($objConfig->Get("CookieSessions") == 1 && $_COOKIE["CookiesTest"] != "1") {
$FormError["login"]["login_user"] = language("lu_cookies_error");
}
else {
$MissingCount = SetMissingDataErrors("login");
if($MissingCount==2)
{
$FormError["login"]["login_user"]= language("lu_ferror_loginboth");
unset($FormError["login"]["login_password"]);
}
if($MissingCount==0)
{
if($_POST["login_user"]=="root")
{
$FormError["login"]["login_user"]= language("lu_access_denied");
}
else
{
if ($objSession->Login($_POST["login_user"], md5($_POST["login_password"])) == FALSE)
{
$FormError["login"]["login_password"] = language("lu_incorrect_login");
}
else
{
if(!headers_sent() && ($_POST["usercookie"]==1 || $_GET["usercookie"]==1))
{
$c = $_POST["login_user"]."|";
$pw = $_POST["login_password"];
if(strlen($pw)<31)
$pw = md5($pw);
$c .= $pw;
setcookie("login",$c,time()+2592000);
}
$dest = $_POST["dest"];
if(!strlen($dest))
$dest = $_GET["dest"];
if(!strlen($dest))
$dest = $_POST["DestTemplate"];
if(!strlen($dest))
$dest = $_GET["DestTemplate"];
if(strlen($dest))
{
$var_list["t"] = $dest;
//header("Location: ../../index.php?env=" . BuildEnv());
}
// echo "DEST: ".$t; die();
}
}
}
}
break;
case "m_forgotpw":
$MissingCount = SetMissingDataErrors("forgotpw");
if($MissingCount==0)
{
$username = $_POST["username"];
$email = $_POST["email"];
$found = FALSE;
if(strlen($username))
{
$u = $objUsers->GetItemByField("Login",$username);
if(is_object($u))
$found = ($u->Get("Login")==$username && $u->Get("Status")==1) && strlen($u->Get("Password"));
}
else if(strlen($email))
{
$u = $objUsers->GetItemByField("Email",$email);
if(is_object($u))
$found = ($u->Get("Email")==$email && $u->Get("Status")==1) && strlen($u->Get("Password"));
}
if($found)
{
$newpw = makepassword();
$u->Set("Password",$newpw);
$u->Update();
$u->SendUserEventMail("USER.PSWD",$u->Get("PortalUserId"));
$u->SendAdminEventMail("USER.PSWD");
$u->Set("Password",md5($newpw));
$u->Update();
$u->Clean();
}
else
{
if(!strlen($username) && !strlen($email))
{
$FormError["forgotpw"]["username"] = language("lu_ferror_forgotpw_nodata");
$MissingCount++;
}
else
{
if(strlen($username))
$FormError["forgotpw"]["username"] = language("lu_ferror_unknown_username");
if(strlen($email))
$FormError["forgotpw"]["email"] = language("lu_ferror_unknown_email");
$MissingCount++;
}
if(strlen($_GET["error"]))
$var_list["t"] = $_GET["error"];
}
}
else
if(strlen($_GET["error"]))
$var_list["t"] = $_GET["error"];
break;
case "m_subscribe_confirm":
$t = "";
$SubscribeAddress = $_POST["subscribe_email"];
if(!ValidEmail($SubscribeAddress)&& strlen($SubscribeAddress))
{
$t = $_GET["Error"];
$SubscribeError = "lu_invalid_emailaddress";
}
else
{
if((int)$objConfig->Get("User_SubscriberGroup")>0)
{
$g = $objGroups->GetItem($objConfig->Get("User_SubscriberGroup"));
if(is_object($g))
{
$email = $_POST["subscribe_email"];
if(strlen($email)>0)
{
$u = $objUsers->GetItemByField("Email",$email);
if(is_object($u))
{
if($u->CheckBanned())
{
$t = $_GET["Error"];
$SubscribeError ="lu_subscribe_banned";
}
else
{
if($u->IsInGroup($g->Get("GroupId")))
{
$t = $_GET["Unsubscribe"];
}
else
$t = $_GET["Subscribe"];
}
}
else
$t = $_GET["Subscribe"];
}
else
{
$t = $_GET["Error"];
$SubscribeError ="lu_subscribe_no_address";
}
}
else
{
$t = $_GET["Error"];
$SubscribeError ="lu_subscribe_unknown_error";
}
}
}
if(strlen($t))
{
$var_list["t"] = $t;
$var_list_update["t"] = $t;
}
break;
case "m_subscribe":
//phpinfo(INFO_VARIABLES);
if($_POST["buttons"][0]==language("lu_button_yes"))
{
$SubscribeAddress = $_POST["subscribe_email"];
if(strlen($SubscribeAddress)>0)
{
if(ValidEmail($SubscribeAddress))
{
$GroupId = (int)$objConfig->Get("User_SubscriberGroup");
if ($GroupId)
{
$g = $objGroups->GetItem($GroupId);
$u = $objUsers->GetItemByField("Email",$SubscribeAddress);
if(is_object($u))
{
if(strtolower($u->Get("Email"))==strtolower($SubscribeAddress))
{
$bExists = TRUE;
}
else
$bExists = FALSE;
}
if($bExists)
{
$g->AddUser($u->Get("PortalUserId"));
}
else
{
$u = new clsPortalUser(NULL);
$u->Set("Email",$SubscribeAddress);
$u->Set("ip",$_SERVER['REMOTE_ADDR']);
$u->Set("CreatedOn",date("U"));
$u->Set("Status",1);
if(!$u->CheckBanned())
{
$u->Create();
$g->AddUser($u->Get("PortalUserId"),1);
}
else
$SubscribeResult = "lu_subscribe_banned";
}
$SubscribeResult = "lu_subscribe_success";
$u->SendUserEventMail("USER.SUBSCRIBE",$u->Get("PortalUserId"));
$u->SendAdminEventMail("USER.SUBSCRIBE");
if(strlen($_GET["Subscribe"])>0)
$var_list["t"] = $_GET["Subscribe"];
}
}
else
{
$SubscribeResult = "lu_invalid_emailaddress";
}
}
else
$SubscribeResult = "lu_subscribe_missing_address";
}
if(!strlen($SubscribeResult))
$SubscribeResult = "lu_subscribe_success";
break;
case "m_unsubscribe":
if($_POST["buttons"][0]==language("lu_button_yes"))
{
$MissingCount = SetMissingDataErrors("m_unsubscribe");
if($MissingCount==0)
{
$email = $_POST["subscribe_email"];
$u = $objUsers->GetItemByField("Email",$email);
if(is_object($u))
{
if(strtolower($u->Get("Email"))==strtolower($email))
{
$GroupId = (int)$objConfig->Get("User_SubscriberGroup");
if($u->PrimaryGroup()==$GroupId)
{
$u_gorup_list = $u->GetGroupList();
if (count($u_gorup_list) > 1) {
$u->RemoveFromGroup($GroupId);
}
else {
$u->RemoveFromAllGroups();
$u->Delete();
}
}
else
{
$u->RemoveFromGroup($GroupId);
}
}
}
if(strlen($_GET["Subscribe"])>0)
$var_list["t"] = $_GET["Subscribe"];
}
}
break;
case "m_logout":
// $objSession->Logout();
//unset($objSession);
//$objSession = new clsUserSession();
// $var_list_update["t"] = "index";
// setcookie("login","",time()-3600);
break;
case "m_register":
$MissingCount = SetMissingDataErrors("m_register");
if(!$objConfig->Get("User_Password_Auto"))
{
if(($_POST["password"] != $_POST["passwordverify"]) || !strlen($_POST["passwordverify"]))
{
$MissingCount++;
$FormError["m_register"]["passwordverify"] = language("lu_ferror_pswd_mismatch");
}
}
if(strlen($_POST["password"])>30)
{
// echo "VAR: ".$_POST["password"]; die();
$MissingCount++;
$FormError["m_register"]["password"] = language("lu_ferror_pswd_toolong");
}
if (strlen($_POST['password']) < $objConfig->Get("Min_Password"))
{
$MissingCount++;
$FormError["m_register"]["password"] = language("lu_ferror_pswd_tooshort");
}
$u = $objUsers->GetItemByField("Login",$_POST["username"]);
if(is_object($u))
{
if($u->Get("Login")==$_POST["username"])
{
$MissingCount++;
$FormError["m_register"]["username"] = language("lu_user_exists");
}
}
if (strlen($_POST['username']) < $objConfig->Get("Min_UserName"))
{
$MissingCount++;
$FormError["m_register"]["username"] = language("lu_ferror_username_tooshort");
}
if(!$MissingCount)
{
$CreatedOn = adodb_date("U");
$GroupId = $objConfig->Get("User_NewGroup");
$Status=0;
/* determine the status of new users */
switch ($objConfig->Get("User_Allow_New"))
{
case "1":
$Status=1;
break;
case "3":
$Status=2;
break;
}
/* set Destination template */
$var_list["t"] = strlen($_GET["dest"])? $_GET["dest"] : "index";
if($Status>0)
{
if($objConfig->Get("User_Password_Auto"))
{
$password = makepassword();
}
else
$password = $_POST["password"];
$_POST["dob"] = $_POST["dob_month"]."/".$_POST["dob_day"]."/".$_POST["dob_year"];
$dob = DateTimestamp($_POST["dob"],GetDateFormat());
$ip = $_SERVER['REMOTE_ADDR'];
$u = &$objUsers->Add_User($_POST["username"], md5($password), $_POST["email"], $CreatedOn, $_POST["firstname"], $_POST["lastname"], $Status, $_POST["phone"], $_POST["street"], $_POST["city"], $_POST["state"], $_POST["zip"], $_POST["country"], $dob, $ip, TRUE);
if(!is_object($u))
{
$RuleId=$u;
$r = $objBanList->GetItem($RuleId);
$err = $r->Get("ErrorTag");
if(strlen($err))
{
$FormError["m_register"][$r->Get("ItemField")] = language($err);
$MissingCount++;
}
}
else
{
$u->Set("Password",$password);
$u->Clean();
if($GroupId>0)
{
$g = $objGroups->GetItem($GroupId);
$g->AddUser($u->Get("PortalUserId"),1);
}
$custom = $_POST["custom"];
if(is_array($custom))
{
for($x=0;$x<count($custom);$x++)
{
$u->SetCustomField($custom[$x],$_POST[$custom[$x]]);
}
$u->SaveCustomFields();
}
if($Status==1)
{
if($objConfig->Get("User_Password_Auto"))
{
$u->SendUserEventMail("USER.VALIDATE",$u->Get("PortalUserId"));
$u->SendAdminEventMail("USER.VALIDATE");
}
else
{
$doLoginNow = true;
$u->SendUserEventMail("USER.ADD",$u->Get("PortalUserId"));
$u->SendAdminEventMail("USER.ADD");
}
}
else
{
$u->SendUserEventMail("USER.ADD.PENDING",$u->Get("PortalUserId"));
$u->SendAdminEventMail("USER.ADD.PENDING");
}
if ($doLoginNow)
$objSession->Login($_POST["username"], md5($password));
}
}
}
break;
case "m_add_friend":
$id = $_GET["UserId"];
$userid = $objSession->Get("PortalUserId");
if($id!=$userid)
{
$u =& $objUsers->GetItem($id);
$u->AddFavorite($userid);
}
break;
case "m_del_friend":
$id = $_GET["UserId"];
$userid = $objSession->Get("PortalUserId");
$u =& $objUsers->GetItem($id);
$u->DeleteFavorite();
break;
case "m_acctinfo":
// phpinfo(INFO_VARIABLES);
$MissingCount = SetMissingDataErrors("m_acctinfo");
$UserId = $_GET["UserId"];
if($UserId != $objSession->Get("PortalUserId"))
{
$MissingCount++;
$FormError["m_acctinfo"]["UserId"] = language("lu_ferror_m_profile_userid");
}
if(strlen($_POST["password"])>0)
{
if(($_POST["password"] != $_POST["passwordverify"]) || !strlen($_POST["passwordverify"]))
{
$MissingCount++;
$FormError["m_acctinfo"]["passwordverify"] = language("lu_ferror_pswd_mismatch");
}
if(strlen($_POST["password"])>30)
{
// echo "VAR: ".$_POST["password"]; die();
$MissingCount++;
$FormError["m_acctinfo"]["password"] = language("lu_ferror_pswd_toolong");
}
if (strlen($_POST['password']) < $objConfig->Get("Min_Password"))
{
$MissingCount++;
$FormError["m_acctinfo"]["password"] = language("lu_ferror_pswd_tooshort");
}
}
if(!$MissingCount)
{
/* save profile */
$u =& $objUsers->GetItem($UserId);
$status = $u->Get("Status");
$_POST["dob"] = $_POST["dob_month"]."/".$_POST["dob_day"]."/".$_POST["dob_year"];
$dob = DateTimestamp($_POST["dob"], GetDateFormat());
if(strlen($_POST["password"])>0)
{
$password = md5($_POST["password"]);
}
else
$password = "";
$objUsers->Edit_User($UserId, $_POST["username"], $password, $_POST["email"], 0,
$_POST["firstname"], $_POST["lastname"], $status, $_POST["phone"],
$_POST["street"], $_POST["city"], $_POST["state"], $_POST["zip"],
$_POST["country"], $dob);
}
break;
case "m_profile":
$userid = $objSession->Get("PortalUserId");
if($userid>0)
{
$u = $objUsers->GetItem($userid);
foreach($_POST as $field=>$value)
{
if(substr($field,0,3)=="pp_")
{
$objSession->SetPersistantVariable($field,$value);
}
}
}
break;
case "m_set_lang":
$lang = $_GET["lang"];
$LangId = 0;
if(strlen($lang))
{
$l = $objLanguages->GetItemByField("PackName",$lang);
if(is_object($l))
{
$LangId = $l->Get("LanguageId");
}
}
if($LangId)
{
if($objSession->Get("PortalUserId")>0)
{
$objSession->SetPersistantVariable("Language",$LangId);
}
$objSession->Set("Language",$LangId);
$objSession->Update();
$m_var_list_update["lang"] = $LangId;
$m_var_list["lang"] = $LangId;
}
break;
case "m_set_theme":
$id = $_POST["ThemeId"];
if(!is_numeric($id))
$id = $_GET["ThemeId"];
if($id)
{
$objSession->SetThemeName($id);
- $var_list["t"] = "index";
+ $m_var_list["t"] = "index";
$m_var_list_update["theme"] = $id;
- $m_var_list["theme"] = $id;
+ $m_var_list["theme"] = $id;
+ unset($CurrentTheme);
}
break;
case "m_sort_cats":
$objSession->SetVariable("Category_Sortfield",$_POST["cat_field_sort"]);
$objSession->SetVariable("Category_Sortorder",$_POST["cat_sort_order"]);
break;
case "m_add_cat_confirm":
// phpinfo(INFO_VARIABLES);
$perm = 0;
$CategoryId=$objCatList->CurrentCategoryID();
if ($objSession->HasCatPermission("CATEGORY.ADD.PENDING"))
$perm = 2;
if ($objSession->HasCatPermission("CATEGORY.ADD"))
$perm = 1;
if ($perm == 0)
{
$MissingCount++;
$FormError["m_addcat"]["name"] = language("lu_ferror_no_access");
}
else
{
$MissingCount = SetMissingDataErrors("m_addcat");
if(is_array($_FILES))
{
foreach($_FILES as $field => $file)
{
$allowed = TRUE;
if(strlen($_POST["imagetypes"][$field]))
{
$types = explode(",",strtolower($_POST["imagetypes"][$field]));
if(is_array($types))
{
if(count($types)>0)
{
$path_parts = pathinfo($file["name"]);
$ext = $path_parts["extension"];
$allowed = in_array($ext,$types);
if(!$allowed)
{
$MissingCount++;
$FormError["m_addcat"][$field] = language("lu_ferror_wrongtype");
}
}
}
}
$maxsize = (int)$_POST["maxsize"][$field];
if($maxsize>0 && $allowed && $file["size"]>$maxsize)
{
$allowed = FALSE;
$MissingCount++;
$FormError["m_addcat"][$field] = language("lu_ferror_toolarge");
}
}
}
if($MissingCount==0)
{
$CreatedOn = date("U");
$name = $_POST["name"];
$desc = $_POST["description"];
$metadesc = $_POST["meta_description"];
$keywords = $_POST["meta_keywords"];
$parent = $objCatList->CurrentCategoryID();
$cat =& $objCatList->Add($parent, $name, inp_escape($desc,0), $CreatedOn,
0, $perm, 2, 2, 2, 0, $keywords,$metadesc);
$cat->UpdateCachedPath();
$cat->Update();
$cat->UpdateACL();
$objCatList->UpdateMissingCacheData();
if(strlen($_GET["Confirm"]))
{
$var_list["t"] = $_GET["Confirm"];
}
else
$var_list["t"] = $_GET["DestTemplate"];
}
}
break;
case "m_front_review_add":
if($objSession->InSpamControl($_POST["ItemId"]))
{
$StatusMessage["review"] = language("la_Review_AlreadyReviewed");
}
else
{
$objReviews = new clsItemReviewList();
$Status = $objConfig->Get("Review_DefaultStatus");
$CreatedOn = adodb_date("U");
$html = (int)$objConfig->Get("Review_Html");
$ReviewText = inp_escape($_POST["review_text"],$html);
$r = $objReviews->AddReview($CreatedOn,$ReviewText,$Status, $IPAddress,
0, $_POST["ItemId"], $_POST["ItemType"], $objSession->Get("PortalUserId"));
foreach($ItemTypes as $type=>$id)
{
if($id==$_POST["ItemType"])
{
$ValName = $type."_ReviewDelay_Value";
$IntName = $type."_ReviewDelay_Interval";
break;
}
}
if(strlen($ValName) && strlen($IntName))
{
$exp_secs = $objConfig->Get($ValName) * $objConfig->Get($IntName);
$objSession->AddToSpamControl($_POST["ItemId"],$exp_secs);
if(is_object($r))
{
if($Status)
{
$StatusMessage["review"] = language("la_Review_Added");
}
else
$StatusMessage["review"] = language("la_Review_Pending");
}
else
$StatusMessage["review"] = language("la_Review_Error");
}
else
$StatusMessage["error"] = language("la_ConfigError_Review");
}
break;
case "m_suggest_email":
$cutoff = time()+(int)$objConfig->Get("Suggest_MinInterval");
$email = $_POST["suggest_email"];
if (strlen($email))
{
if(ValidEmail($email))
{
$sql = "SELECT * FROM ".GetTablePrefix()."SuggestMail WHERE email='".inp_escape($email,0)."' and sent<".$cutoff;
$adodbConnection = GetADODBConnection();
$rs = $adodbConnection->Execute($sql);
$rs = false;
if($rs && !$rs->EOF)
{
if(strlen($_GET["Error"])>0)
$var_list["t"] = $_GET["Error"];
$suggest_result = "$email ".language("lu_already_suggested ")." ".LangDate($rs->fields["sent"]);
}
else
{
$Event =& $objMessageList->GetEmailEventObject("USER.SUGGEST");
if(is_object($Event))
{
if($Event->Get("Enabled")=="1")
{
$Event->Item = $this;
$Event->SendToAddress($email);
$sql = "INSERT INTO ".GetTablePrefix()."SuggestMail (email,sent) VALUES ('".inp_escape($email,0)."','".time()."')";
$rs = $adodbConnection->Execute($sql);
$suggest_result=language("lu_suggest_success")." ".$email;
}
}
$e =& $objMessageList->GetEmailEventObject("USER.SUGGEST",1);
if($e->Get("Enabled")==1)
$e->SendAdmin();
if(strlen($_GET["Confirm"])>0)
$var_list["t"] = $_GET["Confirm"];
}
}
else
{
if(strlen($_GET["Error"])>0)
$var_list["t"] = $_GET["Error"];
$suggest_result=language("lu_invalid_emailaddress");
}
}
else
{
if(strlen($_GET["Error"])>0)
$var_list["t"] = $_GET["Error"];
$suggest_result=language("lu_suggest_no_address");
}
break;
case "m_simple_search":
$keywords = $_POST["keywords"];
$type = $objItemTypes->GetTypeByName("Category");
$objSearch = new clsSearchResults("Category","clsCategory");
if(strlen($keywords))
{
$objSearchList = new clsSearchLogList();
$objSearchList->UpdateKeyword($keywords,0);
$objSearch->SetKeywords($keywords);
$objSearch->AddSimpleFields();
if(is_numeric($objConfig->Get("SearchRel_Pop_category")))
$objSearch->PctPop = ($objConfig->Get("SearchRel_Pop_category")/100);
if(is_numeric($objConfig->Get("SearchRel_Keyword_category")))
$objSearch->PctRelevance = ($objConfig->Get("SearchRel_Keyword_category")/100);
if(is_numeric($objConfig->Get("SearchRel_Rating_article")))
$objSearch->PctRating = ($objConfig->Get("SearchRel_Rating_category")/100);
//echo "Searching On $keywords<br>\n";
$objSearch->PerformSearch(1,$SortOrder,TRUE);
$SearchPerformed = TRUE;
//$objSearch->SetRelevence($type->Get("ItemType"), "CategoryId");
//echo "Finished Setting Category Relevence<br>\n";
}
else
{
if(strlen($_GET["Error"])>0)
$var_list["t"] = $_GET["Error"];
$MissingCount = SetMissingDataErrors("m_simplesearch");
$MissingCount++;
$FormError["m_simplesearch"]["keywords"] = language("lu_no_keyword");
}
break;
case "m_adv_search":
if(!is_object($objSearchConfig))
$objSearchConfig = new clsSearchConfigList();
switch($_GET["type"])
{
case 1: /* category */
$objAdvSearch = new clsAdvancedSearchResults("Category","clsCategory");
foreach($objSearchConfig->Items as $field)
{
+
+ echo "TEST";
$fld = $field->Get("FieldName");
$Verb = $_POST["verb"][$field->Get("FieldName")];
if(!strlen($Verb) && $field->Get("FieldType")=="boolean")
{
if($_POST["value"][$field->Get("FieldName")]!=-1)
{
$Value = $_POST["value"][$field->Get("FieldName")];
$Verb = "is";
}
}
else
{
$Value = $_POST["value"][$field->Get("FieldName")];
}
switch( $_POST["andor"][$field->Get("FieldName")])
{
case 1:
$Conjuction = "AND";
break;
case 2:
$Conjuction = "OR";
break;
default:
$Conjuction = "";
break;
}
if(strlen($Verb)>0 && $Verb!="any")
$objAdvSearch->AddAdvancedField($field->Get("TableName"),$field->Get("FieldName"),$Verb,$Value,$Conjuction);
}
$objAdvSearch->PerformSearch(1,NULL,TRUE);
break;
}
break;
case "m_id":
echo $Action.":".$DownloadId;
die();
break;
case "m_simple_subsearch":
$keywords = $_POST["keywords"];
$type = $objItemTypes->GetTypeByName("Category");
$objSearch = new clsSearchResults("Category","clsCategory");
if(strlen($keywords))
{
$objSearchList = new clsSearchLogList();
$objSearchList->UpdateKeyword($keywords,0);
$objSearch->SetKeywords($keywords);
$objSearch->AddSimpleFields();
if(is_numeric($objConfig->Get("SearchRel_Pop_category")))
$objSearch->PctPop = ($objConfig->Get("SearchRel_Pop_category")/100);
if(is_numeric($objConfig->Get("SearchRel_Keyword_category")))
$objSearch->PctRelevance = ($objConfig->Get("SearchRel_Keyword_category")/100);
if(is_numeric($objConfig->Get("SearchRel_Rating_article")))
$objSearch->PctRating = ($objConfig->Get("SearchRel_Rating_category")/100);
$SearchResultIdList = $objSearch->Result_IdList();
if(count($SearchResultIdList)>0)
{
$objSearch->PerformSearch(1,$SortOrder,TRUE,$SearchResultIdList);
//$objSearch->SetRelevence($type->Get("ItemType"), "CategoryId");
}
$SearchPerformed = TRUE;
}
else {
$MissingCount = SetMissingDataErrors("m_simplesearch");
$MissingCount++;
$FormError["m_simplesearch"]["keywords"] = language("lu_no_keyword");
}
break;
}
?>
Property changes on: trunk/kernel/frontaction.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1
\ No newline at end of property
+1.2
\ No newline at end of property
Index: trunk/themes/inlink2/subscribe.tpl
===================================================================
--- trunk/themes/inlink2/subscribe.tpl (nonexistent)
+++ trunk/themes/inlink2/subscribe.tpl (revision 29)
@@ -0,0 +1,37 @@
+<inp:include _Template="header.tpl" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon5.gif" width="24" height="24" border="0" align="absmiddle"><inp:m_language _Phrase="lu_mailinglist" /></TD>
+ </TR>
+</TABLE>
+
+
+
+<TABLE width="760" align="center" cellspacing="0" cellpadding="4">
+<FORM method="POST" name="subscribe" ACTION="<inp:m_form_action _form="m_subscribe" _SubscribeTemplate="mailing_list/confirm_subscribe.tpl" _UnsubscribeTemplate="mailing_list/confirm_unsubscribe.tpl" _ErrorTemplate="mailing_list/error.tpl" />">
+ <TR class="cell1">
+ <TD valign="top" align="center"><SPAN class="text">
+ <INPUT type="text" name="subscribe_email" value="" class="input" style="width: 150px;">
+ </SPAN></TD>
+
+ </TR>
+
+ <TR class="cell2">
+ <TD valign="middle" nowrap align="center">
+ <P>
+ <INPUT type="submit" name="m_subscribe" value="<inp:m_language _Phrase="lu_button_mailinglist" />" class="button">&nbsp;&nbsp;&nbsp;<INPUT type="submit" name="m_unsubscribe" value="<inp:m_language _Phrase="lu_button_unsubscribe" />" class="button">
+ </P>
+ </TD>
+ </TR>
+ </FORM>
+</TABLE>
+<BR>
+
+<inp:include _Template="box_search.tpl" />
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/subscribe.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/confirm_friend.tpl
===================================================================
--- trunk/themes/inlink2/confirm_friend.tpl (nonexistent)
+++ trunk/themes/inlink2/confirm_friend.tpl (revision 29)
@@ -0,0 +1,33 @@
+<%include:header%>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon8.gif" width="24" height="24" border="0" align="absmiddle">
+ <%language:lu_title_confirm%>
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <%confirm_message_friend%>
+ </SPAN>
+ </P>
+ <DIV align="center">
+ <form method="post" action="../../index.php?<%confirm_attach%>">
+ <input type="hidden" name="action" value="<%confirm_action%>">
+ <INPUT type="submit" name="submit" value="<%language:lu_button_ok%>" class="button">
+ </form>
+ </DIV>
+ <BR>
+ </TD>
+ </TR>
+</TABLE>
+
+
+<%include:footer%>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/confirm_friend.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/list_cats.tpl
===================================================================
--- trunk/themes/inlink2/list_cats.tpl (nonexistent)
+++ trunk/themes/inlink2/list_cats.tpl (revision 29)
@@ -0,0 +1,9 @@
+<P>
+<A href="<inp:cat _field="link" _Template="sub_pages.tpl" />"><img src="images/folder.gif" border="0"></A>
+<A href="<inp:cat _field="link" _Template="sub_pages.tpl" />" class="cat"><inp:cat _field="Name" /></A>
+<SPAN class="cat-pick"><inp:cat _field="pick"><inp:m_language _Phrase="lu_editors_pick" /></inp></SPAN>
+<SPAN class="cat-new"><inp:cat _field="new"><inp:m_language _Phrase="lu_new" /></inp></SPAN>
+<SPAN class="cat-no">(<inp:cat _Field="subcatcount" _GroupOnly="1" />/<inp:cat _Field="itemcount" _ItemType="Link" />)</SPAN><BR>
+<SPAN class="cat-desc"><inp:cat _Field="description" /></SPAN><BR />
+<SPAN class="catsub"><inp:cat _Field="catsubcats" _Limit="3" _TargetTemplate="sub_page.tpl" Separator="," _Anchor="1" /></SPAN>
+</P>
Property changes on: trunk/themes/inlink2/list_cats.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/list_feature_links.tpl
===================================================================
--- trunk/themes/inlink2/list_feature_links.tpl (nonexistent)
+++ trunk/themes/inlink2/list_feature_links.tpl (revision 29)
@@ -0,0 +1,38 @@
+<LI>
+<a class="link" href="<inp:link _field="redirect" />"><inp:link _field="name" /></a>
+
+<SPAN class="link-pick"><inp:link _field="pick"><inp:m_language _Phrase="lu_editors_pick" /></inp:link></SPAN>
+<SPAN class="link-top"><inp:link _field="hot"><inp:m_language _Phrase="lu_hot" /></inp:link></SPAN>
+<SPAN class="link-pop"><inp:link _field="pop"><inp:m_language _Phrase="lu_pop" /></inp:link></SPAN>
+<SPAN class="link-new"><inp:link _field="new"><inp:m_language _Phrase="lu_new" /></inp:link></SPAN>
+
+<SPAN class="link-desc"> - <inp:link _field="description" /></SPAN>
+
+<inp:link _Field="rating" _DisplayMode="graphical" _OffImage="images/star.gif" _OnImage="images/star_rate.gif" />
+<BR />
+
+<SPAN class="link-detail">
+(<inp:m_language _Phrase="lu_added" />: <inp:link _field="date" />
+<inp:link _Field="modified">, <inp:m_language _Phrase="lu_modified" />: <inp:link _Field="modified" /></inp:link>
+, <inp:m_language _Phrase="lu_hits" />: <inp:link _field="hits" />
+, <inp:m_language _Phrase="lu_rating" />: <inp:link _Field="rating" _DisplayMode="numerical" />
+, <inp:m_language _Phrase="lu_votes" />: <inp:link _Field="votes" />
+, <inp:m_language _Phrase="lu_reviews" />: <inp:link _Field="reviews" />
+<inp:link _Field="expire" _DateNotSet="1" >, <inp:m_language _Phrase="lu_expires" />: <inp:link _Field="expire" _NoExpireLabel="lu_no_expiration" /></inp:link>)
+</SPAN>
+
+<BR>
+
+<A href="<inp:link _field="link" _template="reviews.tpl" />" class="link-review"><IMG src="images/icon2.gif" width="16" height="16" border="0" align="absmiddle">&nbsp;<inp:m_language _Phrase="lu_reviews" /></A>
+<A href="<inp:link _field="link" _Template="rate.tpl" />" class="link-rate"><IMG src="images/icon1.gif" width="16" height="16" border="0" align="absmiddle">&nbsp;<inp:m_language _Phrase="lu_rateit" /></A>
+
+<inp:m_perm_text _Perm="login">
+ <IMG src="images/icon10.gif" width="16" height="16" border="0" align="absmiddle">
+ <inp:link _Field="favorite_toggle" _AddLabel="lu_add_to_favorites" _DelLabel="lu_remove_from_favorites" _DenyTemplate="login.tpl" _DestTemplate="sub_pages.tpl" class="link-modify" />
+</inp:m_perm_text>
+
+<A href="<inp:link _field="link" _template="details.tpl" />" class="link-review">
+<img src="images/icon7.gif" width="16" height="16" alt="" border="0" align="absmiddle" />&nbsp;<inp:m_language _Phrase="lu_details" /></a>
+
+</LI>
+<BR /><BR />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/list_feature_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/pick.tpl
===================================================================
--- trunk/themes/inlink2/pick.tpl (nonexistent)
+++ trunk/themes/inlink2/pick.tpl (revision 29)
@@ -0,0 +1,74 @@
+<inp:include _Template="header.tpl" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon5.gif" width="24" height="24" border="0" align="absmiddle"> <inp:m_language _Phrase="lu_pick_links" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="text">
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR>
+ <TD>
+ <IMG src="images/icon8.gif" width="16" height="16" border="0" align="absmiddle">
+ <SPAN class="stats"><B><inp:m_language _Phrase="lu_links" /></B>(<inp:l_list_count _ListType="Pick" _ShortList="0" />)</SPAN></TD>
+
+ <FORM name="l_sort_links" method="POST" action="<inp:l_form_action _Form="l_sort_links"/>">
+
+ <TD class="small">
+ <DIV align="right">
+ <P>
+ <inp:m_language _Phrase="lu_show" />
+ <SELECT name="link_perpage" class="small">
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="10" _PlainText="10" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="20" _PlainText="20" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="50" _PlainText="50" />
+ </SELECT>
+ <inp:m_language _Phrase="lu_sort_by" />
+ <SELECT name="link_sort_field" class="small">
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Name" _LangText="lu_link_name" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedOn" _LangText="lu_date" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Description" _LangText="lu_field_description" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedById" _LangText="la_Text_Users" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Url" _LangText="lu_field_url" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedRating" _LangText="lu_rating" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedVotesQty" _LangText="lu_votes" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Hits" _LangText="lu_hits" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="EditorsPick" _LangText="lu_editors_pick" />
+ </SELECT>
+ <SELECT name="link_sort_order" class="small">
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="ASC" _LangText="lu_Ascending" />
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="DESC" _LangText="lu_Descending" />
+ </SELECT>
+ <INPUT type="hidden" name="start" value="0">
+ <INPUT type="submit" class="buttonsmall" value="<inp:m_language _Phrase="lu_button_go" />">
+ <A href="#"> </A> </P>
+ </DIV>
+ </TD>
+ </FORM>
+ </TR>
+ </TABLE>
+ <BR>
+ <UL>
+ <inp:l_list_links _ItemTemplate="list_feature_links.tpl" _ShortList="0" _ListType="Pick" />
+ </UL>
+ </TD>
+ </TR><TR>
+ <TD class="pagenav" align="right">
+ <inp:l_link_pagenav _Label="lu_page_label" _ShortList="0" _ListType="Pick" />
+ </TD>
+ </TR>
+</TABLE>
+
+<BR>
+
+<inp:include _Template="box_search.tpl" />
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/pick.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/register/register_confirm.tpl
===================================================================
--- trunk/themes/inlink2/register/register_confirm.tpl (nonexistent)
+++ trunk/themes/inlink2/register/register_confirm.tpl (revision 29)
@@ -0,0 +1,32 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon8.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_register_confirm" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_register_confirm_text" />
+ </SPAN>
+ </P>
+ <BR />
+
+ <inp:include _Template="login/login.tpl" />
+
+ </TD>
+ </TR>
+</TABLE>
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/register/register_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/register/english_countries.tpl
===================================================================
--- trunk/themes/inlink2/register/english_countries.tpl (nonexistent)
+++ trunk/themes/inlink2/register/english_countries.tpl (revision 29)
@@ -0,0 +1,192 @@
+<inp:m_form_option _Field="country" _Form="m_register" _value=" " _PlainText=" " />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Afghanistan" _PlainText="Afghanistan" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Albania" _PlainText="Albania" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Algeria" _PlainText="Algeria" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Andorra" _PlainText="Andorra" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Angola" _PlainText="Angola" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Antigua & Barbuda" _PlainText="Antigua & Barbuda" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Argentina" _PlainText="Argentina" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Armenia" _PlainText="Armenia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Australia" _PlainText="Australia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Austria" _PlainText="Austria" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Azerbaijan" _PlainText="Azerbaijan" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Bahamas" _PlainText="Bahamas" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Bahrain" _PlainText="Bahrain" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Bangladesh" _PlainText="Bangladesh" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Barbados" _PlainText="Barbados" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Belarus" _PlainText="Belarus" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Belgium" _PlainText="Belgium" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Belize" _PlainText="Belize" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Benin" _PlainText="Benin" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Bhutan" _PlainText="Bhutan" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Bolivia" _PlainText="Bolivia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Bosnia and Herzegovina" _PlainText="Bosnia and Herzegovina" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Botswana" _PlainText="Botswana" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Brazil" _PlainText="Brazil" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Brunei" _PlainText="Brunei" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Bulgaria" _PlainText="Bulgaria" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Burkina Faso" _PlainText="Burkina Faso" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Burundi" _PlainText="Burundi" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Cambodia" _PlainText="Cambodia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Cameroon" _PlainText="Cameroon" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Canada" _PlainText="Canada" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Cape Verde" _PlainText="Cape Verde" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Central Africa Republic" _PlainText="Central Africa Republic" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Chad" _PlainText="Chad" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Chile" _PlainText="Chile" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="China" _PlainText="China" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Colombia" _PlainText="Colombia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Comoros" _PlainText="Comoros" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Congo (formerly Zaire)" _PlainText="Congo (formerly Zaire)" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Congo Republic" _PlainText="Congo Republic" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Costa Rica" _PlainText="Costa Rica" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="C&#1092;te d'Ivoire" _PlainText="C&#1092;t ed'Ivoire" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Croatia" _PlainText="Croatia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Cuba" _PlainText="Cuba" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Cyprus" _PlainText="Cyprus" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Czech Republic" _PlainText="Czech Republic" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Denmark" _PlainText="Denmark" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Djibouti" _PlainText="Djibouti" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Dominica" _PlainText="Dominica" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Dominican Republic" _PlainText="Dominican Republic" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Ecuador" _PlainText="Ecuador" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Egypt" _PlainText="Egypt" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="El Salvador" _PlainText="El Salvador" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Equatorial Guinea" _PlainText="Equatorial Guinea" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Eritrea" _PlainText="Eritrea" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Estonia" _PlainText="Estonia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Ethiopia" _PlainText="Ethiopia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Fiji" _PlainText="Fiji" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Finland" _PlainText="Finland" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="France" _PlainText="France" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Gabon" _PlainText="Gabon" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Gambia, The" _PlainText="Gambia, The" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Georgia" _PlainText="Georgia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Germany" _PlainText="Germany" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Ghana" _PlainText="Ghana" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Greece" _PlainText="Greece" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Grenada" _PlainText="Grenada" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Guatemala" _PlainText="Guatemala" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Guinea" _PlainText="Guinea" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Guinea-Bissau" _PlainText="Guinea-Bissau" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Guyana" _PlainText="Guyana" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Haiti" _PlainText="Haiti" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Honduras" _PlainText="Honduras" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Hungary" _PlainText="Hungary" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Iceland" _PlainText="Iceland" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="India" _PlainText="India" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Indonesia" _PlainText="Indonesia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Iran" _PlainText="Iran" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Iraq" _PlainText="Iraq" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Ireland" _PlainText="Ireland" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Israel" _PlainText="Israel" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Italy" _PlainText="Italy" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Jamaica" _PlainText="Jamaica" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Japan" _PlainText="Japan" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Jordan" _PlainText="Jordan" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Kazakhstan" _PlainText="Kazakhstan" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Kenya" _PlainText="Kenya" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Kiribati" _PlainText="Kiribati" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Korea, North" _PlainText="Korea, North" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Korea, South" _PlainText="Korea, South" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Kuwait" _PlainText="Kuwait" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Kyrgyzstan" _PlainText="Kyrgyzstan" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Laos" _PlainText="Laos" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Latvia" _PlainText="Latvia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Lebanon" _PlainText="Lebanon" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Lesotho" _PlainText="Lesotho" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Liberia" _PlainText="Liberia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Libya" _PlainText="Libya" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Liechtenstein" _PlainText="Liechtenstein" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Lithuania" _PlainText="Lithuania" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Luxembourg" _PlainText="Luxembourg" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Macedonia" _PlainText="Macedonia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Madagascar" _PlainText="Madagascar" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Malawi" _PlainText="Malawi" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Malaysia" _PlainText="Malaysia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Maldives" _PlainText="Maldives" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Mali" _PlainText="Mali" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Malta" _PlainText="Malta" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Marshall Islands" _PlainText="Marshall Islands" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Mauritania" _PlainText="Mauritania" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Mauritius" _PlainText="Mauritius" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Mexico" _PlainText="Mexico" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Moldova" _PlainText="Moldova" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Monaco" _PlainText="Monaco" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Mongolia" _PlainText="Mongolia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Morocco" _PlainText="Morocco" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Mozambique" _PlainText="Mozambique" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Myanmar" _PlainText="Myanmar" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Namibia" _PlainText="Namibia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Nauru" _PlainText="Nauru" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Nepal" _PlainText="Nepal" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Netherlands" _PlainText="Netherlands" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="New Zealand" _PlainText="New Zealand" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Nicaragua" _PlainText="Nicaragua" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Niger" _PlainText="Niger" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Nigeria" _PlainText="Nigeria" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Norway" _PlainText="Norway" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Oman" _PlainText="Oman" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Pakistan" _PlainText="Pakistan" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Palau" _PlainText="Palau" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Panama" _PlainText="Panama" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Papua New Guinea" _PlainText="Papua New Guinea" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Paraguay" _PlainText="Paraguay" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Peru" _PlainText="Peru" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Philippines" _PlainText="Philippines" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Poland" _PlainText="Poland" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Portugal" _PlainText="Portugal" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Qatar" _PlainText="Qatar" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Romania" _PlainText="Romania" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Russia" _PlainText="Russia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Rwanda" _PlainText="Rwanda" _PlainText="" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Saint Kitts and Nevis" _PlainText="Saint Kitts and Nevis" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Saint Lucia" _PlainText="Saint Lucia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Saint Vincent & the Grenadines" _PlainText="Saint Vincent & the Grenadines" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Samoa (formerly Western Samoa)" _PlainText="Samoa (formerly Western Samoa)" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="San Marino" _PlainText="San Marino" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="S&#1075;o Tom&#1081; & Pr&#1085;ncipe" _PlainText="S&#1075;o Tom&#1081; & Pr&#1085;ncipe" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Saudi Arabia" _PlainText="Saudi Arabia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Senegal" _PlainText="Senegal" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Seychelles" _PlainText="Seychelles" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Sierra Leone" _PlainText="Sierra Leone" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Singapore" _PlainText="Singapore" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Slovakia" _PlainText="Slovakia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Slovenia" _PlainText="Slovenia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Solomon Islands" _PlainText="Solomon Islands" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Somalia" _PlainText="Somalia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="South Africa" _PlainText="South Afric" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Spain" _PlainText="Spain" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Sri Lanka" _PlainText="Sri Lanka" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Sudan" _PlainText="Sudan" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Suriname" _PlainText="Suriname" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Swaziland" _PlainText="Swaziland" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Sweden" _PlainText="Sweden" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Switzerland" _PlainText="Switzerland" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Syria" _PlainText="Syria" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Taiwan" _PlainText="Taiwan" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Tajikistan" _PlainText="Tajikistan" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Tanzania" _PlainText="Tanzania" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Thailand" _PlainText="Thailand" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Togo" _PlainText="Togo" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Tonga" _PlainText="Tonga" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Trinidad & Tobago" _PlainText="Trinidad & Tobago" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Tunisia" _PlainText="Tunisia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Turkey" _PlainText="Turkey" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Turkmenistan" _PlainText="Turkmenistan" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Tuvalu" _PlainText="Tuvalu" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Uganda" _PlainText="Uganda" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Ukraine" _PlainText="Ukraine" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="United Arab Emirates" _PlainText="United Arab Emirates" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="United Kingdom" _PlainText="United Kingdom" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="United States" _PlainText="United States" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Uruguay" _PlainText="Uruguay" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Uzbekistan" _PlainText="Uzbekistan" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Vanuatu" _PlainText="Vanuatu" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Venezuela" _PlainText="Venezuela" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Vietnam" _PlainText="Vietnam" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Yemen" _PlainText="Yemen" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Yugoslavia" _PlainText="Yugoslavia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Zaire" _PlainText="Zaire" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Zambia" _PlainText="Zambia" />
+<inp:m_form_option _Field="country" _Form="m_register" _value="Zimbabwe" _PlainText="Zimbabwe" />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/register/english_countries.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/register/register_dob.tpl
===================================================================
--- trunk/themes/inlink2/register/register_dob.tpl (nonexistent)
+++ trunk/themes/inlink2/register/register_dob.tpl (revision 29)
@@ -0,0 +1,151 @@
+<SELECT name="dob_month" class="input" style="width:45px;">
+ <inp:m_form_option _Field="dob_month" _Form="m_register" _value=" " _PlainText=" " />
+ <inp:m_form_option _Field="dob_month" _Form="m_register" _value="01" _LangText="lu_Jan" />
+ <inp:m_form_option _Field="dob_month" _Form="m_register" _value="02" _LangText="lu_Feb" />
+ <inp:m_form_option _Field="dob_month" _Form="m_register" _value="03" _LangText="lu_Mar" />
+ <inp:m_form_option _Field="dob_month" _Form="m_register" _value="04" _LangText="lu_Apr" />
+ <inp:m_form_option _Field="dob_month" _Form="m_register" _value="05" _LangText="lu_May" />
+ <inp:m_form_option _Field="dob_month" _Form="m_register" _value="06" _LangText="lu_Jun" />
+ <inp:m_form_option _Field="dob_month" _Form="m_register" _value="07" _LangText="lu_Jul" />
+ <inp:m_form_option _Field="dob_month" _Form="m_register" _value="08" _LangText="lu_Aug" />
+ <inp:m_form_option _Field="dob_month" _Form="m_register" _value="09" _LangText="lu_Sep" />
+ <inp:m_form_option _Field="dob_month" _Form="m_register" _value="10" _LangText="lu_Oct" />
+ <inp:m_form_option _Field="dob_month" _Form="m_register" _value="11" _LangText="lu_Nov" />
+ <inp:m_form_option _Field="dob_month" _Form="m_register" _value="12" _LangText="lu_Dec" />
+</SELECT>
+<input type="hidden" name="required[]" value="dob_month" />
+
+<SELECT name="dob_day" class="input" style="width:35px;">
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value=" " _PlainText=" " />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="01" _PlainText="1" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="02" _PlainText="2" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="03" _PlainText="3" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="04" _PlainText="4" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="05" _PlainText="5" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="06" _PlainText="6" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="07" _PlainText="7" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="08" _PlainText="8" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="09" _PlainText="9" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="10" _PlainText="10" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="11" _PlainText="11" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="12" _PlainText="12" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="13" _PlainText="13" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="14" _PlainText="14" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="15" _PlainText="15" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="16" _PlainText="16" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="17" _PlainText="17" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="18" _PlainText="18" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="19" _PlainText="19" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="20" _PlainText="20" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="21" _PlainText="21" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="22" _PlainText="22" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="23" _PlainText="23" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="24" _PlainText="24" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="25" _PlainText="25" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="26" _PlainText="26" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="27" _PlainText="27" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="29" _PlainText="29" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="30" _PlainText="30" />
+ <inp:m_form_option _Field="dob_day" _Form="m_register" _value="31" _PlainText="31" />
+</SELECT>
+<input type="hidden" name="required[]" value="dob_day" />
+
+<SELECT name="dob_year" class="input" style="width:50px;">
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value=" " _PlainText=" " />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1910" _PlainText="1910" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1911" _PlainText="1911" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1912" _PlainText="1912" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1913" _PlainText="1913" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1914" _PlainText="1914" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1915" _PlainText="1915" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1916" _PlainText="1916" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1917" _PlainText="1917" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1918" _PlainText="1918" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1919" _PlainText="1919" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1920" _PlainText="1920" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1921" _PlainText="1921" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1922" _PlainText="1922" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1923" _PlainText="1923" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1924" _PlainText="1924" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1925" _PlainText="1925" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1926" _PlainText="1926" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1927" _PlainText="1927" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1928" _PlainText="1928" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1929" _PlainText="1929" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1930" _PlainText="1930" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1931" _PlainText="1931" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1932" _PlainText="1932" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1933" _PlainText="1933" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1934" _PlainText="1934" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1935" _PlainText="1935" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1936" _PlainText="1936" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1937" _PlainText="1937" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1938" _PlainText="1938" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1939" _PlainText="1939" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1940" _PlainText="1940" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1941" _PlainText="1941" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1942" _PlainText="1942" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1943" _PlainText="1943" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1944" _PlainText="1944" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1945" _PlainText="1945" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1946" _PlainText="1946" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1947" _PlainText="1947" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1948" _PlainText="1948" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1949" _PlainText="1949" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1950" _PlainText="1950" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1951" _PlainText="1951" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1952" _PlainText="1952" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1953" _PlainText="1953" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1954" _PlainText="1954" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1955" _PlainText="1955" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1956" _PlainText="1956" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1957" _PlainText="1957" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1958" _PlainText="1958" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1959" _PlainText="1959" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1960" _PlainText="1960" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1961" _PlainText="1961" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1962" _PlainText="1962" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1963" _PlainText="1963" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1964" _PlainText="1964" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1965" _PlainText="1965" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1966" _PlainText="1966" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1967" _PlainText="1967" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1968" _PlainText="1968" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1969" _PlainText="1969" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1970" _PlainText="1970" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1971" _PlainText="1971" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1972" _PlainText="1972" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1973" _PlainText="1973" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1974" _PlainText="1974" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1975" _PlainText="1975" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1976" _PlainText="1976" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1977" _PlainText="1977" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1978" _PlainText="1978" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1979" _PlainText="1979" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1980" _PlainText="1980" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1981" _PlainText="1981" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1982" _PlainText="1982" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1983" _PlainText="1983" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1984" _PlainText="1984" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1985" _PlainText="1985" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1986" _PlainText="1986" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1987" _PlainText="1987" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1988" _PlainText="1988" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1989" _PlainText="1989" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1990" _PlainText="1990" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1991" _PlainText="1991" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1992" _PlainText="1992" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1993" _PlainText="1993" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1994" _PlainText="1994" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1995" _PlainText="1995" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1996" _PlainText="1996" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1997" _PlainText="1997" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1998" _PlainText="1998" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="1999" _PlainText="1999" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="2000" _PlainText="2000" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="2001" _PlainText="2001" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="2002" _PlainText="2002" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="2003" _PlainText="2003" />
+ <inp:m_form_option _Field="dob_year" _Form="m_register" _value="2004" _PlainText="2004" />
+</SELECT>
+<input type="hidden" name="required[]" value="dob_year" />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/register/register_dob.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/register/register_pending.tpl
===================================================================
--- trunk/themes/inlink2/register/register_pending.tpl (nonexistent)
+++ trunk/themes/inlink2/register/register_pending.tpl (revision 29)
@@ -0,0 +1,34 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon8.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_user_pending_aproval" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<form method="POST" NAME="login" ACTION="<inp:m_form_action _form="register_confirm" _Template="login" />">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_user_pending_aproval_text" />
+ </SPAN>
+ </P>
+ <BR />
+
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+
+ </TD>
+ </TR>
+ </FORM>
+</TABLE>
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/register/register_pending.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/register/register_notallowed.tpl
===================================================================
--- trunk/themes/inlink2/register/register_notallowed.tpl (nonexistent)
+++ trunk/themes/inlink2/register/register_notallowed.tpl (revision 29)
@@ -0,0 +1,125 @@
+<inp:include _template="common/head.tpl" />
+<BODY>
+<inp:include _Template="common/pagetop.tpl" />
+
+<table width="770" border="0" cellspacing="0" cellpadding="0">
+ <!-- start content -->
+ <tr>
+ <td valign="top" height="100%">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
+ </tr>
+ <tr height="100%">
+ <td valign="top" class="bott-line">
+ <!-- path //-->
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
+ <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
+ </tr>
+ <tr>
+ <td class="bgr-path">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
+ <td class="path"><inp:m_navbar _RootTemplate="index" _separator=" &gt; " />&nbsp;</td>
+ <td align="right">
+ <table border="0" cellspacing="0" cellpadding="0" align="right">
+ <tr>
+ <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
+ <td>&nbsp;</td>
+ <td class="post-action"><span onclick="showSeg('langmenu',true); "><inp:m_lang_field _Field="LocalName" /></span></td>
+ <td>&nbsp;&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <inp:include _Template="lang_select/lang_menu.tpl" />
+ </td>
+ <!--<td class="bgr-path"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
+ </tr>
+ <tr><td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td></tr>
+ </table>
+
+
+ <img src="img/s.gif" width="1" height="1" alt="" /><br />
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
+ <td valign="top" width="10000">
+ <img src="img/s.gif" width="1" height="5" alt="" /><br />
+
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td>
+ <!-- error msg -->
+ <table width="98%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="50"><img src="img/ic_error_big.gif" width="46" height="46" alt="" /><br /></td>
+ <td><h1><inp:m_language _Phrase="lu_error_title" /></h1></td>
+ </tr>
+ <tr>
+ <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ <td class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td valign="top" class="reviewer">
+ <br />
+ <p><inp:m_language _Phrase="lu_operation_notallowed" /></p> <br />
+ </td>
+ </tr>
+ <tr>
+ <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ <td class="bgr-updatefill"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ </tr>
+ <tr>
+ <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ <td><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <FORM METHOD="POST" ACTION="<inp:m_form_action _Form="error_template" />" />
+ <input type="submit" name="login" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+ </FORM>
+ </td>
+ </tr>
+ </table>
+ <!-- end error msg -->
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
+ </tr>
+ </table>
+ </td>
+
+
+ <!-- white line content/right column //-->
+ <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ <!-- white line content/right column \\-->
+
+
+ <!-- right column //-->
+ <td valign="top" height="100%" class="open-box"><inp:include _Template="index/right.tpl" /></td>
+ <!-- right column \\-->
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <!-- end content -->
+
+
+ <inp:include _Template="common/footer.tpl" />
+</table>
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/register/register_notallowed.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/error.tpl
===================================================================
--- trunk/themes/inlink2/error.tpl (nonexistent)
+++ trunk/themes/inlink2/error.tpl (revision 29)
@@ -0,0 +1,31 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon16.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_subscribe_error" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM METHOD="POST" ACTION="<inp:m_form_action _Form="error_template" _Referer="1" />" >
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_subscribe_error />
+ </SPAN>
+ </P>
+ <BR />
+ <input type="submit" name="login" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/error.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/box_suggest.tpl
===================================================================
--- trunk/themes/inlink2/box_suggest.tpl (nonexistent)
+++ trunk/themes/inlink2/box_suggest.tpl (revision 29)
@@ -0,0 +1,20 @@
+<TABLE width="100%" border="0" cellspacing="1" cellpadding="1" class="floatbox-table">
+ <FORM method="POST" name="suggest" ACTION="<inp:m_form_action _form="suggest" _ConfirmTemplate="recommend/recommend_confirm.tpl" _ErrorTemplate="recommend/error.tpl" />">
+ <TR>
+ <TD colspan="2" class="floatbox-title">
+ <IMG src="images/icon6.gif" border="0" align="absmiddle" width="14" height="16"><inp:m_language _Phrase="lu_recommend_title" /></TD>
+ </TR>
+ <TR>
+ <TD width="60%"><SPAN class="floatbox-txt">
+ <inp:m_language _Phrase="lu_prompt_recommend" />
+ </SPAN></TD>
+ </TD>
+ </TR>
+ <TR>
+ <TD colspan="2"><INPUT type="text" name="suggest_email" value="" class="input" ></TD></TR>
+ <TR>
+ <TD colspan="2">
+ <INPUT type="submit" name="suggest_send" value="<inp:m_language _Phrase="lu_recommend" />" class="button"></TD>
+ </TR>
+ </FORM>
+ </TABLE>
Property changes on: trunk/themes/inlink2/box_suggest.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/statistics.tpl
===================================================================
--- trunk/themes/inlink2/statistics.tpl (nonexistent)
+++ trunk/themes/inlink2/statistics.tpl (revision 29)
@@ -0,0 +1,11 @@
+<TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center">
+ <TR>
+ <TD align="left" valign="top"><SPAN class="stats-small"><inp:m_language _Phrase="lu_total_hits" />:&nbsp;</SPAN></TD>
+ <TD align="center" valign="top"><SPAN class="stats-small"><inp:m_language _Phrase="lu_total_links" />&nbsp;<inp:m_itemcount _ItemType="Link" _GroupOnly="1" /></SPAN></TD>
+ <TD align="center" valign="top"><SPAN class="stats-small"><inp:m_language _Phrase="lu_total_categories" />:&nbsp;<inp:m_itemcount _ItemType="Category" _GroupOnly="1" /></SPAN></TD>
+ <TD align="center" valign="top"><SPAN class="stats-small"><inp:m_language _Phrase="lu_users_online" />:&nbsp;<inp:m_users_online _LastActive="3600" /></SPAN></TD>
+ <TD align="right" valign="top"><SPAN class="small-msg">
+ <inp:m_loginbox _LoginTemplate="login/notloggedin.tpl" _LoggedInTemplate="login/loggedin.tpl" />
+ </SPAN></TD>
+ </TR>
+</TABLE>
Property changes on: trunk/themes/inlink2/statistics.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/show_related_cats.tpl
===================================================================
--- trunk/themes/inlink2/show_related_cats.tpl (nonexistent)
+++ trunk/themes/inlink2/show_related_cats.tpl (revision 29)
@@ -0,0 +1,16 @@
+<!-- related categories content -->
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR>
+ <TD>
+ <IMG src="images/icon8.gif" width="16" height="16" border="0" align="absmiddle">
+ <SPAN class="stats"><B><inp:m_language _Phrase="lu_related_categories" /></B> (<inp:m_related_count _ItemType="Category" />)</SPAN>
+ </TD>
+ </TR>
+ </TABLE>
+ <TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR><TD>
+ <inp:m_related_items _ListItems="Category" _CategoryTemplate="list_rel_cats.tpl" _Columns="2" _NoTable="0" /></TD>
+ </TR>
+ </TABLE>
+<br />
+<!-- end categories content -->
\ No newline at end of file
Property changes on: trunk/themes/inlink2/show_related_cats.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/show_cats.tpl
===================================================================
--- trunk/themes/inlink2/show_cats.tpl (nonexistent)
+++ trunk/themes/inlink2/show_cats.tpl (revision 29)
@@ -0,0 +1,16 @@
+<!-- Template: show_cats.tpl -->
+<inp:m_init_cats />
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD width="100%" valign="top"><inp:include _Template="sort_cats.tpl" /><BR />
+ <!-- categories content //-->
+ <inp:m_list_cats _NoTable="0" _columns="2" _ItemTemplate="list_cats.tpl" border="0" cellspacing="0" cellpadding="0" width="98%" _DataExists="1" />
+ <!-- categories content \\-->
+ </TD>
+ <TD width="*" valign="top">
+ <inp:m_loginbox _LoginTemplate="login/box_login.tpl" />
+ <inp:include _Template="box_subscribe.tpl" />
+ <inp:include _Template="box_suggest.tpl" /></TD>
+ </TR>
+</TABLE>
+<!-- End Template: show_cats.tpl -->
Property changes on: trunk/themes/inlink2/show_cats.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/getrate.tpl
===================================================================
--- trunk/themes/inlink2/getrate.tpl (nonexistent)
+++ trunk/themes/inlink2/getrate.tpl (revision 29)
@@ -0,0 +1,49 @@
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+ <FORM name="rate" method="post" action="<%form_action_getting_rate%>">
+
+ <TR>
+
+ <TD colspan="3"><%language:lu_rating%></TD>
+
+ </TR>
+
+ <TR>
+ <TD width="0"><INPUT type="radio" value="5" name="<%form_rate_radio_vote%>"></TD>
+ <TD width="20%"><IMG src="http://<%language:server%><%language:filepath%>themes/<%language:theme%>/rating/5.gif" width="75" height="13"></TD>
+ <TD width="80%"><%language:lu_excellent%></TD>
+ </TR>
+
+ <TR>
+ <TD width="0"><INPUT type="radio" value="4" name="<%form_rate_radio_vote%>"></TD>
+ <TD width="20%"><IMG src="http://<%language:server%><%language:filepath%>themes/<%language:theme%>/rating/4.gif" width="75" height="13"></TD>
+ <TD width="80%"><%language:lu_verygood%></TD>
+ </TR>
+
+ <TR>
+ <TD width="0"><INPUT type="radio" value="3" name="<%form_rate_radio_vote%>"></TD>
+ <TD width="20%"><IMG src="http://<%language:server%><%language:filepath%>themes/<%language:theme%>/rating/3.gif" width="75" height="13"></TD>
+ <TD width="80%"><%language:lu_good%></TD>
+ </TR>
+
+ <TR>
+ <TD width="0"><INPUT type="radio" value="2" name="<%form_rate_radio_vote%>"></TD>
+ <TD width="20%"><IMG src="http://<%language:server%><%language:filepath%>themes/<%language:theme%>/rating/2.gif" width="75" height="13"></TD>
+ <TD width="80%"><%language:lu_fair%></TD>
+ </TR>
+
+
+ <TR>
+ <TD width="0"><INPUT type="radio" value="1" name="<%form_rate_radio_vote%>"></TD>
+ <TD width="20%"><IMG src="http://<%language:server%><%language:filepath%>themes/<%language:theme%>/rating/1.gif" width="75" height="13"></TD>
+ <TD width="80%"><%language:lu_poor%></TD>
+ </TR>
+
+
+ <TR>
+ <TD colspan="3">
+ <BR>
+ <INPUT type="submit" name="<%form_rate_button_rate%>" value="<%language:lu_button_rate%>">
+ </TD>
+ </TR>
+ </FORM>
+</TABLE>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/getrate.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/confirm.tpl
===================================================================
--- trunk/themes/inlink2/confirm.tpl (nonexistent)
+++ trunk/themes/inlink2/confirm.tpl (revision 29)
@@ -0,0 +1,32 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon8.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_register_confirm" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_register_confirm_text" />
+ </SPAN>
+ </P>
+ <BR />
+
+ <inp:include _Template="login/login.tpl" />
+
+ </TD>
+ </TR>
+</TABLE>
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/link_suggest.tpl
===================================================================
--- trunk/themes/inlink2/link_suggest.tpl (nonexistent)
+++ trunk/themes/inlink2/link_suggest.tpl (revision 29)
@@ -0,0 +1,85 @@
+<%include:header%>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon19.gif" width="24" height="24" border="0" align="absmiddle">
+ <%language:lu_title_suggest_link%>
+ </TD>
+ </TR>
+</TABLE>
+
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+ <FORM action="<%form_action_suggest_friend%>" method="post">
+ <TR class="cell1">
+ <TD valign="top"><SPAN class="text"><%language:lu_from_name%>:</SPAN></TD>
+ <TD>
+ <INPUT type="text" name="<%form_input_suggest_friend_name%>" class="text" size="50" value="<%suggest_friend_from_name%>">
+ </TD>
+ <TD class="error">
+
+ &nbsp;</TD>
+ </TR>
+ <TR class="cell2">
+ <TD valign="top"><SPAN class="text"><%language:lu_from_email%>:</SPAN></TD>
+ <TD>
+ <INPUT type="text" name="<%form_input_suggest_friend_email%>" class="text" size="50" value="<%suggest_friend_from_email%>">
+ </TD>
+ <TD class="error">
+
+ &nbsp;</TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD valign="top"><SPAN class="text"><%language:lu_to_name%>:</SPAN></TD>
+ <TD>
+ <INPUT type="text" name="<%form_input_suggest_friend_to_name%>" class="text" size="50" value="">
+ </TD>
+ <TD class="error">
+
+ &nbsp;</TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD valign="top"><SPAN class="text"><%language:lu_to_email%>:</SPAN></TD>
+ <TD>
+ <INPUT type="text" name="<%form_input_suggest_friend_to_email%>" class="text" size="50" value="">
+ </TD>
+ <TD class="error">
+
+ &nbsp;</TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD valign="top"><SPAN class="text"><%language:lu_subject%>:</SPAN></TD>
+ <TD>
+ <INPUT type="text" name="<%form_input_suggest_friend_subject%>" class="text" size="50" value="<%suggest_friend_subject%>">
+ </TD>
+ <TD class="error">
+
+ &nbsp;</TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD valign="top"><SPAN class="text"><%language:lu_body%>:</SPAN></TD>
+ <TD>
+ <TEXTAREA name="<%form_input_suggest_friend_body%>" cols="50" rows="5" class="text" value=""><%body_suggest_link%></TEXTAREA>
+ </TD>
+ <TD class="error">
+
+ &nbsp;</TD>
+ </TR>
+
+
+ <TR class="cell1">
+ <TD valign="top" colspan="3">
+ <INPUT type="submit" name="<%form_button_suggest_cat_addcat%>" value="<%language:lu_button_suggest%>" class="button">
+ <INPUT type="reset" name="<%form_button_suggest_cat_reset%>" value="<%language:lu_button_reset%>" class="button">
+ <INPUT type="button" name="<%form_button_suggest_cat_cancel%>" value="<%language:lu_button_cancel%>" class="button" onClick="history.back();">
+ </TD>
+ </TR>
+ </FORM>
+</TABLE>
+
+<%include:footer%>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/link_suggest.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/sort_cats.tpl
===================================================================
--- trunk/themes/inlink2/sort_cats.tpl (nonexistent)
+++ trunk/themes/inlink2/sort_cats.tpl (revision 29)
@@ -0,0 +1,43 @@
+<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR>
+ <TD nowrap>
+ <IMG src="images/icon8.gif" width="16" height="16" border="0" align="absmiddle">
+ <SPAN class="stats"><B>
+ <inp:m_language _Phrase="lu_cats" /></B> (<inp:m_itemcount _ItemType="Category" _CategoryCount="1" _SubCats="1" _GroupOnly="1" />)
+ </SPAN></TD>
+
+ <FORM name="l_sort_cats" method="POST" action="<inp:m_form_action _Form="m_sort_cats"/>">
+
+ <TD class="small" nowrap>
+ <DIV align="right">
+ <P>
+ <inp:m_language _Phrase="lu_show" />
+ <SELECT name="cat_perpage" class="small">
+ <inp:m_form_option _Field="cat_perpage" _Form="l_sort_cats" _value="10" _PlainText="10" />
+ <inp:m_form_option _Field="cat_perpage" _Form="l_sort_cats" _value="20" _PlainText="20" />
+ <inp:m_form_option _Field="cat_perpage" _Form="l_sort_cats" _value="50" _PlainText="50" />
+ </SELECT>
+ <inp:m_language _Phrase="lu_sort_by" />
+ <SELECT name="cat_sort_field" class="small">
+ <inp:m_form_option _Field="cat_sort_field" _Form="l_sort_cats" _value="Name" _LangText="lu_cat_name" />
+ <inp:m_form_option _Field="cat_sort_field" _Form="l_sort_cats" _value="CreatedOn" _LangText="lu_date" />
+ <inp:m_form_option _Field="cat_sort_field" _Form="l_sort_cats" _value="Description" _LangText="lu_field_description" />
+ <inp:m_form_option _Field="cat_sort_field" _Form="l_sort_cats" _value="CreatedById" _LangText="la_Text_Users" />
+ <inp:m_form_option _Field="cat_sort_field" _Form="l_sort_cats" _value="CachedDescendantCatsQty" _LangText="lu_field_url" />
+ <inp:m_form_option _Field="cat_sort_field" _Form="l_sort_cats" _value="Pop" _LangText="lu_rating" />
+ <inp:m_form_option _Field="cat_sort_field" _Form="l_sort_cats" _value="CachedVotesQty" _LangText="lu_votes" />
+ <inp:m_form_option _Field="cat_sort_field" _Form="l_sort_cats" _value="Hits" _LangText="lu_hits" />
+ <inp:m_form_option _Field="cat_sort_field" _Form="l_sort_cats" _value="EditorsPick" _LangText="lu_editors_pick" />
+ </SELECT>
+ <SELECT name="cat_sort_order" class="small">
+ <inp:m_form_option _Field="cat_sort_order" _Form="l_sort_cats" _value="ASC" _LangText="lu_Ascending" />
+ <inp:m_form_option _Field="cat_sort_order" _Form="l_sort_cats" _value="DESC" _LangText="lu_Descending" />
+ </SELECT>
+ <INPUT type="hidden" name="start" value="0">
+ <INPUT type="submit" class="buttonsmall" value="<inp:m_language _Phrase="lu_button_go" />">
+ <A href="#"> </A> </P>
+ </DIV>
+ </TD>
+ </FORM>
+ </TR>
+ </TABLE>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/sort_cats.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/favorites/list_favorites.tpl
===================================================================
--- trunk/themes/inlink2/favorites/list_favorites.tpl (nonexistent)
+++ trunk/themes/inlink2/favorites/list_favorites.tpl (revision 29)
@@ -0,0 +1,66 @@
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon5.gif" width="24" height="24" border="0" align="absmiddle"> <inp:m_language _Phrase="lu_my_favorites" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="text">
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR>
+ <TD>
+ <IMG src="images/icon8.gif" width="16" height="16" border="0" align="absmiddle">
+ <SPAN class="stats"><B><inp:m_language _Phrase="lu_links" /> <span>(<inp:l_list_count _ListType="favorites" _ShortList="0" _ItemType="Link" />)</span></SPAN></TD>
+
+ <FORM name="l_sort_links" method="POST" action="<inp:l_form_action _Form="l_sort_links"/>">
+
+ <TD class="small">
+ <DIV align="right">
+ <P>
+ <inp:m_language _Phrase="lu_show" />
+ <SELECT name="link_perpage" class="small">
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="10" _PlainText="10" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="20" _PlainText="20" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="50" _PlainText="50" />
+ </SELECT>
+ <inp:m_language _Phrase="lu_sort_by" />
+ <SELECT name="link_sort_field" class="small">
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Name" _LangText="lu_link_name" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedOn" _LangText="lu_date" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Description" _LangText="lu_field_description" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedById" _LangText="la_Text_Users" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Url" _LangText="lu_field_url" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedRating" _LangText="lu_rating" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedVotesQty" _LangText="lu_votes" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Hits" _LangText="lu_hits" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="EditorsPick" _LangText="lu_editors_pick" />
+ </SELECT>
+ <SELECT name="link_sort_order" class="small">
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="ASC" _LangText="lu_Ascending" />
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="DESC" _LangText="lu_Descending" />
+ </SELECT>
+ <INPUT type="hidden" name="start" value="0">
+ <INPUT type="submit" class="buttonsmall" value="<inp:m_language _Phrase="lu_button_go" />">
+ <A href="#"> </A> </P>
+ </DIV>
+ </TD>
+ </FORM>
+ </TR>
+ </TABLE>
+ <BR>
+ <UL>
+
+ <inp:l_list_links _ShortList="0" _ListType="favorites" _ItemTemplate="list_fav_links.tpl" NoDataTemplate="favorites/no_favorites.tpl" />
+
+ </UL>
+ </TD>
+ </TR><TR>
+ <TD class="pagenav" align="right">
+ <inp:l_link_pagenav _Label="lu_page_label" _ShortList="0" _ListType="favorites" />
+ </TD>
+ </TR>
+</TABLE>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/favorites/list_favorites.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/favorites/no_favorites.tpl
===================================================================
--- trunk/themes/inlink2/favorites/no_favorites.tpl (nonexistent)
+++ trunk/themes/inlink2/favorites/no_favorites.tpl (revision 29)
@@ -0,0 +1,17 @@
+<!-- Template: no_favorites.tpl //-->
+<!-- no favorites -->
+<br /><br />
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+
+ <tr>
+ <td>
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
+ <td class="comments"><inp:m_language _Phrase="lu_no_favorites" /></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<!-- end no favorite -->
\ No newline at end of file
Property changes on: trunk/themes/inlink2/favorites/no_favorites.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/list_dead_link.tpl
===================================================================
--- trunk/themes/inlink2/list_dead_link.tpl (nonexistent)
+++ trunk/themes/inlink2/list_dead_link.tpl (revision 29)
@@ -0,0 +1 @@
+<img src="images/ticon11.gif" width="16" height="16" border="0" align="absmiddle"><SPAN class="link-rate"><a href="../../index.php?t=dead_link&id=<%link_id%>&<%insert_sid%>" class="link-rate"><%language:lu_report_dead%></a></SPAN>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/list_dead_link.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/display_link_search.tpl
===================================================================
--- trunk/themes/inlink2/display_link_search.tpl (nonexistent)
+++ trunk/themes/inlink2/display_link_search.tpl (revision 29)
@@ -0,0 +1,37 @@
+<inp:include _Template="header.tpl" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title"> <IMG src="images/ticon12.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_search_results" /></TD>
+ </TR>
+</TABLE>
+
+<BR />
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<TR>
+ <TD class="title">
+ <inp:m_language _Phrase="lu_links" /> <span>(<inp:m_search_item_count _ItemType="Link" />)</span>
+ </TD>
+ </TR>
+ <TR>
+ <TD class="text">
+
+ <BR />
+ <UL>
+ <inp:l_list_links _ShortList="0" _ListType="search" _ItemTemplate="search_results/list_search_links.tpl" _DataExists="1" />
+ </UL>
+ </TD>
+ </TR><TR>
+ <TD class="pagenav" align="right">
+ <inp:l_link_pagenav _ShortList="0" _ListType="search" _Label="lu_page_label" />
+ </TD>
+ </TR>
+</TABLE>
+
+<BR>
+
+<inp:include _Template="box_search.tpl" />
+<inp:include _Template="footer.tpl" />
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/display_link_search.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/list_fav_links.tpl
===================================================================
--- trunk/themes/inlink2/list_fav_links.tpl (nonexistent)
+++ trunk/themes/inlink2/list_fav_links.tpl (revision 29)
@@ -0,0 +1,38 @@
+<LI>
+<a class="link" href="<inp:link _field="redirect" />"><inp:link _field="name" /></a>
+
+<SPAN class="link-pick"><inp:link _field="pick"><inp:m_language _Phrase="lu_editors_pick" /></inp:link></SPAN>
+<SPAN class="link-top"><inp:link _field="hot"><inp:m_language _Phrase="lu_hot" /></inp:link></SPAN>
+<SPAN class="link-pop"><inp:link _field="pop"><inp:m_language _Phrase="lu_pop" /></inp:link></SPAN>
+<SPAN class="link-new"><inp:link _field="new"><inp:m_language _Phrase="lu_new" /></inp:link></SPAN>
+
+<SPAN class="link-desc"> - <inp:link _field="description" /></SPAN>
+
+<inp:link _Field="rating" _DisplayMode="graphical" _OffImage="images/star.gif" _OnImage="images/star_rate.gif" />
+<BR />
+
+<SPAN class="link-detail">
+(<inp:m_language _Phrase="lu_added" />: <inp:link _field="date" />
+<inp:link _Field="modified">, <inp:m_language _Phrase="lu_modified" />: <inp:link _Field="modified" /></inp:link>
+, <inp:m_language _Phrase="lu_hits" />: <inp:link _field="hits" />
+, <inp:m_language _Phrase="lu_rating" />: <inp:link _Field="rating" _DisplayMode="numerical" />
+, <inp:m_language _Phrase="lu_votes" />: <inp:link _Field="votes" />
+, <inp:m_language _Phrase="lu_reviews" />: <inp:link _Field="reviews" />
+<inp:link _Field="expire" _DateNotSet="1" >, <inp:m_language _Phrase="lu_expires" />: <inp:link _Field="expire" _NoExpireLabel="lu_no_expiration" /></inp:link>)
+</SPAN>
+
+<BR>
+
+<A href="<inp:link _field="link" _template="reviews.tpl" />" class="link-review"><IMG src="images/icon2.gif" width="16" height="16" border="0" align="absmiddle">&nbsp;<inp:m_language _Phrase="lu_reviews" /></A>
+<A href="<inp:link _field="link" _Template="rate.tpl" />" class="link-rate"><IMG src="images/icon1.gif" width="16" height="16" border="0" align="absmiddle">&nbsp;<inp:m_language _Phrase="lu_rateit" /></A>
+
+<inp:m_perm_text _Perm="login">
+ <IMG src="images/icon10.gif" width="16" height="16" border="0" align="absmiddle">
+ <inp:link _Field="favorite_toggle" _AddLabel="lu_add_to_favorites" _DelLabel="lu_remove_from_favorites" _DenyTemplate="login.tpl" _DestTemplate="sub_pages.tpl" class="link-modify" />
+</inp:m_perm_text>
+
+<A href="<inp:link _field="link" _template="details.tpl" />" class="link-review">
+<img src="images/icon7.gif" width="16" height="16" alt="" border="0" align="absmiddle" />&nbsp;<inp:m_language _Phrase="lu_details" /></a>
+
+</LI>
+<BR /><BR />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/list_fav_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/list_user_links.tpl
===================================================================
--- trunk/themes/inlink2/list_user_links.tpl (nonexistent)
+++ trunk/themes/inlink2/list_user_links.tpl (revision 29)
@@ -0,0 +1,72 @@
+<%include:header%>
+<%include:main_menu%><BR>
+<%include:header2%>
+<%insert_mod_link%>
+<TABLE width="100%" border="0" cellspacing="0" cellpadding="4">
+ <TR bgcolor="#F6F6F6">
+ <TD valign="top"><SPAN class="text"><%language:lu_name%>:</SPAN></TD>
+ <TD>
+ <INPUT type="text" name="link_name" class="text" size="30" value="<%val_link_name%>">
+ </TD>
+ <td class="error"><%err_link_name%>&nbsp;</td>
+ </TR>
+ <TR>
+ <TD valign="top" bgcolor="DEDEDE"><SPAN class="text"><%language:lu_url%>:</SPAN></TD>
+ <TD bgcolor="DEDEDE">
+ <INPUT type="text" name="link_url" class="text" size="30" value="<%val_link_url%>">
+ </TD><td class="error"><%err_link_url%>&nbsp;</td>
+ </TR>
+ <TR bgcolor="#F6F6F6">
+ <TD valign="top"><SPAN class="text"><%language:lu_desc%>:</SPAN></TD>
+ <TD>
+ <TEXTAREA name="link_desc" cols="30" rows="5" class="text"><%val_link_desc%></TEXTAREA>
+ </TD><td class="error"><%err_link_desc%>&nbsp;</td>
+ </TR>
+ <TR bgcolor="#F6F6F6">
+ <TD valign="top"><SPAN class="text"><%language:lu_image%>:/SPAN></TD>
+ <TD>
+ <INPUT type="text" name="link_image" class="text" size="30" value="<%val_link_image%>">
+ </TD></TD><td class="error">&nbsp;</td>
+ </TR>
+ <TR bgcolor="#DEDEDE">
+ <TD valign="top"><SPAN class="text"><%link_cust1%></SPAN></TD>
+ <TD>
+ <INPUT type="text" name="cust1" class="text" size="30" value="<%val_link_cust1%>">
+ </TD></TD><td class="error">&nbsp;</td>
+ </TR>
+ <TR bgcolor="#F6F6F6">
+ <TD valign="top"><SPAN class="text"><%link_cust2%></SPAN></TD>
+ <TD>
+ <INPUT type="text" name="cust2" class="text" size="30" value="<%val_link_cust2%>">
+ </TD></TD><td class="error">&nbsp;</td>
+ </TR>
+ <TR bgcolor="#DEDEDE">
+ <TD valign="top"><SPAN class="text"><%link_cust3%></SPAN></TD>
+ <TD>
+ <INPUT type="text" name="cust3" class="text" size="30" value="<%val_link_cust3%>">
+ </TD></TD><td class="error">&nbsp;</td>
+ </TR>
+ <TR bgcolor="#F6F6F6">
+ <TD valign="top"><SPAN class="text"><%link_cust4%></SPAN></TD>
+ <TD>
+ <INPUT type="text" name="cust4" class="text" size="30" value="<%val_link_cust4%>">
+ </TD></TD><td class="error">&nbsp;</td>
+ </TR>
+ <TR bgcolor="#DEDEDE">
+ <TD valign="top"><SPAN class="text"><%link_cust5%></SPAN></TD>
+ <TD>
+ <INPUT type="text" name="cust5" class="text" size="30" value="<%val_link_cust5%>">
+ </TD></TD><td class="error">&nbsp;</td>
+ </TR>
+ <TR bgcolor="#F6F6F6">
+ <TD valign="top"><SPAN class="text"><%link_cust6%></SPAN></TD>
+ <TD>
+ <INPUT type="text" name="cust6" class="text" size="30" value="<%val_link_cust6%>">
+ </TD></TD><td class="error">&nbsp;</td>
+ </TR>
+</TABLE>
+<INPUT type="submit" name="submit" value="<%language:la_button_register%>" class="button">
+<INPUT type="reset" name="Submit2" value="<%language:la_button_reset%>" class="button">
+<INPUT type="button" name="Submit3" value="<%language:la_button_cancel%>" class="button" onClick="history.back();">
+</form>
+<%include:footer%>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/list_user_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/add_review.tpl
===================================================================
--- trunk/themes/inlink2/add_review.tpl (nonexistent)
+++ trunk/themes/inlink2/add_review.tpl (revision 29)
@@ -0,0 +1,33 @@
+<%include:header%>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon20.gif" width="24" height="24" border="0" align="absmiddle">
+ <%language:lu_title_add_review%>
+ </TD>
+ </TR>
+</TABLE>
+
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+ <FORM action="<%form_action_add_review%>" method="post">
+ <TR class="cell1">
+ <TD valign="top"><SPAN class="text"><%language:lu_review%>:</SPAN></TD>
+ <TD>
+ <TEXTAREA name="<%form_input_add_review_text%>" cols="30" rows="5" class="text" value=""></TEXTAREA>
+ </TD>
+ </TR>
+
+
+ <TR class="cell1">
+ <TD valign="top" colspan="3">
+ <INPUT type="submit" name="<%form_button_add_review_add%>" value="<%language:lu_button_addreview%>" class="button">
+ <INPUT type="reset" name="<%form_button_add_review_reset%>" value="<%language:lu_button_reset%>" class="button">
+ <INPUT type="button" name="<%form_button_add_review_cancel%>" value="<%language:lu_button_cancel%>" class="button" onClick="history.back();">
+ </TD>
+ </TR>
+ </FORM>
+</TABLE>
+
+<%include:footer%>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/add_review.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/login/loggedin.tpl
===================================================================
--- trunk/themes/inlink2/login/loggedin.tpl (nonexistent)
+++ trunk/themes/inlink2/login/loggedin.tpl (revision 29)
@@ -0,0 +1 @@
+<inp:m_language _Phrase="lu_welcome" /> <inp:user _Field="firstname" /> <inp:user _Field="lastname" /></inp:m_perm_text>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/login/loggedin.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/login/login.tpl
===================================================================
--- trunk/themes/inlink2/login/login.tpl (nonexistent)
+++ trunk/themes/inlink2/login/login.tpl (revision 29)
@@ -0,0 +1,35 @@
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon17.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_login" /></TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+ <FORM name="login" method="post" action="<inp:m_form_action _form="login" />">
+ <TR>
+ <TD class="cell1"><SPAN class="text">
+ <inp:m_language _Phrase="lu_prompt_username" />:
+ </SPAN></TD>
+ <TD class="cell1">
+ <inp:m_form_input type="text" class="textbox" _field="login_user" _Form="login" _Required="1" /></TD> </TR>
+ <TR>
+ <TD class="cell2"><SPAN class="text">
+ <inp:m_language _Phrase="lu_prompt_password" />:
+ </SPAN></TD>
+ <TD class="cell2"">
+ <inp:m_form_input type="password" class="textbox" _field="login_password" _Form="login" _Required="1" />
+ </TD>
+ </TR>
+
+
+ <TR>
+ <TD class="cell1">
+ <INPUT type="submit" name="login" value="<inp:m_language _Phrase="lu_login" />" class="button"></TD>
+ <TD class="cell1">
+ <input type="checkbox" name="usercookie" VALUE="1">&nbsp;<SPAN class="text"><inp:m_language _Phrase="lu_remember_login" /></SPAN></TD>
+ </TR>
+
+ </FORM>
+</TABLE>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/login/login.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/login/notloggedin.tpl
===================================================================
--- trunk/themes/inlink2/login/notloggedin.tpl (nonexistent)
+++ trunk/themes/inlink2/login/notloggedin.tpl (revision 29)
@@ -0,0 +1 @@
+<inp:m_language _Phrase="lu_not_loggin" />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/login/notloggedin.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/login/box_login.tpl
===================================================================
--- trunk/themes/inlink2/login/box_login.tpl (nonexistent)
+++ trunk/themes/inlink2/login/box_login.tpl (revision 29)
@@ -0,0 +1,45 @@
+<TABLE width="100%" border="0" cellspacing="1" cellpadding="1" class="floatbox-table">
+ <FORM name="login" method="post" action="<inp:m_form_action _form="login" />">
+ <TR>
+ <TD colspan="2" class="floatbox-title">
+ <IMG src="images/icon4.gif" border="0" align="absmiddle" width="14" height="16"><inp:m_language _Phrase="lu_login" /></TD>
+ </TR>
+ <TR>
+ <TD><SPAN class="floatbox-txt">
+ <inp:m_language _Phrase="lu_prompt_username" />:
+ </SPAN></TD>
+ <TD>
+ <inp:m_form_input type="text" class="textbox" _field="login_user" _Form="login" _Required="1" />
+ </TD>
+ </TR>
+ <TR>
+ <TD><SPAN class="floatbox-txt">
+ <inp:m_language _Phrase="lu_prompt_password" />:
+ </SPAN></TD>
+ <TD>
+ <inp:m_form_input type="password" class="textbox" _field="login_password" _Form="login" _Required="1" />
+ </TD>
+ </TR>
+ <TR>
+ <TD>
+ <INPUT type="submit" name="login" value="<inp:m_language _Phrase="lu_login" />" class="button">
+
+ </TD>
+ <TD align="right">
+ <DIV align="right"><A href="<inp:m_template_link _Template="registration.tpl" />" class="floatbox-link"><inp:m_language _Phrase="lu_register" />&nbsp;<IMG src="images/arrow.gif" width="9" height="9" border="0"> </A></DIV>
+ </TD>
+ </TR>
+ <TR>
+ <TD colspan="2" align="left">
+ <input type="checkbox" name="usercookie" VALUE="1">&nbsp;<SPAN class="floatbox-txt"><inp:m_language _Phrase="lu_remember_login" /></SPAN>
+ </TD>
+ </TR>
+ </FORM>
+ </TABLE>
+ <TABLE width="100%" border="0" cellspacing="1" cellpadding="1" class="floatbox-table">
+ <TR>
+ <TD class="cell1"><A href="<inp:m_template_link _Template="send_password.tpl" />" class="floatbox-link">
+ <inp:m_language _Phrase="lu_forgot_password_link" />
+ <IMG src="images/arrow.gif" width="9" height="9" border="0"> </A></TD>
+ </TR>
+ </TABLE>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/login/box_login.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/mailing_list/confirm_unsubscribe.tpl
===================================================================
--- trunk/themes/inlink2/mailing_list/confirm_unsubscribe.tpl (nonexistent)
+++ trunk/themes/inlink2/mailing_list/confirm_unsubscribe.tpl (revision 29)
@@ -0,0 +1,33 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon5.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_unsubscribe_confirm" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM method="POST" NAME="subscribe_confirm" ACTION="<inp:m_form_action _Form="unsubscribe_confirm" _Template="index" _SubscribeTemplate="mailing_list/unsubscribe.tpl" />">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_unsubscribe_confirm_prompt" />
+ </SPAN>
+ </P>
+ <BR />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_yes" />" class="button">
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_no" />" class="button">
+ <input type=hidden name="subscribe_email" VALUE="<inp:m_subscribe_address />">
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/mailing_list/confirm_unsubscribe.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/mailing_list/subscribe.tpl
===================================================================
--- trunk/themes/inlink2/mailing_list/subscribe.tpl (nonexistent)
+++ trunk/themes/inlink2/mailing_list/subscribe.tpl (revision 29)
@@ -0,0 +1,31 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon5.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_subscribe_confirm" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM method="POST" NAME="addcat_confirm" ACTION="<inp:m_form_action _Form="subscribe_confirm" _Template="index" />" >
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_subscribe_confirm_text" />
+ </SPAN>
+ </P>
+ <BR />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/mailing_list/subscribe.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/mailing_list/unsubscribe.tpl
===================================================================
--- trunk/themes/inlink2/mailing_list/unsubscribe.tpl (nonexistent)
+++ trunk/themes/inlink2/mailing_list/unsubscribe.tpl (revision 29)
@@ -0,0 +1,33 @@
+
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon5.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_unsubscribe_confirm" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM method="POST" NAME="addcat_confirm" ACTION="<inp:m_form_action _Form="subscribe_confirm" _Template="index" />">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_unsubscribe_confirm_text" />
+ </SPAN>
+ </P>
+ <BR />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
+
Property changes on: trunk/themes/inlink2/mailing_list/unsubscribe.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/mailing_list/error.tpl
===================================================================
--- trunk/themes/inlink2/mailing_list/error.tpl (nonexistent)
+++ trunk/themes/inlink2/mailing_list/error.tpl (revision 29)
@@ -0,0 +1,31 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon16.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_subscribe_error" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM METHOD="POST" ACTION="<inp:m_form_action _Form="error_template" _Referer="1" />" >
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_subscribe_error />
+ </SPAN>
+ </P>
+ <BR />
+ <input type="submit" name="login" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/mailing_list/error.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/mailing_list/confirm_subscribe.tpl
===================================================================
--- trunk/themes/inlink2/mailing_list/confirm_subscribe.tpl (nonexistent)
+++ trunk/themes/inlink2/mailing_list/confirm_subscribe.tpl (revision 29)
@@ -0,0 +1,33 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon5.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_subscribe_confirm" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM method="POST" NAME="subscribe_confirm" ACTION="<inp:m_form_action _Form="subscribe_confirm" _Template="index" _SubscribeTemplate="mailing_list/subscribe.tpl" />">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_subscribe_confirm_prompt" />
+ </SPAN>
+ </P>
+ <BR />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_yes" />" class="button">
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_no" />" class="button">
+ <input type=hidden name="subscribe_email" VALUE="<inp:m_subscribe_address />">
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/mailing_list/confirm_subscribe.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/premium_links.tpl
===================================================================
--- trunk/themes/inlink2/premium_links.tpl (nonexistent)
+++ trunk/themes/inlink2/premium_links.tpl (revision 29)
@@ -0,0 +1,18 @@
+<BR>
+<TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center">
+ <TR>
+ <TD align="left" height="16" bgcolor="#E8E8FF" nowrap>
+ <IMG src="images/icon8.gif" height="16" border="0" align="absmiddle"><SPAN class="stats"><B><%language:lu_pr_links%></B></SPAN></TD>
+ <TD width="705" align="left" bgcolor="#FFFFFF">
+ <IMG src="images/tr.gif" border="0" height="16"></TD>
+ </TR>
+ <TR>
+ <TD bgcolor="#E8E8FF" colspan="2">
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#E8E8FF">
+ <!-- 0 or blank: regulars; 1: premiums -->
+ <TR><TD><BR><UL><%insert_list_links:1%></UL></TD></TR>
+ </TABLE></TD>
+ </TR>
+</TABLE>
+<BR>
+
Property changes on: trunk/themes/inlink2/premium_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/random.tpl
===================================================================
--- trunk/themes/inlink2/random.tpl (nonexistent)
+++ trunk/themes/inlink2/random.tpl (revision 29)
@@ -0,0 +1,29 @@
+<%preserve_order%>
+<%include:header%>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/dice.gif" width="24" height="24" border="0" align="absmiddle">
+ <%language:lu_title_random_links%>
+ </TD>
+ </TR>
+</TABLE>
+
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="text">
+ <BR>
+ <UL>
+ <%insert_random_links:10%>
+ </UL>
+ </TD>
+ </TR>
+
+</TABLE>
+
+<BR>
+
+<%include:box_search%>
+<%include:footer%>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/random.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/list_pick_links_in_cats.tpl
===================================================================
--- trunk/themes/inlink2/list_pick_links_in_cats.tpl (nonexistent)
+++ trunk/themes/inlink2/list_pick_links_in_cats.tpl (revision 29)
@@ -0,0 +1,37 @@
+<LI>
+<A class="link" href="<%link_link%>" <%link_in_new_browser%>>
+ <%link_name%>
+ </A></B> <SPAN class="link-pick">
+ <%link_pick%>
+ </SPAN> <SPAN class="link-top">
+ <%link_top%>
+ </SPAN> <SPAN class="link-pop">
+ <%link_pop%>
+ </SPAN> <SPAN class="link-new">
+ <%link_new%>
+ </SPAN>
+ <!-- link_path:show multiple paths, make them as links) -->
+ <%link_path:1,1%>
+ <SPAN class="link-desc">
+ <%link_desc%>
+ </SPAN> <A href="<%link_rate_link%>"><IMG src="<%link_rating_img%>" width="75" height="13" border="0"></A>
+<BR>
+ <SPAN class="link-detail">
+ (<%language:lu_added%>: <%link_date%>,
+ <%link_modified_date%>
+ <%language:lu_hits%>: <%link_hits%>,
+ <%language:lu_rating%>: <%link_rating_txt%>,
+ <%language:lu_votes%>: <%link_votes%>,
+ <%language:lu_reviews%>: <%link_reviews%>) </SPAN> <BR>
+ <A href="<%link_review_link%>" class="link-review"><IMG src="images/icon2.gif" width="16" height="16" border="0" align="absmiddle">
+ <%language:lu_reviews%>
+ </A> <A href="<%link_rate_link%>" class="link-rate"><IMG src="images/icon1.gif" width="16" height="16" border="0" align="absmiddle">
+ <%language:lu_rateit%>
+ <A href="<%link_add_fav%>" class="link-modify"><IMG src="images/icon10.gif" width="16" height="16" border="0" align="absmiddle"> <%language:lu_add_to_fav%>
+</A>
+<A href="<%link_suggest_friend%>" class="link-div"><IMG src="images/icon7.gif" width="16" height="16" border="0" align="absmiddle"> <%language:lu_suggest_friend%>
+<%report_dead_link:1%>
+</A>
+ </A>
+ </LI>
+<BR><BR>
Property changes on: trunk/themes/inlink2/list_pick_links_in_cats.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/display_cat_search.tpl
===================================================================
--- trunk/themes/inlink2/display_cat_search.tpl (nonexistent)
+++ trunk/themes/inlink2/display_cat_search.tpl (revision 29)
@@ -0,0 +1,39 @@
+<inp:include _Template="header.tpl" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title"> <IMG src="images/ticon12.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_search_results" /></TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="title">
+ <inp:m_language _Phrase="lu_categories" /> <span>(<inp:m_search_cat_count _ItemType="Category" />)</span>
+ </TD>
+ </TR>
+
+ <TR>
+ <TD class="text">
+ <BR>
+ <UL>
+ <inp:m_search_list_cats _ShortList="0" _NoTable="1" _ItemTemplate="search_results/list_search_cats.tpl" _DataExists=1 />
+ </UL>
+ </TD>
+ </TR>
+
+ <TR>
+ <TD class="pagenav" align="right">
+ <inp:m_search_cat_pagenav _Label="lu_page_label" _ShortList="0" />
+ </TD>
+ </TR>
+
+</TABLE>
+
+<BR>
+
+<inp:include _Template="box_search.tpl" />
+<inp:include _Template="footer.tpl" />
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/display_cat_search.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/list_rel_cats.tpl
===================================================================
--- trunk/themes/inlink2/list_rel_cats.tpl (nonexistent)
+++ trunk/themes/inlink2/list_rel_cats.tpl (revision 29)
@@ -0,0 +1,4 @@
+<P>
+<A href="<inp:cat _field="link" _Template="sub_pages.tpl" />" class="catsub"><inp:cat _field="Name" /></A>
+&nbsp;<SPAN class="cat-no">(<inp:cat _Field="subcatcount" _GroupOnly="1" />/<inp:cat _Field="itemcount" _ItemType="Link" />)</SPAN>
+</P>
Property changes on: trunk/themes/inlink2/list_rel_cats.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/header.tpl
===================================================================
--- trunk/themes/inlink2/header.tpl (nonexistent)
+++ trunk/themes/inlink2/header.tpl (revision 29)
@@ -0,0 +1,51 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+<!-- start meta tags -->
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+<meta name="keywords" content="..." />
+<meta name="description" content="..." />
+<meta name="robots" content="all" />
+<meta name="copyright" content="Copyright &#174; 1997-2003 Intechnic" />
+<meta name="author" content="Intechnic Corporation." />
+<!-- end meta tags -->
+<base href="<inp:m_theme_url/>" />
+
+<!-- start AddToFavorites icon -->
+<link rel="icon" href="/favicon.ico" type="image/x-icon" />
+<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+<!-- end AddToFavorites icon -->
+
+<LINK rel="stylesheet" href="style.css" type="text/css">
+<inp:m_module_stylesheets _Modules="In-Portal,In-Link" _In-PortalCss="styles.css" />
+</HEAD>
+
+<BODY bgcolor="#FFFFFF" text="#000000">
+<P align="center">
+ <A href="<%nav:index%>"><IMG src="images/inlink2_logo.gif" width="175" height="63" border="0"></A>
+</P>
+
+<inp:include _Template="menu_navigation" />
+
+
+<table width="760" align="center" cellpadding="0" cellspacing="0">
+<form method="POST" name="select_theme" action="<inp:m_form_action _Form="m_set_theme"/>">
+<tr>
+ <td align="left" nowrap>
+ <span class="small"><inp:m_language _Phrase="lu_select" /></span>
+ <select class="small" size="1" name="ThemeId">
+ <inp:m_list_themes _ItemTemplate="theme_menu/theme_menu_element.tpl" />
+ </select>
+ <input type="submit" value="<inp:m_language _Phrase="lu_button_ok" />" name="go" class="button"></td>
+
+ <td align="right" width="100%" valign="middle">
+ <span class="small"><inp:m_lang_field _Field="LocalName" /></span>&nbsp;
+ <inp:m_list_languages _ItemTemplate="lang_menu/lang_menu_element.tpl" /></td>
+</tr>
+</form>
+</table>
+
+<HR width="760" size="1" noshade align="center">
+
+<inp:include _Template="statistics.tpl" />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/header.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/search_results/link_search_results.tpl
===================================================================
--- trunk/themes/inlink2/search_results/link_search_results.tpl (nonexistent)
+++ trunk/themes/inlink2/search_results/link_search_results.tpl (revision 29)
@@ -0,0 +1,21 @@
+<BR />
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<TR>
+ <TD class="title">
+ <inp:m_language _Phrase="lu_links" /> <span>(<inp:l_list_count _ListType="Search" _ShortList="1" />)</span>
+ </TD>
+ </TR>
+ <TR>
+ <TD class="text">
+
+ <BR />
+ <UL>
+ <inp:l_list_links _ShortList="1" _ListType="search" _ItemTemplate="search_results/list_search_links.tpl" _DataExists="1" />
+ </UL>
+ </TD>
+ </TR><TR>
+ <TD class="pagenav" align="right">
+ <inp:l_link_more _ShortList="1" _ListType="search" _Template="display_link_search.tpl" _text="lu_more" />
+ </TD>
+ </TR>
+</TABLE>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/search_results/link_search_results.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/search_results/error.tpl
===================================================================
--- trunk/themes/inlink2/search_results/error.tpl (nonexistent)
+++ trunk/themes/inlink2/search_results/error.tpl (revision 29)
@@ -0,0 +1,115 @@
+<inp:include _template="common/head.tpl" />
+<BODY>
+<inp:include _Template="common/pagetop.tpl" />
+<table width="770" border="0" cellspacing="0" cellpadding="0">
+ <!-- start content -->
+ <tr>
+ <td valign="top" height="100%">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="10000"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ <td><img src="img/s.gif" width="200" height="1" alt="" /><br /></td>
+ </tr>
+ <tr height="100%">
+ <td valign="top" class="bott-line">
+ <!-- path //-->
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="bgr-path"><img src="img/s.gif" width="549" height="1" alt="" /><br /></td>
+ <!--<td bgcolor="#61b0ec"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
+ </tr>
+ <tr>
+ <td class="bgr-path">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td valign="top" width="17"><img src="img/ic_homepath.gif" width="17" height="24" alt="" /><br /></td>
+ <td class="path"><inp:m_language _Phrase="lu_error_title" /></td>
+ <td align="right">
+ <table border="0" cellspacing="0" cellpadding="0" align="right">
+ <tr>
+ <td><img src="<inp:m_lang_field _Field="icon" _default="img/ic_flag.gif"/>" width="18" height="12" alt="" /><br /></td>
+ <td>&nbsp;</td>
+ <td class="post-action"><span onclick="showSeg('langmenu',true); "><inp:m_lang_field _Field="LocalName" /></span></td>
+ <td>&nbsp;&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <inp:include _Template="lang_select/lang_menu.tpl" />
+ </td>
+ <!--<td class="bgr-path"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>-->
+ </tr>
+ <tr><td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td></tr>
+ </table>
+ <!-- path \\-->
+
+ <!-- confirm //-->
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><img src="img/s.gif" width="20" height="1" alt="" /><br /></td>
+ <td valign="top" width="10000">
+ <img src="img/s.gif" width="1" height="5" alt="" /><br />
+ <table width="98%" border="0" cellspacing="0" cellpadding="0">
+ <FORM METHOD="POST" ACTION="<inp:m_form_action _Form="error_template" _Referer="1" />" />
+ <tr>
+ <td width="50"><img src="img/ic_error_big.gif" width="46" height="46" alt="" /><br /></td>
+ <td><h1><inp:m_language _Phrase="lu_error_title" /></h1></td>
+ </tr>
+ <tr>
+ <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ <td class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></TD>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><br />
+ <h2><inp:m_language _Phrase="lu_search_error" /></h2>
+ <BR />
+ <span class="error">
+ <inp:m_list_form_errors _Form="m_simplesearch" _ItemTemplate="misc/form_error.tpl" />
+ </span>
+ <br /><br /></td>
+ </tr>
+ <tr>
+ <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ <td class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></TD>
+ </tr>
+ <tr>
+ <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ <td>
+ <img src="img/s.gif" width="1" height="5" alt="" /><br />
+ <input type="submit" name="login" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+ </td>
+ </tr>
+ </FORM>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <!-- confirm \\-->
+
+ </td>
+
+
+ <!-- white line content/right column //-->
+ <td><img src="img/s.gif" width="1" height="1" alt="" border="1" /><br /></td>
+ <!-- white line content/right column \\-->
+
+
+ <!-- right column //-->
+ <td valign="top" height="100%" class="open-box"><inp:include _Template="index/right.tpl" /></td>
+ <!-- right column \\-->
+
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <!-- end content -->
+
+
+ <inp:include _Template="common/footer.tpl" />
+</table>
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/search_results/error.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/search_results/list_search_cats.tpl
===================================================================
--- trunk/themes/inlink2/search_results/list_search_cats.tpl (nonexistent)
+++ trunk/themes/inlink2/search_results/list_search_cats.tpl (revision 29)
@@ -0,0 +1,17 @@
+<P>
+<!--
+ <table border="0" cellspacing="0" cellpadding="0" class="relevance-bar" width="40" height="5">
+<tr>
+<inp:cat _Field="relevance" _DisplayMode="bar" _OffBackGroundColor="white" _OnBackGroundColor="red" _OnImage="img/relevance/rel.gif" />
+</tr>
+</table>-->
+
+<A href="<inp:cat _field="link" _Template="sub_pages.tpl" />"><img src="images/folder.gif" border="0"></A>
+<A href="<inp:cat _field="link" _Template="sub_pages.tpl" />" class="cat"><inp:cat _field="Name" /></A>
+<SPAN class="cat-pick"><inp:cat _field="pick"><inp:m_language _Phrase="lu_editors_pick" /></inp></SPAN>
+<SPAN class="cat-new"><inp:cat _field="new"><inp:m_language _Phrase="lu_new" /></inp></SPAN>
+<SPAN class="cat-no">(<inp:cat _Field="subcatcount" _GroupOnly="1" />/<inp:cat _Field="itemcount" _ItemType="Link" />)</SPAN><BR>
+<SPAN class="cat-desc"><inp:cat _Field="description" /></SPAN><BR />
+<SPAN class="catsub"><inp:cat _Field="catsubcats" _Limit="3" _TargetTemplate="sub_page.tpl" Separator="," _Anchor="1" /></SPAN>
+</P>
+
Property changes on: trunk/themes/inlink2/search_results/list_search_cats.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/search_results/cat_search_results.tpl
===================================================================
--- trunk/themes/inlink2/search_results/cat_search_results.tpl (nonexistent)
+++ trunk/themes/inlink2/search_results/cat_search_results.tpl (revision 29)
@@ -0,0 +1,23 @@
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="title">
+ <inp:m_language _Phrase="lu_categories" /> <span>(<inp:m_search_cat_count _ItemType="Category" _ShortList="1" />)</span>
+ </TD>
+ </TR>
+
+ <TR>
+ <TD class="text">
+ <BR>
+ <UL>
+ <inp:m_search_list_cats _ShortList="1" _NoTable="1" _ItemTemplate="search_results/list_search_cats.tpl" _DataExists="1" />
+ </UL>
+ </TD>
+ </TR>
+
+ <TR>
+ <TD class="pagenav" align="right">
+ <inp:m_search_cat_more _ShortList="1" _Template="display_cat_search.tpl" _text="lu_more" />
+ </TD>
+ </TR>
+
+</TABLE>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/search_results/cat_search_results.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/search_results/search_count.tpl
===================================================================
--- trunk/themes/inlink2/search_results/search_count.tpl (nonexistent)
+++ trunk/themes/inlink2/search_results/search_count.tpl (revision 29)
@@ -0,0 +1,5 @@
+<TD>
+<inp:m_language _Phrase="lu_categories" /> - <span class="item"><A HREF="<inp:m_template_link _Anchor="cats" />"><inp:m_search_item_count _ItemType="Category" /></a></span>
+&nbsp;&nbsp;&nbsp;
+<inp:m_language _Phrase="lu_links" /> - <span class="item"><a href="<inp:m_template_link _Anchor="links" />"><inp:m_search_item_count _ItemType="Link" /></a></span>
+</td>
Property changes on: trunk/themes/inlink2/search_results/search_count.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/search_results/list_search_links.tpl
===================================================================
--- trunk/themes/inlink2/search_results/list_search_links.tpl (nonexistent)
+++ trunk/themes/inlink2/search_results/list_search_links.tpl (revision 29)
@@ -0,0 +1,38 @@
+<LI>
+<a class="link" href="<inp:link _field="redirect" />"><inp:link _field="name" /></a>
+
+<SPAN class="link-pick"><inp:link _field="pick"><inp:m_language _Phrase="lu_editors_pick" /></inp:link></SPAN>
+<SPAN class="link-top"><inp:link _field="hot"><inp:m_language _Phrase="lu_hot" /></inp:link></SPAN>
+<SPAN class="link-pop"><inp:link _field="pop"><inp:m_language _Phrase="lu_pop" /></inp:link></SPAN>
+<SPAN class="link-new"><inp:link _field="new"><inp:m_language _Phrase="lu_new" /></inp:link></SPAN>
+
+<SPAN class="link-desc"> - <inp:link _field="description" /></SPAN>
+
+<inp:link _Field="rating" _DisplayMode="graphical" _OffImage="images/star.gif" _OnImage="images/star_rate.gif" />
+<BR />
+
+<SPAN class="link-detail">
+(<inp:m_language _Phrase="lu_added" />: <inp:link _field="date" />
+<inp:link _Field="modified">, <inp:m_language _Phrase="lu_modified" />: <inp:link _Field="modified" /></inp:link>
+, <inp:m_language _Phrase="lu_hits" />: <inp:link _field="hits" />
+, <inp:m_language _Phrase="lu_rating" />: <inp:link _Field="rating" _DisplayMode="numerical" />
+, <inp:m_language _Phrase="lu_votes" />: <inp:link _Field="votes" />
+, <inp:m_language _Phrase="lu_reviews" />: <inp:link _Field="reviews" />
+<inp:link _Field="expire" _DateNotSet="1" >, <inp:m_language _Phrase="lu_expires" />: <inp:link _Field="expire" _NoExpireLabel="lu_no_expiration" /></inp:link>)
+</SPAN>
+
+<BR>
+
+<A href="<inp:link _field="link" _template="reviews.tpl" />" class="link-review"><IMG src="images/icon2.gif" width="16" height="16" border="0" align="absmiddle">&nbsp;<inp:m_language _Phrase="lu_reviews" /></A>
+<A href="<inp:link _field="link" _Template="rate.tpl" />" class="link-rate"><IMG src="images/icon1.gif" width="16" height="16" border="0" align="absmiddle">&nbsp;<inp:m_language _Phrase="lu_rateit" /></A>
+
+<inp:m_perm_text _Perm="login">
+ <IMG src="images/icon10.gif" width="16" height="16" border="0" align="absmiddle">
+ <inp:link _Field="favorite_toggle" _AddLabel="lu_add_to_favorites" _DelLabel="lu_remove_from_favorites" _DenyTemplate="login.tpl" _DestTemplate="sub_pages.tpl" class="link-modify" />
+</inp:m_perm_text>
+
+<A href="<inp:link _field="link" _template="details.tpl" />" class="link-review">
+<img src="images/icon7.gif" width="16" height="16" alt="" border="0" align="absmiddle" />&nbsp;<inp:m_language _Phrase="lu_details" /></a>
+
+</LI>
+<BR />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/search_results/list_search_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/new.tpl
===================================================================
--- trunk/themes/inlink2/new.tpl (nonexistent)
+++ trunk/themes/inlink2/new.tpl (revision 29)
@@ -0,0 +1,74 @@
+<inp:include _Template="header.tpl" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon5.gif" width="24" height="24" border="0" align="absmiddle"> <inp:m_language _Phrase="lu_new_links" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="text">
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR>
+ <TD>
+ <IMG src="images/icon8.gif" width="16" height="16" border="0" align="absmiddle">
+ <SPAN class="stats"><B><inp:m_language _Phrase="lu_links" /></B>(<inp:l_list_count _ListType="New" _ShortList="0" />)</SPAN></TD>
+
+ <FORM name="l_sort_links" method="POST" action="<inp:l_form_action _Form="l_sort_links"/>">
+
+ <TD class="small">
+ <DIV align="right">
+ <P>
+ <inp:m_language _Phrase="lu_show" />
+ <SELECT name="link_perpage" class="small">
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="10" _PlainText="10" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="20" _PlainText="20" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="50" _PlainText="50" />
+ </SELECT>
+ <inp:m_language _Phrase="lu_sort_by" />
+ <SELECT name="link_sort_field" class="small">
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Name" _LangText="lu_link_name" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedOn" _LangText="lu_date" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Description" _LangText="lu_field_description" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedById" _LangText="la_Text_Users" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Url" _LangText="lu_field_url" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedRating" _LangText="lu_rating" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedVotesQty" _LangText="lu_votes" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Hits" _LangText="lu_hits" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="EditorsPick" _LangText="lu_editors_pick" />
+ </SELECT>
+ <SELECT name="link_sort_order" class="small">
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="ASC" _LangText="lu_Ascending" />
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="DESC" _LangText="lu_Descending" />
+ </SELECT>
+ <INPUT type="hidden" name="start" value="0">
+ <INPUT type="submit" class="buttonsmall" value="<inp:m_language _Phrase="lu_button_go" />">
+ <A href="#"> </A> </P>
+ </DIV>
+ </TD>
+ </FORM>
+ </TR>
+ </TABLE>
+ <BR>
+ <UL>
+ <inp:l_list_links _ItemTemplate="list_feature_links.tpl" _ShortList="0" _ListType="New" />
+ </UL>
+ </TD>
+ </TR><TR>
+ <TD class="pagenav" align="right">
+ <inp:l_link_pagenav _Label="lu_page_label" _ShortList="0" _ListType="New" />
+ </TD>
+ </TR>
+</TABLE>
+
+<BR>
+
+<inp:include _Template="box_search.tpl" />
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/new.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/box_subscribe.tpl
===================================================================
--- trunk/themes/inlink2/box_subscribe.tpl (nonexistent)
+++ trunk/themes/inlink2/box_subscribe.tpl (revision 29)
@@ -0,0 +1,22 @@
+<TABLE width="100%" border="0" cellspacing="1" cellpadding="1" class="floatbox-table">
+ <FORM method="POST" name="subscribe" ACTION="<inp:m_form_action _form="m_subscribe" _SubscribeTemplate="mailing_list/confirm_subscribe.tpl" _UnsubscribeTemplate="mailing_list/confirm_unsubscribe.tpl" _ErrorTemplate="mailing_list/error.tpl" />">
+ <TR>
+ <TD colspan="2" class="floatbox-title">
+ <IMG src="images/icon5.gif" border="0" align="absmiddle" width="14" height="16"><inp:m_language _Phrase="lu_mailinglist" /></TD>
+ </TR>
+ <TR>
+ <TD colspan="2"><SPAN class="floatbox-txt">
+ <inp:m_language _Phrase="lu_prompt_subscribe" /></SPAN>
+ </TD>
+ </TR>
+ <TR>
+ <TD colspan="2">
+ <INPUT type="text" name="subscribe_email" value="" class="input" style="width: 135px;"><br /></TD>
+ </TR>
+ <TR>
+ <TD colspan="2">
+ <INPUT type="submit" name="m_subscribe" value="<inp:m_language _Phrase="lu_button_mailinglist" />" class="button"><BR /><INPUT type="submit" name="m_unsubscribe" value="<inp:m_language _Phrase="lu_button_unsubscribe" />" class="button">
+ </TD>
+ </TR>
+ </FORM>
+</TABLE>
Property changes on: trunk/themes/inlink2/box_subscribe.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/rregistration.tpl
===================================================================
--- trunk/themes/inlink2/rregistration.tpl (nonexistent)
+++ trunk/themes/inlink2/rregistration.tpl (revision 29)
@@ -0,0 +1,168 @@
+<%include:header%>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon15.gif" width="24" height="24" border="0" align="absmiddle">
+ <%language:lu_title_registration%>
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+ <FORM action="<%form_action_registration_no_password%>" method="post">
+ <TR>
+ <TD valign="top" class="cell1"><SPAN class="text">
+ <%language:lu_user_name%>:
+ </SPAN></TD>
+
+ <TD class="cell1">
+ <INPUT type="text" name="<%form_input_registration_user_name%>" class="text" size="30" value="<%val_user_name%>">
+ <SPAN class="small">
+ <%language:lu_atleast_3%>
+ </SPAN> </TD>
+ <TD class="cell1"><SPAN class="error">
+ <%error_username%>
+ <%username_used%>
+ </SPAN></TD>
+ </TR>
+
+ <TR>
+ <TD valign="top" class="cell2">
+ <%language:lu_first_name%>:
+ </TD>
+
+ <TD class="cell2">
+ <INPUT type="text" name="<%form_input_registration_first%>" class="text" size="30" value="<%val_first%>">
+ </TD>
+
+ <TD class="cell2"><SPAN class="error">
+ <%error_first%>
+ </SPAN></TD>
+ </TR>
+
+
+ <TR>
+ <TD valign="top" class="cell1">
+ <%language:lu_last_name%>:
+ </TD>
+
+ <TD class="cell1">
+ <INPUT type="text" name="<%form_input_registration_last%>" class="text" size="30" value="<%val_last%>">
+ </TD>
+
+ <TD class="cell1"><SPAN class="error">
+ <%error_last%>
+ </SPAN></TD>
+ </TR>
+
+
+ <TR>
+ <TD valign="top" class="cell2">
+ <%language:lu_email%>:
+ </TD>
+
+ <TD class="cell2">
+ <INPUT type="text" name="<%form_input_registration_email%>" class="text" size="30" value="<%val_email%>">
+ </TD>
+
+ <TD class="cell2"><SPAN class="error">
+ <%error_email%>
+ <%email_used%>
+ </SPAN></TD>
+ </TR>
+
+
+ <TR>
+ <TD valign="top" class="cell1">
+ <%user_cust1%>:
+ </TD>
+
+ <TD class="cell1">
+ <INPUT type="text" name="<%form_input_registration_cust1%>" class="text" size="30" value="<%val_user_cust1%>">
+ </TD>
+
+ <TD class="cell1"><SPAN class="error">&nbsp</SPAN></TD>
+ </TR>
+
+
+ <TR>
+ <TD valign="top" class="cell2">
+ <%user_cust2%>:
+ </TD>
+
+ <TD class="cell2">
+ <INPUT type="text" name="<%form_input_registration_cust2%>" class="text" size="30" value="<%val_user_cust2%>">
+ </TD>
+
+ <TD class="cell2"><SPAN class="error">&nbsp</SPAN></TD>
+ </TR>
+
+
+ <TR>
+ <TD valign="top" class="cell1">
+ <%user_cust3%>:
+ </TD>
+
+ <TD class="cell1">
+ <INPUT type="text" name="<%form_input_registration_cust3%>" class="text" size="30" value="<%val_user_cust3%>">
+ </TD>
+
+ <TD class="cell1"><SPAN class="error">&nbsp</SPAN></TD>
+ </TR>
+ <TR>
+
+
+ <TD valign="top" class="cell2">
+ <%user_cust4%>:
+ </TD>
+
+ <TD class="cell2">
+ <INPUT type="text" name="<%form_input_registration_cust4%>" class="text" size="30" value="<%val_user_cust4%>">
+ </TD>
+
+ <TD class="cell2"><SPAN class="error">&nbsp</SPAN></TD>
+ </TR>
+
+
+ <TR>
+ <TD valign="top" class="cell1">
+ <%user_cust5%>:
+ </TD>
+
+ <TD class="cell1">
+ <INPUT type="text" name="<%form_input_registration_cust5%>" class="text" size="30" value="<%val_user_cust5%>">
+ </TD>
+
+ <TD class="cell1"><SPAN class="error">&nbsp</SPAN></TD>
+ </TR>
+
+
+ <TR>
+ <TD valign="top" class="cell2">
+ <%user_cust6%>:
+ </TD>
+
+ <TD class="cell2">
+ <INPUT type="text" name="<%form_input_registration_cust6%>" class="text" size="30" value="<%val_user_cust6%>">
+ </TD>
+
+ <TD class="cell2"><SPAN class="error">&nbsp</SPAN></TD>
+ </TR>
+
+
+ <TR>
+ <TD valign="top" colspan="3" class="cell1">
+ <INPUT type="submit" name="<%val_form_button_registration_submit%>" value="<%language:lu_button_register%>" class="button">
+ <INPUT type="reset" name="<%val_form_button_registration_reset%>" value="<%language:lu_button_reset%>" class="button">
+ <INPUT type="button" name="<%val_form_button_registration_cancel%>" value="<%language:lu_button_cancel%>" class="button" onClick="history.back();">
+ </TD>
+ </TR>
+
+ </FORM>
+ </TABLE>
+
+<%include:footer%>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/rregistration.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/misc/form_prompt.tpl
===================================================================
--- trunk/themes/inlink2/misc/form_prompt.tpl (nonexistent)
+++ trunk/themes/inlink2/misc/form_prompt.tpl (revision 29)
@@ -0,0 +1 @@
+<inp:form_prompt />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/misc/form_prompt.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/misc/form_error.tpl
===================================================================
--- trunk/themes/inlink2/misc/form_error.tpl (nonexistent)
+++ trunk/themes/inlink2/misc/form_error.tpl (revision 29)
@@ -0,0 +1 @@
+<inp:form_error /><BR>
Property changes on: trunk/themes/inlink2/misc/form_error.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/misc/form_prompt_error.tpl
===================================================================
--- trunk/themes/inlink2/misc/form_prompt_error.tpl (nonexistent)
+++ trunk/themes/inlink2/misc/form_prompt_error.tpl (revision 29)
@@ -0,0 +1 @@
+<span class="error"><inp:form_prompt /></span>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/misc/form_prompt_error.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/rate/rate_duplicate.tpl
===================================================================
--- trunk/themes/inlink2/rate/rate_duplicate.tpl (nonexistent)
+++ trunk/themes/inlink2/rate/rate_duplicate.tpl (revision 29)
@@ -0,0 +1,33 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon8.gif" width="24" height="24" border="0" align="absmiddle">
+ <span class="error"><inp:m_language _Phrase="lu_link_rate_confirm_duplicate_text" /></span>
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM method="POST" NAME="addreview_confirm" ACTION="<inp:l_form_action _Form="l_rate_confirm" />">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <span class="error"><inp:m_language _Phrase="lu_link_rate_confirm_duplicate_text" /></span>
+ </P>
+ <BR />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+
+
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
+
+
Property changes on: trunk/themes/inlink2/rate/rate_duplicate.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/rate/rate_confirm.tpl
===================================================================
--- trunk/themes/inlink2/rate/rate_confirm.tpl (nonexistent)
+++ trunk/themes/inlink2/rate/rate_confirm.tpl (revision 29)
@@ -0,0 +1,34 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon8.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_link_rate_confirm" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM method="POST" NAME="addreview_confirm" ACTION="<inp:l_form_action _Form="l_rate_confirm" />">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_link_rate_confirm_text" />
+ </SPAN>
+ </P>
+ <BR />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+
+
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
+
Property changes on: trunk/themes/inlink2/rate/rate_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/rate/rate_form.tpl
===================================================================
--- trunk/themes/inlink2/rate/rate_form.tpl (nonexistent)
+++ trunk/themes/inlink2/rate/rate_form.tpl (revision 29)
@@ -0,0 +1,141 @@
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+
+ <TR>
+ <TD colspan="2">
+ <B><a href="<inp:link _field="redirect" />" class="link"><inp:l_link_field _field="name" /></a></B>
+ <SPAN class="link-pick"><inp:l_link_field _field="pick"><inp:m_language _Phrase="lu_editors_pick" /></inp:l_link_field></SPAN>
+ <SPAN class="link-top"><inp:l_link_field _field="hot"><inp:m_language _Phrase="lu_hot" /></inp:l_link_field></SPAN>
+ <SPAN class="link-pop"><inp:l_link_field _field="pop"><inp:m_language _Phrase="lu_pop" /></inp:l_link_field></SPAN>
+ <SPAN class="link-new"><inp:l_link_field _field="new"><inp:m_language _Phrase="lu_new" /></inp:l_link_field></SPAN>
+ </TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD><B><inp:m_language _Phrase="lu_description" />:</B></TD>
+ <TD><SPAN class="text"><inp:l_link_field _field="description" /></SPAN></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD><B><inp:m_language _Phrase="lu_added" />:</B></TD>
+ <TD><SPAN class="text"><inp:l_link_field _field="date" /></SPAN></TD>
+ </TR>
+
+ <inp:l_link_field _Field="modified" >
+ <TR class="cell2">
+ <TD><B><inp:m_language _Phrase="lu_modified" />:</B></TD>
+ <TD><SPAN class="text"> <inp:l_link_field _Field="modified" /></SPAN></TD>
+ </TR>
+ </inp:l_link_field>
+
+ <TR class="cell1">
+ <TD><B><inp:m_language _Phrase="lu_hits" />:</B></TD>
+ <TD><SPAN class="text"><inp:l_link_field _field="hits" /></SPAN></TD>
+ </TR>
+
+
+ <TR class="cell2">
+ <TD nowrap><SPAN class="text"><B><inp:m_language _Phrase="lu_fieldcustom__lc1" />:</B></SPAN></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="custom" _customfield="lc1" /></SPAN></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD nowrap><SPAN class="text"><B><inp:m_language _Phrase="lu_fieldcustom__lc2" />:</B></SPAN></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="custom" _customfield="lc2" /></SPAN></TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD nowrap><SPAN class="text"><B><inp:m_language _Phrase="lu_fieldcustom__lc3" />: </B></SPAN></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="custom" _customfield="lc3" /></SPAN></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD nowrap><SPAN class="text"><B><inp:m_language _Phrase="lu_fieldcustom__lc4" />:</B></SPAN></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="custom" _customfield="lc4" /></SPAN></TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD nowrap><SPAN class="text"><B><inp:m_language _Phrase="lu_fieldcustom__lc5" />:</B></SPAN></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="custom" _customfield="lc5" /></SPAN></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD nowrap><SPAN class="text"><B><inp:m_language _Phrase="lu_fieldcustom__lc6" />:</B></SPAN></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="custom" _customfield="lc6" /></SPAN></TD>
+ </TR>
+
+ <TR class="cell2" valign="top">
+ <TD><B><inp:m_language _Phrase="lu_rating" />:</B></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="rating" _DisplayMode="numerical" /></SPAN>
+ <DIV align="right">
+ <a href="<inp:l_link_field _field="link" _template="getrate.tpl" />" class="floatbox-link">
+ <IMG src="images/icon1.gif" width="16" height="16" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_rating" />
+ <IMG src="images/arrow.gif" width="9" height="9" border="0"> </A>
+ </DIV>
+ </TD>
+ </TR>
+
+
+ <TR class="cell1">
+ <TD><B><inp:m_language _Phrase="lu_votes" />:</B></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="votes" /></SPAN></TD>
+ </TR>
+
+
+ <TR class="cell2" valign="top">
+ <TD><B><inp:m_language _Phrase="lu_reviews" />:</B></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="reviews" /></SPAN></TD>
+ </TR>
+</TABLE>
+<!-- rate link content -->
+<FORM enctype="multipart/form-data" method="POST" NAME="addrating" ACTION="<inp:l_form_action _Form="l_rate" _Confirm="rate/rate_confirm.tpl" _Duplicate="rate/rate_duplicate.tpl" _FinishTemplate="details.tpl" />">
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+ <tr>
+ <td colspan="3" class="error"><inp:m_list_form_errors _Form="l_rate" _ItemTemplate="misc/form_error.tpl" /></td>
+ </tr>
+
+ <TR class="cell1">
+ <TD width="0"><inp:m_form_input type="radio" _required="1" _field="rating" _form="l_rate" VALUE="5" /></TD>
+ <TD width="20%"><IMG src="rating/5.gif" width="75" height="13"></TD>
+ <TD width="80%"><inp:m_form_prompt _Form="l_rate" _Field="review" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_5" /></TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD width="0"><inp:m_form_input type="radio" _required="1" _field="rating" _form="l_rate" VALUE="4" /></TD>
+ <TD width="20%"><IMG src="rating/4.gif" width="75" height="13"></TD>
+ <TD width="80%"><inp:m_form_prompt _Form="l_rate" _Field="review" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_4" /></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD width="0"><inp:m_form_input type="radio" _required="1" _field="rating" _form="l_rate" VALUE="3" /></TD>
+ <TD width="20%"><IMG src="rating/3.gif" width="75" height="13"></TD>
+ <TD width="80%"><inp:m_form_prompt _Form="l_rate" _Field="review" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_3" /></TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD width="0"><inp:m_form_input type="radio" _required="1" _field="rating" _form="l_rate" VALUE="2" /></TD>
+ <TD width="20%"><IMG src="rating/2.gif" width="75" height="13"></TD>
+ <TD width="80%"><inp:m_form_prompt _Form="l_rate" _Field="review" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_2" /></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD width="0"><inp:m_form_input type="radio" _required="1" _field="rating" _form="l_rate" VALUE="1" /></TD>
+ <TD width="20%"><IMG src="rating/1.gif" width="75" height="13"></TD>
+ <TD width="80%"><inp:m_form_prompt _Form="l_rate" _Field="review" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_1" /></TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD width="0"><inp:m_form_input type="radio" _required="1" _field="rating" _form="l_rate" VALUE="0" /></TD>
+ <TD width="20%"><IMG src="rating/0.gif" width="75" height="13"></TD>
+ <TD width="80%"><inp:m_form_prompt _Form="l_rate" _Field="review" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_rating_0" /></TD>
+ </TR>
+
+ <tr>
+ <td colspan="3">
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_rate" />" class="button">
+ <INPUT type="button" name="cancel" value="<inp:m_language _Phrase="lu_cancel" />" class="button" onClick="javascript:location.href='<inp:m_template_link _Unsecure="1" _Template="inlink/detail.tpl" />';">
+ </td>
+ </tr>
+ </table>
+</FORM>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/rate/rate_form.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/top_search_terms.tpl
===================================================================
--- trunk/themes/inlink2/top_search_terms.tpl (nonexistent)
+++ trunk/themes/inlink2/top_search_terms.tpl (revision 29)
@@ -0,0 +1,14 @@
+<BR>
+<TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center">
+ <TR>
+ <TD class="text">
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR><TD><IMG src="images/icon8.gif" width="16" height="16" border="0" align="absmiddle">
+ <SPAN class="stats"><B><%language:lu_top_search_terms%></B> (10)</SPAN></TD></TR>
+ </TABLE>
+ <TABLE width="750" border="0" cellspacing="0" cellpadding="0" align="center">
+ <TR><TD><%insert_top_search_terms:output%></TD></TR>
+ </TABLE>
+ </TD>
+ </TR>
+</TABLE>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/top_search_terms.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/profile/english_countries.tpl
===================================================================
--- trunk/themes/inlink2/profile/english_countries.tpl (nonexistent)
+++ trunk/themes/inlink2/profile/english_countries.tpl (revision 29)
@@ -0,0 +1,192 @@
+        <inp:m_form_option _Field="country" _Form="m_acctinfo" _Form="m_acctinfo" _value="Afghanistan" _PlainText="Afghanistan" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Albania" _PlainText="Albania" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Algeria" _PlainText="Algeria" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Andorra" _PlainText="Andorra" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Angola" _PlainText="Angola" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Antigua & Barbuda" _PlainText="Antigua & Barbuda" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Argentina" _PlainText="Argentina" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Armenia" _PlainText="Armenia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Australia" _PlainText="Australia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Austria" _PlainText="Austria" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Azerbaijan" _PlainText="Azerbaijan" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Bahamas" _PlainText="Bahamas" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Bahrain" _PlainText="Bahrain" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Bangladesh" _PlainText="Bangladesh" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Barbados" _PlainText="Barbados" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Belarus" _PlainText="Belarus" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Belgium" _PlainText="Belgium" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Belize" _PlainText="Belize" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Benin" _PlainText="Benin" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Bhutan" _PlainText="Bhutan" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Bolivia" _PlainText="Bolivia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Bosnia and Herzegovina" _PlainText="Bosnia and Herzegovina" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Botswana" _PlainText="Botswana" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Brazil" _PlainText="Brazil" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Brunei" _PlainText="Brunei" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Bulgaria" _PlainText="Bulgaria" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Burkina Faso" _PlainText="Burkina Faso" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Burundi" _PlainText="Burundi" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Cambodia" _PlainText="Cambodia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Cameroon" _PlainText="Cameroon" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Canada" _PlainText="Canada" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Cape Verde" _PlainText="Cape Verde" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Central Africa Republic" _PlainText="Central Africa Republic" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Chad" _PlainText="Chad" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Chile" _PlainText="Chile" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="China" _PlainText="China" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Colombia" _PlainText="Colombia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Comoros" _PlainText="Comoros" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Congo (formerly Zaire)" _PlainText="Congo (formerly Zaire)" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Congo Republic" _PlainText="Congo Republic" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Costa Rica" _PlainText="Costa Rica" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="C&#1092;te d'Ivoire" _PlainText="C&#1092;t ed'Ivoire" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Croatia" _PlainText="Croatia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Cuba" _PlainText="Cuba" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Cyprus" _PlainText="Cyprus" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Czech Republic" _PlainText="Czech Republic" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Denmark" _PlainText="Denmark" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Djibouti" _PlainText="Djibouti" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Dominica" _PlainText="Dominica" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Dominican Republic" _PlainText="Dominican Republic" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Ecuador" _PlainText="Ecuador" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Egypt" _PlainText="Egypt" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="El Salvador" _PlainText="El Salvador" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Equatorial Guinea" _PlainText="Equatorial Guinea" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Eritrea" _PlainText="Eritrea" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Estonia" _PlainText="Estonia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Ethiopia" _PlainText="Ethiopia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Fiji" _PlainText="Fiji" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Finland" _PlainText="Finland" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="France" _PlainText="France" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Gabon" _PlainText="Gabon" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Gambia, The" _PlainText="Gambia, The" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Georgia" _PlainText="Georgia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Germany" _PlainText="Germany" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Ghana" _PlainText="Ghana" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Greece" _PlainText="Greece" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Grenada" _PlainText="Grenada" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Guatemala" _PlainText="Guatemala" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Guinea" _PlainText="Guinea" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Guinea-Bissau" _PlainText="Guinea-Bissau" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Guyana" _PlainText="Guyana" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Haiti" _PlainText="Haiti" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Honduras" _PlainText="Honduras" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Hungary" _PlainText="Hungary" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Iceland" _PlainText="Iceland" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="India" _PlainText="India" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Indonesia" _PlainText="Indonesia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Iran" _PlainText="Iran" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Iraq" _PlainText="Iraq" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Ireland" _PlainText="Ireland" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Israel" _PlainText="Israel" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Italy" _PlainText="Italy" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Jamaica" _PlainText="Jamaica" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Japan" _PlainText="Japan" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Jordan" _PlainText="Jordan" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Kazakhstan" _PlainText="Kazakhstan" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Kenya" _PlainText="Kenya" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Kiribati" _PlainText="Kiribati" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Korea, North" _PlainText="Korea, North" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Korea, South" _PlainText="Korea, South" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Kuwait" _PlainText="Kuwait" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Kyrgyzstan" _PlainText="Kyrgyzstan" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Laos" _PlainText="Laos" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Latvia" _PlainText="Latvia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Lebanon" _PlainText="Lebanon" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Lesotho" _PlainText="Lesotho" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Liberia" _PlainText="Liberia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Libya" _PlainText="Libya" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Liechtenstein" _PlainText="Liechtenstein" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Lithuania" _PlainText="Lithuania" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Luxembourg" _PlainText="Luxembourg" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Macedonia" _PlainText="Macedonia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Madagascar" _PlainText="Madagascar" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Malawi" _PlainText="Malawi" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Malaysia" _PlainText="Malaysia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Maldives" _PlainText="Maldives" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Mali" _PlainText="Mali" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Malta" _PlainText="Malta" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Marshall Islands" _PlainText="Marshall Islands" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Mauritania" _PlainText="Mauritania" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Mauritius" _PlainText="Mauritius" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Mexico" _PlainText="Mexico" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Moldova" _PlainText="Moldova" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Monaco" _PlainText="Monaco" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Mongolia" _PlainText="Mongolia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Morocco" _PlainText="Morocco" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Mozambique" _PlainText="Mozambique" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Myanmar" _PlainText="Myanmar" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Namibia" _PlainText="Namibia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Nauru" _PlainText="Nauru" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Nepal" _PlainText="Nepal" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Netherlands" _PlainText="Netherlands" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="New Zealand" _PlainText="New Zealand" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Nicaragua" _PlainText="Nicaragua" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Niger" _PlainText="Niger" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Nigeria" _PlainText="Nigeria" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Norway" _PlainText="Norway" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Oman" _PlainText="Oman" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Pakistan" _PlainText="Pakistan" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Palau" _PlainText="Palau" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Panama" _PlainText="Panama" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Papua New Guinea" _PlainText="Papua New Guinea" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Paraguay" _PlainText="Paraguay" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Peru" _PlainText="Peru" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Philippines" _PlainText="Philippines" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Poland" _PlainText="Poland" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Portugal" _PlainText="Portugal" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Qatar" _PlainText="Qatar" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Romania" _PlainText="Romania" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Russia" _PlainText="Russia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Rwanda" _PlainText="Rwanda" _PlainText="" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Saint Kitts and Nevis" _PlainText="Saint Kitts and Nevis" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Saint Lucia" _PlainText="Saint Lucia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Saint Vincent & the Grenadines" _PlainText="Saint Vincent & the Grenadines" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Samoa (formerly Western Samoa)" _PlainText="Samoa (formerly Western Samoa)" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="San Marino" _PlainText="San Marino" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="S&#1075;o Tom&#1081; & Pr&#1085;ncipe" _PlainText="S&#1075;o Tom&#1081; & Pr&#1085;ncipe" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Saudi Arabia" _PlainText="Saudi Arabia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Senegal" _PlainText="Senegal" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Seychelles" _PlainText="Seychelles" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Sierra Leone" _PlainText="Sierra Leone" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Singapore" _PlainText="Singapore" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Slovakia" _PlainText="Slovakia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Slovenia" _PlainText="Slovenia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Solomon Islands" _PlainText="Solomon Islands" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Somalia" _PlainText="Somalia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="South Africa" _PlainText="South Afric" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Spain" _PlainText="Spain" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Sri Lanka" _PlainText="Sri Lanka" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Sudan" _PlainText="Sudan" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Suriname" _PlainText="Suriname" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Swaziland" _PlainText="Swaziland" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Sweden" _PlainText="Sweden" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Switzerland" _PlainText="Switzerland" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Syria" _PlainText="Syria" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Taiwan" _PlainText="Taiwan" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Tajikistan" _PlainText="Tajikistan" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Tanzania" _PlainText="Tanzania" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Thailand" _PlainText="Thailand" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Togo" _PlainText="Togo" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Tonga" _PlainText="Tonga" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Trinidad & Tobago" _PlainText="Trinidad & Tobago" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Tunisia" _PlainText="Tunisia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Turkey" _PlainText="Turkey" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Turkmenistan" _PlainText="Turkmenistan" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Tuvalu" _PlainText="Tuvalu" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Uganda" _PlainText="Uganda" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Ukraine" _PlainText="Ukraine" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="United Arab Emirates" _PlainText="United Arab Emirates" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="United Kingdom" _PlainText="United Kingdom" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="United States" _PlainText="United States" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Uruguay" _PlainText="Uruguay" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Uzbekistan" _PlainText="Uzbekistan" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Vanuatu" _PlainText="Vanuatu" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Venezuela" _PlainText="Venezuela" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Vietnam" _PlainText="Vietnam" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Yemen" _PlainText="Yemen" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Yugoslavia" _PlainText="Yugoslavia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Zaire" _PlainText="Zaire" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Zambia" _PlainText="Zambia" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value="Zimbabwe" _PlainText="Zimbabwe" />
+                <inp:m_form_option _Field="country" _Form="m_acctinfo" _value=" " _PlainText=" " />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/profile/english_countries.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/profile/myinfo_dob.tpl
===================================================================
--- trunk/themes/inlink2/profile/myinfo_dob.tpl (nonexistent)
+++ trunk/themes/inlink2/profile/myinfo_dob.tpl (revision 29)
@@ -0,0 +1,151 @@
+<SELECT name="dob_month" class="input" style="width:45px;">
+ <inp:m_form_option _Field="dob_month" _Form="m_acctinfo" _value=" " _PlainText=" " />
+ <inp:m_form_option _Field="dob_month" _Form="m_acctinfo" _value="01" _LangText="lu_Jan" />
+ <inp:m_form_option _Field="dob_month" _Form="m_acctinfo" _value="02" _LangText="lu_Feb" />
+ <inp:m_form_option _Field="dob_month" _Form="m_acctinfo" _value="03" _LangText="lu_Mar" />
+ <inp:m_form_option _Field="dob_month" _Form="m_acctinfo" _value="04" _LangText="lu_Apr" />
+ <inp:m_form_option _Field="dob_month" _Form="m_acctinfo" _value="05" _LangText="lu_May" />
+ <inp:m_form_option _Field="dob_month" _Form="m_acctinfo" _value="06" _LangText="lu_Jun" />
+ <inp:m_form_option _Field="dob_month" _Form="m_acctinfo" _value="07" _LangText="lu_Jul" />
+ <inp:m_form_option _Field="dob_month" _Form="m_acctinfo" _value="08" _LangText="lu_Aug" />
+ <inp:m_form_option _Field="dob_month" _Form="m_acctinfo" _value="09" _LangText="lu_Sep" />
+ <inp:m_form_option _Field="dob_month" _Form="m_acctinfo" _value="10" _LangText="lu_Oct" />
+ <inp:m_form_option _Field="dob_month" _Form="m_acctinfo" _value="11" _LangText="lu_Nov" />
+ <inp:m_form_option _Field="dob_month" _Form="m_acctinfo" _value="12" _LangText="lu_Dec" />
+</SELECT>
+<input type="hidden" name="required[]" value="dob_month" />
+
+<SELECT name="dob_day" class="input" style="width:35px;">
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value=" " _PlainText=" " />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="01" _PlainText="1" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="02" _PlainText="2" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="03" _PlainText="3" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="04" _PlainText="4" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="05" _PlainText="5" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="06" _PlainText="6" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="07" _PlainText="7" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="08" _PlainText="8" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="09" _PlainText="9" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="10" _PlainText="10" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="11" _PlainText="11" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="12" _PlainText="12" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="13" _PlainText="13" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="14" _PlainText="14" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="15" _PlainText="15" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="16" _PlainText="16" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="17" _PlainText="17" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="18" _PlainText="18" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="19" _PlainText="19" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="20" _PlainText="20" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="21" _PlainText="21" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="22" _PlainText="22" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="23" _PlainText="23" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="24" _PlainText="24" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="25" _PlainText="25" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="26" _PlainText="26" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="27" _PlainText="27" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="29" _PlainText="29" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="30" _PlainText="30" />
+ <inp:m_form_option _Field="dob_day" _Form="m_acctinfo" _value="31" _PlainText="31" />
+</SELECT>
+<input type="hidden" name="required[]" value="dob_day" />
+
+<SELECT name="dob_year" class="input" style="width:50px;">
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value=" " _PlainText=" " />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1910" _PlainText="1910" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1911" _PlainText="1911" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1912" _PlainText="1912" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1913" _PlainText="1913" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1914" _PlainText="1914" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1915" _PlainText="1915" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1916" _PlainText="1916" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1917" _PlainText="1917" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1918" _PlainText="1918" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1919" _PlainText="1919" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1920" _PlainText="1920" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1921" _PlainText="1921" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1922" _PlainText="1922" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1923" _PlainText="1923" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1924" _PlainText="1924" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1925" _PlainText="1925" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1926" _PlainText="1926" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1927" _PlainText="1927" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1928" _PlainText="1928" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1929" _PlainText="1929" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1930" _PlainText="1930" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1931" _PlainText="1931" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1932" _PlainText="1932" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1933" _PlainText="1933" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1934" _PlainText="1934" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1935" _PlainText="1935" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1936" _PlainText="1936" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1937" _PlainText="1937" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1938" _PlainText="1938" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1939" _PlainText="1939" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1940" _PlainText="1940" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1941" _PlainText="1941" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1942" _PlainText="1942" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1943" _PlainText="1943" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1944" _PlainText="1944" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1945" _PlainText="1945" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1946" _PlainText="1946" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1947" _PlainText="1947" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1948" _PlainText="1948" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1949" _PlainText="1949" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1950" _PlainText="1950" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1951" _PlainText="1951" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1952" _PlainText="1952" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1953" _PlainText="1953" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1954" _PlainText="1954" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1955" _PlainText="1955" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1956" _PlainText="1956" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1957" _PlainText="1957" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1958" _PlainText="1958" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1959" _PlainText="1959" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1960" _PlainText="1960" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1961" _PlainText="1961" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1962" _PlainText="1962" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1963" _PlainText="1963" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1964" _PlainText="1964" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1965" _PlainText="1965" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1966" _PlainText="1966" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1967" _PlainText="1967" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1968" _PlainText="1968" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1969" _PlainText="1969" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1970" _PlainText="1970" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1971" _PlainText="1971" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1972" _PlainText="1972" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1973" _PlainText="1973" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1974" _PlainText="1974" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1975" _PlainText="1975" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1976" _PlainText="1976" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1977" _PlainText="1977" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1978" _PlainText="1978" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1979" _PlainText="1979" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1980" _PlainText="1980" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1981" _PlainText="1981" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1982" _PlainText="1982" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1983" _PlainText="1983" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1984" _PlainText="1984" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1985" _PlainText="1985" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1986" _PlainText="1986" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1987" _PlainText="1987" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1988" _PlainText="1988" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1989" _PlainText="1989" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1990" _PlainText="1990" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1991" _PlainText="1991" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1992" _PlainText="1992" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1993" _PlainText="1993" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1994" _PlainText="1994" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1995" _PlainText="1995" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1996" _PlainText="1996" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1997" _PlainText="1997" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1998" _PlainText="1998" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="1999" _PlainText="1999" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="2000" _PlainText="2000" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="2001" _PlainText="2001" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="2002" _PlainText="2002" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="2003" _PlainText="2003" />
+ <inp:m_form_option _Field="dob_year" _Form="m_acctinfo" _value="2004" _PlainText="2004" />
+</SELECT>
+<input type="hidden" name="required[]" value="dob_year" />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/profile/myinfo_dob.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/search_advanced_cats.tpl
===================================================================
--- trunk/themes/inlink2/search_advanced_cats.tpl (nonexistent)
+++ trunk/themes/inlink2/search_advanced_cats.tpl (revision 29)
@@ -0,0 +1,49 @@
+<inp:include _Template="header.tpl" />
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="2" align="center">
+ <TR>
+ <TD class="title" width="70%">
+ <IMG src="images/ticon13.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_advanced_search" />
+ </TD>
+
+
+ <TD width="15%" nowrap align="right" class="title">
+ <A href="<inp:m_template_link _Template="search_advanced_links.tpl" _Query="type=4&Action=m_adv_search" />" class="search-advanced">
+ <IMG src="images/icon9.gif" width="16" height="16" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_links" /> <IMG src="images/arrow.gif" width="9" height="9" border="0">
+ </A>
+ </TD>
+
+ <TD width="15%" nowrap align="right" class="title">
+ <A href="<inp:m_template_link _Template="search_advanced_cats.tpl" _Query="type=1&Action=m_adv_search" />" class="search-advanced">
+ <IMG src="images/icon9.gif" width="16" height="16" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_categories" /> <IMG src="images/arrow.gif" width="9" height="9" border="0">
+ </A>
+ </TD>
+ </TR>
+</TABLE>
+
+
+
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+ <TR class="subtitle">
+ <TD>
+ <inp:m_language _Phrase="lu_categories" />
+ </TD>
+ </TR>
+
+ <TR class="text">
+ <TD>
+ <inp:m_advsearch_include _TypeSelect="advsearch/advsearch_type.tpl" _ItemSelect="advsearch/advsearch_item.tpl" />
+ </TD>
+ </TR>
+ </TABLE>
+</FORM>
+
+<BR>
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/search_advanced_cats.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/add_link_cat_error.tpl
===================================================================
--- trunk/themes/inlink2/add_link_cat_error.tpl (nonexistent)
+++ trunk/themes/inlink2/add_link_cat_error.tpl (revision 29)
@@ -0,0 +1,3 @@
+<TR bgcolor="#F6F6F6">
+ <TD valign="top" align="right" colspan="3"><SPAN class="error"><%language:lu_invalid_entry%> - <%language:lu_error_cannot_remove_cat%></SPAN></TD>
+</TR>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/add_link_cat_error.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/index.tpl
===================================================================
--- trunk/themes/inlink2/index.tpl (nonexistent)
+++ trunk/themes/inlink2/index.tpl (revision 29)
@@ -0,0 +1,37 @@
+<inp:include _Template="header.tpl" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="navbar">
+ <IMG src="images/ticon0.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_navbar _RootTemplate="index" _LinkCurrent="1" _Separator=" &gt; " /></TD>
+ </TR>
+</TABLE>
+
+<!-- Template: categories content -->
+<inp:m_init_cats />
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD width="100%" valign="top"><inp:include _Template="sort_cats.tpl" /><BR />
+ <!-- categories content //-->
+ <inp:m_list_cats _NoTable="0" _columns="2" _ItemTemplate="list_cats.tpl" border="0" cellspacing="0" cellpadding="0" width="98%" _DataExists="1" />
+ <!-- categories content \\-->
+ </TD>
+ <TD width="*" valign="top">
+ <inp:m_loginbox _LoginTemplate="login/box_login.tpl" />
+ <inp:include _Template="box_subscribe.tpl" />
+ <inp:include _Template="box_suggest.tpl" /></TD>
+ </TR>
+</TABLE>
+<!-- End categories content -->
+
+<inp:perm_include _Module="In-Link" _Template="show_links.tpl" _DataExists="1" />
+
+<BR>
+
+<inp:include _Template="box_search.tpl" />
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/index.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/static_site_map.tpl
===================================================================
Index: trunk/themes/inlink2/static_site_map.tpl
===================================================================
--- trunk/themes/inlink2/static_site_map.tpl (nonexistent)
+++ trunk/themes/inlink2/static_site_map.tpl (revision 29)
Property changes on: trunk/themes/inlink2/static_site_map.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/list_premium_links.tpl
===================================================================
--- trunk/themes/inlink2/list_premium_links.tpl (nonexistent)
+++ trunk/themes/inlink2/list_premium_links.tpl (revision 29)
@@ -0,0 +1,19 @@
+<LI>
+<A class="link" href="<%link_link%>" <%link_in_new_browser%>><%link_name%></A>
+
+<SPAN class="link-pick">
+<%link_pick%>
+</SPAN> <SPAN class="link-top">
+<%link_top%>
+</SPAN> <SPAN class="link-pop">
+<%link_pop%>
+</SPAN> <SPAN class="link-new">
+<%link_new%>
+</SPAN>
+
+<SPAN class="link-desc"> -
+<%link_desc%>
+</SPAN>
+<A href="<%link_rate_link%>"><IMG src="<%link_rating_img%>" width="75" height="13" border="0"></A>
+</LI>
+<BR>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/list_premium_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/suggest_cat/suggest_cat_confirm.tpl
===================================================================
--- trunk/themes/inlink2/suggest_cat/suggest_cat_confirm.tpl (nonexistent)
+++ trunk/themes/inlink2/suggest_cat/suggest_cat_confirm.tpl (revision 29)
@@ -0,0 +1,33 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon8.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_addcat_confirm" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM method="POST" NAME="addcat_confirm" ACTION="<inp:m_form_action _Form="m_addcat_confirm" />">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_addcat_confirm_text" />
+ </SPAN>
+ </P>
+ <BR />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+
+
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/suggest_cat/suggest_cat_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/suggest_cat/suggest_cat_confirm_pending.tpl
===================================================================
--- trunk/themes/inlink2/suggest_cat/suggest_cat_confirm_pending.tpl (nonexistent)
+++ trunk/themes/inlink2/suggest_cat/suggest_cat_confirm_pending.tpl (revision 29)
@@ -0,0 +1,33 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon8.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_addcat_confirm_pending" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM method="POST" NAME="addcat_confirm" ACTION="<inp:m_form_action _Form="m_addcat_confirm" />">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_addcat_confirm_pending_text" />
+ </SPAN>
+ </P>
+ <BR />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+
+
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/suggest_cat/suggest_cat_confirm_pending.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/suggest_cat/suggest_cat_form.tpl
===================================================================
--- trunk/themes/inlink2/suggest_cat/suggest_cat_form.tpl (nonexistent)
+++ trunk/themes/inlink2/suggest_cat/suggest_cat_form.tpl (revision 29)
@@ -0,0 +1,28 @@
+
+<FORM enctype="multipart/form-data" method="POST" NAME="addcat" ACTION="<inp:m_form_action _Form="m_addcat" _Confirm="suggest_cat/suggest_cat_confirm" _ConfirmPending="suggest_cat/suggest_cat_confirm_pending" _FinishTemplate="index" />">
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+
+ <TR>
+ <td colspan="2"><inp:m_list_form_errors _Form="m_addcat" _ItemTemplate="misc/form_error.tpl" /></td>
+ </tr>
+
+ <TR class="cell1">
+ <TD valign="top"><SPAN class="text"><inp:m_form_prompt _Form="m_addcat" _Field="name" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_prompt_catname" /> <span class="error">*</span></SPAN></TD>
+ <TD><inp:m_form_input type="text" class="input" style="width:235px;" _field="name" _Form="m_addcat" _Required="1" /></TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD valign="top"><SPAN class="text"><inp:m_form_prompt _Form="m_addcat" _Field="description" _langtext="lu_prompt_catdesc" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" /> <span class="error">*</span></SPAN></TD>
+ <TD><inp:m_form_textarea class="textarea" _field="description" _Form="m_addcat" _Required="1" COLS="50" ROWS="5" style="width:235px;" /></TD>
+ </TR>
+
+ <tr align="left">
+ <td class="field-name">&nbsp;</td>
+ <td class="field-content-input" align="left">
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_suggest_category" />" class="button">
+ <INPUT type="button" name="cancel" value="<inp:m_language _Phrase="lu_cancel" />" class="button" onClick="javascript:history.back(); ">
+ </td>
+ </tr>
+ <!-- end buttons -->
+ </table><br /><br />
+</FORM>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/suggest_cat/suggest_cat_form.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/registration.tpl
===================================================================
--- trunk/themes/inlink2/registration.tpl (nonexistent)
+++ trunk/themes/inlink2/registration.tpl (revision 29)
@@ -0,0 +1,105 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon15.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_register" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+ <FORM method="POST" NAME="register" ACTION="<inp:m_form_action _Form="m_register" _ConfirmTemplate="register/register_confirm.tpl" _NotAllowedTemplate="error.tpl" _PendingTemplate="register/register_pending.tpl" _LoginTemplate="index.tpl"/>">
+
+ <TR>
+ <TD colspan="2" valign="top" class="error"><inp:m_form_has_errors _Form="m_register" /></SPAN></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_register" _Field="username" _langtext="lu_username" />&nbsp;<span class="error">*</span></TD>
+ <TD class="cell1"><inp:m_form_input type="text" class="input" style="width:135px;" _field="username" _Form="m_register" _Required="1" /></TD>
+ </TR>
+
+ <inp:m_autopassword _Value="false">
+ <TR>
+ <TD class="cell2"><inp:m_form_prompt _Form="m_register" _Field="password" _langtext="lu_password" />&nbsp;<span class="error">*</span></TD>
+ <TD class="cell2"><inp:m_form_input type="password" class="input" _field="password" _Form="m_register" _Required="1" style="width:135px;" /></TD>
+ </TR>
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_register" _Field="passwordverify" _langtext="lu_password_again" />&nbsp;<span class="error">*</span></TD>
+ <TD class="cell1"><inp:m_form_input type="password" class="input" _field="passwordverify" _Form="m_register" _Required="1" style="width:135px;" /></TD>
+ </TR>
+ </inp:m_autopassword>
+
+ <TR>
+ <TD class="cell2"><inp:m_form_prompt _Form="m_register" _Field="firstname" _langtext="lu_pp_firstname" />&nbsp;<span class="error">*</span></TD>
+ <TD class="cell2"><inp:m_form_input _field="firstname" _Form="m_register" _Required="1" type="text" class="input" style="width:135px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_register" _Field="lastname" _langtext="lu_pp_lastname" />&nbsp;<span class="error">*</span></TD>
+ <TD class="cell1"><inp:m_form_input _field="lastname" _Form="m_register" type="text" class="input" style="width:135px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell2"><inp:m_form_prompt _Form="m_register" _Field="phone" _langtext="lu_pp_phone" /></TD>
+ <TD class="cell2"><inp:m_form_input _field="phone" _Form="m_register" type="text" class="input" style="width:135px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_register" _Field="email" _langtext="lu_pp_email" />&nbsp;<span class="error">*</span></TD>
+ <TD class="cell1"><inp:m_form_input _field="email" _Required="1" _Form="m_register" type="text" class="input" style="width:135px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell2"><inp:m_form_prompt _Form="m_register" _Field="dob" _langtext="lu_pp_dob" /> <span class="error">*</span> (<inp:m_lang_dateformat />)</TD>
+ <TD class="cell2"><inp:include _Template="register/register_dob.tpl" /></TD>
+ </TR>
+
+
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_register" _Field="street" _langtext="lu_pp_street" /></TD>
+ <TD class="cell1"><inp:m_form_input _field="street" _Form="m_register" type="text" class="input" style="width:135px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell2"><inp:m_form_prompt _Form="m_register" _Field="phone" _langtext="lu_pp_city" /></TD>
+ <TD class="cell2"><inp:m_form_input _field="city" _Form="m_register" type="text" class="input" style="width:135px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_register" _Field="state" _langtext="lu_pp_state" /></TD>
+ <TD class="cell1"><inp:m_form_input _field="state" _Form="m_register" type="text" class="input" style="width:50px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell2"><inp:m_form_prompt _Form="m_register" _Field="zip" _langtext="lu_pp_zip" /></TD>
+ <TD class="cell2"><inp:m_form_input _field="zip" _Form="m_register" type="text" class="input" style="width:50px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_register" _Field="zip" _langtext="lu_pp_country" /></TD>
+ <TD class="cell1">
+ <SELECT name="country" class="input" style="width:135px;">
+ <inp:lang_include _Language="english" _Template="register/english_countries.tpl" />
+ </SELECT></TD>
+ </TR>
+
+
+
+ <TR>
+ <TD valign="top" colspan="3" class="cell1">
+ <img src="img/s.gif" width="1" height="3" alt="" /><br />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_register" />" class="button">
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="la_cancel" />" class="button">
+ </TD>
+ </TR>
+
+ </FORM>
+ </TABLE>
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/registration.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/list_links.tpl
===================================================================
--- trunk/themes/inlink2/list_links.tpl (nonexistent)
+++ trunk/themes/inlink2/list_links.tpl (revision 29)
@@ -0,0 +1,38 @@
+<LI>
+<a class="link" href="<inp:link _field="redirect" />"><inp:link _field="name" /></a>
+
+<SPAN class="link-pick"><inp:link _field="pick"><inp:m_language _Phrase="lu_editors_pick" /></inp:link></SPAN>
+<SPAN class="link-top"><inp:link _field="hot"><inp:m_language _Phrase="lu_hot" /></inp:link></SPAN>
+<SPAN class="link-pop"><inp:link _field="pop"><inp:m_language _Phrase="lu_pop" /></inp:link></SPAN>
+<SPAN class="link-new"><inp:link _field="new"><inp:m_language _Phrase="lu_new" /></inp:link></SPAN>
+
+<SPAN class="link-desc"> - <inp:link _field="description" /></SPAN>
+
+<inp:link _Field="rating" _DisplayMode="graphical" _OffImage="images/star.gif" _OnImage="images/star_rate.gif" />
+<BR />
+
+<SPAN class="link-detail">
+(<inp:m_language _Phrase="lu_added" />: <inp:link _field="date" />
+<inp:link _Field="modified">, <inp:m_language _Phrase="lu_modified" />: <inp:link _Field="modified" /></inp:link>
+, <inp:m_language _Phrase="lu_hits" />: <inp:link _field="hits" />
+, <inp:m_language _Phrase="lu_rating" />: <inp:link _Field="rating" _DisplayMode="numerical" />
+, <inp:m_language _Phrase="lu_votes" />: <inp:link _Field="votes" />
+, <inp:m_language _Phrase="lu_reviews" />: <inp:link _Field="reviews" />
+<inp:link _Field="expire" _DateNotSet="1" >, <inp:m_language _Phrase="lu_expires" />: <inp:link _Field="expire" _NoExpireLabel="lu_no_expiration" /></inp:link>)
+</SPAN>
+
+<BR>
+
+<A href="<inp:link _field="link" _template="reviews.tpl" />" class="link-review"><IMG src="images/icon2.gif" width="16" height="16" border="0" align="absmiddle">&nbsp;<inp:m_language _Phrase="lu_reviews" /></A>
+<A href="<inp:link _field="link" _Template="rate.tpl" />" class="link-rate"><IMG src="images/icon1.gif" width="16" height="16" border="0" align="absmiddle">&nbsp;<inp:m_language _Phrase="lu_rateit" /></A>
+
+<inp:m_perm_text _Perm="login">
+ <IMG src="images/icon10.gif" width="16" height="16" border="0" align="absmiddle">
+ <inp:link _Field="favorite_toggle" _AddLabel="lu_add_to_favorites" _DelLabel="lu_remove_from_favorites" _DenyTemplate="login.tpl" _DestTemplate="sub_pages.tpl" class="link-modify" />
+</inp:m_perm_text>
+
+<A href="<inp:link _field="link" _template="details.tpl" />" class="link-review">
+<img src="images/icon7.gif" width="16" height="16" alt="" border="0" align="absmiddle" />&nbsp;<inp:m_language _Phrase="lu_details" /></a>
+
+</LI>
+<BR /><BR />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/list_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/list_reviews.tpl
===================================================================
--- trunk/themes/inlink2/list_reviews.tpl (nonexistent)
+++ trunk/themes/inlink2/list_reviews.tpl (revision 29)
@@ -0,0 +1,8 @@
+<LI>
+<SPAN class="review"><inp:review _field="text" /></SPAN>
+<BR>
+<SPAN class="review-detail">(<inp:m_language _Phrase="lu_added" />: <inp:review _field="date" />
+<inp:m_language _Phrase="lu_by" />:
+
+<A href="mailto:<inp:review _field="reviewer" _usertag="email" />"><inp:review _field="reviewer" _usertag="login" /></a>)</SPAN>
+</LI>
Property changes on: trunk/themes/inlink2/list_reviews.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/list_map_cats.tpl
===================================================================
--- trunk/themes/inlink2/list_map_cats.tpl (nonexistent)
+++ trunk/themes/inlink2/list_map_cats.tpl (revision 29)
@@ -0,0 +1,3 @@
+<A href="<%cat_link%>" class="cat"><img src="<%cat_image%>" border="0" alt="<%cat_name%>"></A>&nbsp;
+<A href="<%cat_link%>" class="cat"><%cat_name%></A>
+&nbsp;<SPAN class="cat-no">(<%cat_num_cats%>/<%cat_num_links%>)</SPAN> <BR>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/list_map_cats.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/menu_navigation.tpl
===================================================================
--- trunk/themes/inlink2/menu_navigation.tpl (nonexistent)
+++ trunk/themes/inlink2/menu_navigation.tpl (revision 29)
@@ -0,0 +1,27 @@
+<P align="center">
+ <SPAN class="nav-top-bg">
+
+ &nbsp;<A href="<inp:m_template_link _Template="index" _Category=0 />" class="nav-top-txt"><inp:m_language _Phrase="lu_home" /></A>
+ <SPAN class="nav-top-txt"> | </SPAN>
+
+ <inp:m_module_link _Module="In-Portal" _Text="lu_hot_links" _Template="top.tpl" _Root="1" class="nav-top-txt" />
+ <SPAN class="nav-top-txt"> | </SPAN>
+
+ <inp:m_module_link _Module="In-Portal" _Text="lu_pop_links" _Template="pop.tpl" _Root="1" class="nav-top-txt" />
+ <SPAN class="nav-top-txt"> | </SPAN>
+
+ <inp:m_module_link _Module="In-Portal" _Text="lu_new_links" _Template="new.tpl" _Root="1" class="nav-top-txt" />
+ <SPAN class="nav-top-txt"> | </SPAN>
+
+ <inp:m_module_link _Module="In-Portal" _Text="lu_editors_pick_links" _Template="pick.tpl" _Root="1" class="nav-top-txt" />
+ <SPAN class="nav-top-txt"> | </SPAN>
+
+ <inp:m_module_link _Module="In-Portal" _Text="lu_search" _Template="display_link_search.tpl" _Root="1" class="nav-top-txt" />
+ </SPAN>
+
+<br>
+</P>
+
+
+
+
Property changes on: trunk/themes/inlink2/menu_navigation.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/message.tpl
===================================================================
--- trunk/themes/inlink2/message.tpl (nonexistent)
+++ trunk/themes/inlink2/message.tpl (revision 29)
@@ -0,0 +1,30 @@
+<%include:header%>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon9.gif" width="24" height="24" border="0" align="absmiddle">
+ <%language:lu_title_msg%>
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center" class="cell1">
+ <TR>
+ <TD align="center">
+ <BR>
+ <P align="center">
+ <SPAN class="sys-message">
+ <%sys_message%>
+ </SPAN>
+ </P>
+ <DIV align="center">
+ <INPUT type="button" name="submit" value="<%language:lu_button_back%>" class="button" onClick="history.back();">
+ </DIV>
+ <BR>
+ </TD>
+ </TR>
+</TABLE>
+
+
+<%include:footer%>
Property changes on: trunk/themes/inlink2/message.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/page_error.tpl
===================================================================
--- trunk/themes/inlink2/page_error.tpl (nonexistent)
+++ trunk/themes/inlink2/page_error.tpl (revision 29)
@@ -0,0 +1,30 @@
+<%preserve_order%>
+<%include:header%>
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="navbar">
+ <IMG src="images/ticon0.gif" width="24" height="24" border="0" align="absmiddle">
+ <%insert_navbar%>
+ </TD>
+ </TR>
+</TABLE>
+
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="text" align="center">
+
+ <BR>
+ <UL>
+ <B><%insert_page_error_message%></B>
+ </UL>
+ </TD>
+ </TR><TR>
+
+ </TR>
+</TABLE>
+
+<BR>
+
+<%include:box_search%>
+<%include:footer%>
Property changes on: trunk/themes/inlink2/page_error.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/rating/2_half.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/rating/2_half.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/rating/3_half.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/rating/3_half.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/rating/4_half.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/rating/4_half.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/rating/0.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/rating/0.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/rating/1.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/rating/1.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/rating/2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/rating/2.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/rating/3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/rating/3.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/rating/4.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/rating/4.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/rating/5.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/rating/5.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/rating/0_half.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/rating/0_half.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/rating/1_half.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/rating/1_half.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/sort_links.tpl
===================================================================
--- trunk/themes/inlink2/sort_links.tpl (nonexistent)
+++ trunk/themes/inlink2/sort_links.tpl (revision 29)
@@ -0,0 +1,41 @@
+<TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR>
+ <TD>
+ <IMG src="images/icon8.gif" width="16" height="16" border="0" align="absmiddle">
+ <SPAN class="stats"><B><inp:m_language _Phrase="lu_links" /></B>(<inp:l_list_count _ShortList="0" />)</SPAN></TD>
+
+ <FORM name="l_sort_links" method="POST" action="<inp:l_form_action _Form="l_sort_links"/>">
+
+ <TD class="small">
+ <DIV align="right">
+ <P>
+ <inp:m_language _Phrase="lu_show" />
+ <SELECT name="link_perpage" class="small">
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="10" _PlainText="10" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="20" _PlainText="20" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="50" _PlainText="50" />
+ </SELECT>
+ <inp:m_language _Phrase="lu_sort_by" />
+ <SELECT name="link_sort_field" class="small">
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Name" _LangText="lu_link_name" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedOn" _LangText="lu_date" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Description" _LangText="lu_field_description" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedById" _LangText="la_Text_Users" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Url" _LangText="lu_field_url" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedRating" _LangText="lu_rating" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedVotesQty" _LangText="lu_votes" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Hits" _LangText="lu_hits" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="EditorsPick" _LangText="lu_editors_pick" />
+ </SELECT>
+ <SELECT name="link_sort_order" class="small">
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="ASC" _LangText="lu_Ascending" />
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="DESC" _LangText="lu_Descending" />
+ </SELECT>
+ <INPUT type="hidden" name="start" value="0">
+ <INPUT type="submit" class="buttonsmall" value="<inp:m_language _Phrase="lu_button_go" />">
+ <A href="#"> </A> </P>
+ </DIV>
+ </TD>
+ </FORM>
+ </TR>
+ </TABLE>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/sort_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/theme_menu/theme_menu_element.tpl
===================================================================
--- trunk/themes/inlink2/theme_menu/theme_menu_element.tpl (nonexistent)
+++ trunk/themes/inlink2/theme_menu/theme_menu_element.tpl (revision 29)
@@ -0,0 +1 @@
+<option value="<inp:theme _Field="id" />" <inp:theme _Field="selected" />><inp:theme _Field="Name" /></option>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/theme_menu/theme_menu_element.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/style.css
===================================================================
--- trunk/themes/inlink2/style.css (nonexistent)
+++ trunk/themes/inlink2/style.css (revision 29)
@@ -0,0 +1,118 @@
+/* default text */
+.text {font-family: arial, helvetica, sans-serif; font-size: 9pt; color: #000000}
+
+/* small text */
+.small { font-family: verdana, arial, helvetica, sans-serif; font-size: 9px}
+
+/* top navigation */
+.nav-top-bg { background-color: #a0a0e0}
+.nav-top-txt { background-color: #a0a0e0; font-family: arial, helvetica, sans-serif; font-size: 13px; font-weight: 900; color: #ffffff; text-decoration: none;}
+.nav-top-txt:hover { color: #ffcc33}
+
+/* category navigation */
+.navbar { font-family: arial, verdana, sans-serif; font-weight: bold; font-size: 10pt; background-color: #f0f0f0; color: #003399; text-decoration: none;}
+.navbar:vlink { color: #003399; text-decoration: none;}
+.navbar:link { color: #003399; text-decoration: none;}
+.navbar:alink { color: #003399; text-decoration: none;}
+.navbar:hover { color: #9d9ddc; text-decoration: none;}
+
+/*user navigation */
+.nav-usermenu-title { font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; font-weight: 700; color: #999999}
+.nav-usermenu-txt { font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; color: #4141c0; text-decoration: underline}
+.nav-usermenu-txt:hover { color: #a0a0e0; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px}
+
+/* alternating table rows */
+.cell1 { background-color: #f6f6f6; font-family: arial, helvetica, sans-serif; font-size: 9pt; color: #000000}
+.cell2 { background-color: #dedede; font-family: arial, helvetica, sans-serif; font-size: 9pt; color: #000000}
+
+/* dialog boxes */
+.box-table { border: #000000; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; background-color: #dedede}
+
+/* titles */
+.title { font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; font-weight: bold; color: #373737; background-color: #E5E5E5}
+.subtitle { font-family: arial, helvetica, sans-serif; font-size: 12px; font-weight: 800; color: #ffffff; background-color: #666666}
+
+/* system messages and errors */
+.sys-message { color: #C0C0C0; font-family: arial,verdana,sans-serif; font-size: 9pt; }
+.error { font-family: verdana, arial, helvetica, sans-serif; font-size: 9pt; color: #FF3300; font-weight: bold}
+.small-msg { font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; color: #999999}
+
+/* statistics and misc. messages */
+.stats { color: #707070; font-family: arial,verdana,sans-serif; font-size: 9pt; }
+.stats-small { font-family: arial, helvetica, sans-serif; font-size: 9px;}
+
+/* search */
+.search-title { font-family: arial, helvetica, sans-serif; font-size: 12px; font-weight: 800; color: #ffffff; background-color: #666666}
+.search-field-lable { font-family: arial, helvetica, sans-serif; font-size: 12px}
+.search-advanced { font-family: arial, helvetica, sans-serif; font-size: 12px; font-weight: 900; text-decoration: none; color: #000000}
+.search-bg { background-color: #dedede}
+.search-table { border: #000000; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; background-color: #dedede}
+.search-advanced:hover { font-family: arial, helvetica, sans-serif; font-size: 12px; color: #a0a0e0; font-weight: 900}
+
+/* small text fields */
+.textbox { font-family: arial, helvetica, sans-serif; font-size: 10px}
+
+/* buttons */
+.button { font-family: arial, helvetica, sans-serif; font-size: 10px; background-color: #f9eeae}
+.buttonsmall { font-family: arial, helvetica, sans-serif; font-size: 9px; background-color: #f9eeae; ; cursor: hand}
+
+/* float boxes */
+.floatbox-table { border: #000000; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; background-color: #fef5cf}
+.floatbox-title { font-family: arial, helvetica, sans-serif; font-size: 12px; font-weight: 700; color: #ffffff; background-color: #666666}
+.floatbox-txt { font-family: arial, helvetica, sans-serif; font-size: 10px}
+.spacing-pad-left { padding-left: 15px}
+.floatbox-link { font-family: arial, helvetica, sans-serif; font-size: 12px; font-weight: 700; color: #000000; text-decoration: none}
+.floatbox-link:hover { color: #9d9ddc; font-family: arial, helvetica, sans-serif; font-size: 12px; font-weight: 700}
+
+/* spacing styles */
+.spacing-pad-top-right { padding-top: 15px; padding-right: 15px}
+.spacing-pad-top-left { padding-top: 15px; padding-left: 15px}
+.spacing-pad-left-right { padding-right: 15px ; padding-left: 15px}
+
+/* categories */
+.cat { font-family: arial, helvetica, sans-serif; font-size: 9pt; color: #003399; font-weight: bold;}
+.cat:hover { font-family: arial, helvetica, sans-serif; font-size: 9pt; color: #a0a0e0; font-weight: bold;}
+.catsub { font-family: arial, helvetica, sans-serif; font-size: 8pt; color: #000090 }
+.catsub:hover { color: #9d9ddc; font-family: arial, helvetica, sans-serif; font-size: 8pt}
+.cat-no { color: #707070; font-family: arial, verdana, sans-serif; font-size: 10px; }
+.cat-desc { color: black; font-family: arial,verdana,sans-serif; font-size: 9pt; }
+.cat-new { color: blue; font-family: arial, verdana, sans-serif; font-size: 12px; ; vertical-align: super}
+.cat-pick { font-family: arial, helvetica, sans-serif; font-size: 12px; color: #009900; vertical-align: super}
+.cats-stats { color: #707070; font-family: arial,verdana,sans-serif; font-size: 9pt; }
+
+/* links */
+.link { font-family: arial, helvetica, sans-serif; font-size: 9pt; color: #003399; }
+.link:hover { font-family: arial, helvetica, sans-serif; font-size: 9pt; color: #a0a0e0;}
+.link-rate { font-family: arial, helvetica, sans-serif; font-size: 12px; color: #006600; text-decoration: none; }
+.link-review { font-family: arial, helvetica, sans-serif; font-size: 12px; color: #a27900; text-decoration: none; }
+.link-modify { font-family: arial, helvetica, sans-serif; font-size: 12px; color: #800000; text-decoration: none; }
+.link-div{ font-family: arial, helvetica, sans-serif; font-size: 12px; color: #000000; text-decoration: none; }
+.link-desc { color: black; font-family: arial,verdana,sans-serif; font-size: 9pt; }
+.link-detail { color: #707070; font-family: arial,verdana,sans-serif; font-size: 8pt; }
+.link-new { color: blue; font-family: arial, verdana, sans-serif; font-size: 12px; ; vertical-align: super}
+.link-top { color: red; font-family: arial, verdana, sans-serif; font-size: 12px; vertical-align: super}
+.link-pop { color: orange; font-family: arial, verdana, sans-serif; font-size: 12px; vertical-align: super}
+.link-pick { font-family: arial, helvetica, sans-serif; font-size: 12px; color: #009900; vertical-align: super}
+
+/* reviews */
+.review { font-family: arial, helvetica, sans-serif; font-size: 9pt;}
+.review-detail { color: #707070; font-family: arial,verdana,sans-serif; font-size: 8pt; }
+.review-detail:hover { color: #a0a0e0; font-family: arial,verdana,sans-serif; font-size: 8pt; }
+
+/* page navigation */
+.pagenav { font-family: arial, verdana, helvetica, sans-serif; font-size: 12px; color: #00000; font-weight: bold;}
+
+/* copyright */
+.copyright { font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; color: #999999; text-decoration: none;}
+.copyright:hover { font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; color: #999999; text-decoration: none;}
+
+/* small path links */
+.small_path { font-family: verdana, arial, helvetica, sans-serif; font-size: 10px; color: #A8A8A8; text-decoration: none; }
+.small_path:hover { font-family: verdana, arial, helvetica, sans-serif; font-size: 10px; color: #C7C7C7; text-decoration: underline; }
+
+/* normal path links */
+.normal_path { font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; color: black; text-decoration: none; }
+.normal_path:hover { font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; color: #C7C7C7; text-decoration: underline; }
+
+/* search box */
+.searchbox-table {border: #F7F7FF; border-style: solid; border-top-width: 0px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; background-color: #FFFFFF;}
Property changes on: trunk/themes/inlink2/style.css
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/search_advanced_links.tpl
===================================================================
--- trunk/themes/inlink2/search_advanced_links.tpl (nonexistent)
+++ trunk/themes/inlink2/search_advanced_links.tpl (revision 29)
@@ -0,0 +1,49 @@
+<inp:include _Template="header.tpl" />
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="2" align="center">
+ <TR>
+ <TD class="title" width="70%">
+ <IMG src="images/ticon13.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_advanced_search" />
+ </TD>
+
+
+ <TD width="15%" nowrap align="right" class="title">
+ <A href="<inp:m_template_link _Template="search_advanced_links.tpl" _Query="type=4&Action=m_adv_search" />" class="search-advanced">
+ <IMG src="images/icon9.gif" width="16" height="16" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_links" /> <IMG src="images/arrow.gif" width="9" height="9" border="0">
+ </A>
+ </TD>
+
+ <TD width="15%" nowrap align="right" class="title">
+ <A href="<inp:m_template_link _Template="search_advanced_cats.tpl" _Query="type=1&Action=m_adv_search" />" class="search-advanced">
+ <IMG src="images/icon9.gif" width="16" height="16" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_categories" /> <IMG src="images/arrow.gif" width="9" height="9" border="0">
+ </A>
+ </TD>
+ </TR>
+</TABLE>
+
+
+
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+ <TR class="subtitle">
+ <TD>
+ <inp:m_language _Phrase="lu_links" />
+ </TD>
+ </TR>
+
+ <TR class="text">
+ <TD>
+ <inp:m_advsearch_include _TypeSelect="advsearch/advsearch_type.tpl" _ItemSelect="advsearch/advsearch_item.tpl" />
+ </TD>
+ </TR>
+ </TABLE>
+</FORM>
+
+<BR>
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/search_advanced_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/footer.tpl
===================================================================
--- trunk/themes/inlink2/footer.tpl (nonexistent)
+++ trunk/themes/inlink2/footer.tpl (revision 29)
@@ -0,0 +1,14 @@
+<HR width="760" size="1" noshade align="center">
+
+<inp:include _Template="menu_user.tpl" />
+
+<P align="center">
+
+ <SPAN class="copyright">
+ Powered by In-link 2. <a href="http://www.intechnic.com" target="_blank" class="copyright">Intechnic Corporation</a>, 2001-2004. All Rights Reserved.
+ </SPAN>
+ <BR><BR>
+ <A HREF="http://www.in-link.net"><IMG src="images/brand_logo.gif" alt="in-link.net" width="76" height="29" border="0"></A>
+</P>
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/footer.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/favorites.tpl
===================================================================
--- trunk/themes/inlink2/favorites.tpl (nonexistent)
+++ trunk/themes/inlink2/favorites.tpl (revision 29)
@@ -0,0 +1,10 @@
+<inp:include _Template="header.tpl" />
+
+<inp:m_loginbox _LoginTemplate="login/box_login.tpl" _LoggedInTemplate="favorites/list_favorites.tpl" /><br /><br />
+
+<BR>
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/favorites.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/advsearch/advsearch_type.tpl
===================================================================
--- trunk/themes/inlink2/advsearch/advsearch_type.tpl (nonexistent)
+++ trunk/themes/inlink2/advsearch/advsearch_type.tpl (revision 29)
@@ -0,0 +1,34 @@
+<FORM method="POST" NAME="advsearch_type" ACTION="<inp:m_form_action _Form="m_adv_search_type" />">
+
+<table border="0" cellspacing="0" cellpadding="0" width="100%">
+ <!--<tr><td colspan="4"><h2><inp:m_language _Phrase="lu_advanced_search" /></h2></td></tr>-->
+ <tr>
+ <td colspan="2" class="error"><inp:m_list_form_errors _Form="m_advsearch_type" _ItemTemplate="misc/form_error.tpl" /></td>
+ </tr>
+ <tr>
+ <td colspan="2"><img src="img/s.gif" width="1" height="5" alt="" /><br /></td>
+ </tr>
+ <tr>
+ <td class="field-name"><inp:m_form_prompt _Form="m_adv_search_type" _Field="itemtype" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_search_type" /> <span class="error">*</span></td>
+ <td class="field-content-input" width="100%">
+ <select name="itemtype">
+ <inp:mod_include _Template="advsearch/adv_searchtype_options.tpl" />
+ </select><br />
+ </td>
+ </tr>
+ <!-- buttons -->
+ <tr>
+ <td class="field-name">&nbsp;</td>
+ <td class="field-content"><img src="img/s.gif" width="1" height="15" alt="" /><br />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_continue" />" class="button">
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_cancel" />" class="button">
+ </td>
+ </tr>
+ <tr>
+ <td><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ <td class="field-content"><img src="img/s.gif" width="1" height="1" alt="" /><br /></td>
+ </tr>
+ <!-- end buttons -->
+</table>
+
+</FORM>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/advsearch/advsearch_type.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/advsearch/alt_item_form.tpl
===================================================================
--- trunk/themes/inlink2/advsearch/alt_item_form.tpl (nonexistent)
+++ trunk/themes/inlink2/advsearch/alt_item_form.tpl (revision 29)
@@ -0,0 +1,5 @@
+<tr valign="top">
+ <td align="right" class="field-name"><inp:searchfield _Field="lang_name" /></td>
+ <td class="field-content"><inp:searchfield _Field="verb_select" /><br /><inp:searchfield _Field="form_input" /></td>
+ <td class="field-content"><inp:searchfield _Field="andor_radio" /></td>
+</tr>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/advsearch/alt_item_form.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/advsearch/item_form.tpl
===================================================================
--- trunk/themes/inlink2/advsearch/item_form.tpl (nonexistent)
+++ trunk/themes/inlink2/advsearch/item_form.tpl (revision 29)
@@ -0,0 +1,5 @@
+<tr valign="top">
+ <td align="right" class="field-name"><inp:searchfield _Field="lang_name" /></td>
+ <td class="field-content"><inp:searchfield _Field="verb_select" /><br /><inp:searchfield _Field="form_input" /></td>
+ <td class="field-content"><inp:searchfield _Field="andor_radio" /></td>
+</tr>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/advsearch/item_form.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/advsearch/alt_item_form_last.tpl
===================================================================
--- trunk/themes/inlink2/advsearch/alt_item_form_last.tpl (nonexistent)
+++ trunk/themes/inlink2/advsearch/alt_item_form_last.tpl (revision 29)
@@ -0,0 +1,5 @@
+<tr valign="top">
+ <td align="right" class="field-name"><inp:searchfield _Field="lang_name" /></td>
+ <td class="field-content"><inp:searchfield _Field="verb_select" /><br /><inp:searchfield _Field="form_input" /></td>
+ <td>&nbsp;</td>
+</tr>
Property changes on: trunk/themes/inlink2/advsearch/alt_item_form_last.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/advsearch/item_form_last.tpl
===================================================================
--- trunk/themes/inlink2/advsearch/item_form_last.tpl (nonexistent)
+++ trunk/themes/inlink2/advsearch/item_form_last.tpl (revision 29)
@@ -0,0 +1,5 @@
+<tr valign="top">
+ <td align="right" class="field-name"><inp:searchfield _Field="lang_name" /></td>
+ <td class="field-content"><inp:searchfield _Field="verb_select" /><br /><inp:searchfield _Field="form_input" /></td>
+ <td>&nbsp;</td>
+</tr>
Property changes on: trunk/themes/inlink2/advsearch/item_form_last.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/advsearch/adv_searchtype_options.tpl
===================================================================
--- trunk/themes/inlink2/advsearch/adv_searchtype_options.tpl (nonexistent)
+++ trunk/themes/inlink2/advsearch/adv_searchtype_options.tpl (revision 29)
@@ -0,0 +1 @@
+<OPTION VALUE="1"><inp:m_language _Phrase="lu_category" /></OPTION>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/advsearch/adv_searchtype_options.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/advsearch/advsearch_item.tpl
===================================================================
--- trunk/themes/inlink2/advsearch/advsearch_item.tpl (nonexistent)
+++ trunk/themes/inlink2/advsearch/advsearch_item.tpl (revision 29)
@@ -0,0 +1,27 @@
+<FORM method="POST" NAME="m_adv_search" ACTION="<inp:m_form_action _Form="m_adv_search" _Template="display_link_search.tpl" />">
+
+<table border="0" cellspacing="0" cellpadding="0">
+ <tr><td><h2><inp:m_advsearch_type /></h2></td></tr>
+ <tr>
+ <td class="error"><inp:m_list_form_errors _Form="m_adv_search" _ItemTemplate="misc/form_error.tpl" /></td>
+ </tr>
+ <tr><td><img src="img/s.gif" width="1" height="5" alt="" /><br /></td></tr>
+ <tr>
+ <td>
+ <table border="0" cellspacing="0" cellpadding="0" width="98%">
+ <inp:m_advsearch_fields _ItemTemplate="advsearch/item_form.tpl" _AltItemTemplate="advsearch/alt_item_form.tpl" _LastItemTemplate="advsearch/item_form_last.tpl" _AltLastItemTemplate="advsearch/alt_item_form_last.tpl" _ />
+ </table>
+ </td>
+ </tr>
+ <tr><td><img src="img/s.gif" width="1" height="3" alt="" /><br /></td></tr>
+ <tr><td class="bgr-updatefill"><img src="img/s.gif" width="300" height="1" alt="" /><br /></td></tr>
+ <tr>
+ <td>
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_search" />" class="button">
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_cancel" />" class="button"><br /><br />
+ </td>
+ </tr>
+ <!-- end buttons -->
+</table>
+
+</FORM>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/advsearch/advsearch_item.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/menu_user.tpl
===================================================================
--- trunk/themes/inlink2/menu_user.tpl (nonexistent)
+++ trunk/themes/inlink2/menu_user.tpl (revision 29)
@@ -0,0 +1,42 @@
+
+<P align="center">
+ <inp:m_perm_text _Perm="login" _NoPerm="1" _MatchAllPerms="1">
+ <a href="<inp:m_template_link _Template="login.tpl" />" class="nav-usermenu-txt">
+ <inp:m_language _Phrase="lu_login" /></a>
+ <SPAN class="small"> | </SPAN>
+ </inp:m_perm_text>
+
+ <a href="<inp:m_template_link _Template="add_link.tpl" />" class="nav-usermenu-txt"><inp:m_language _Phrase="lu_suggest_link" /></a>
+
+ <SPAN class="small"> | </SPAN>
+ <a href="<inp:m_template_link _Template="modify.tpl" />" class="nav-usermenu-txt">
+ <inp:m_language _Phrase="lu_modify_link" /></a>
+
+ <SPAN class="small"> | </SPAN>
+ <a href="<inp:m_template_link _Template="suggest_cat.tpl" />" class="nav-usermenu-txt"><inp:m_language _Phrase="lu_suggest_category" /></a>
+
+ <inp:m_perm_text _Perm="login" _NoPerm="1" _MatchAllPerms="1">
+ <SPAN class="small"> | </SPAN>
+ <a href="<inp:m_template_link _Template="registration.tpl" />" class="nav-usermenu-txt">
+ <inp:m_language _Phrase="lu_register" /></a>
+ </inp:m_perm_text>
+
+ <inp:m_perm_text _Perm="login" _NoPerm="0" _MatchAllPerms="1">
+ <SPAN class="small"> | </SPAN>
+ <a href="<inp:m_template_link _Template="profile.tpl" />" class="nav-usermenu-txt">
+ <inp:m_language _Phrase="lu_my_info" /></a>
+ </inp:m_perm_text>
+
+ <SPAN class="small"> | </SPAN>
+ <a href="<inp:m_template_link _Template="subscribe.tpl" />" class="nav-usermenu-txt">
+ <inp:m_language _Phrase="lu_mailinglist" /></a>
+
+ <inp:m_perm_text _Perm="login" _NoPerm="0" _MatchAllPerms="1">
+ <SPAN class="small"> | </SPAN>
+ <a href="<inp:m_template_link _Template="favorites.tpl" />" class="nav-usermenu-txt">
+ <inp:m_language _Phrase="lu_favorites" /></a>
+ <SPAN class="small"> | </SPAN>
+ <a href="<inp:m_logout_link _Template="index.tpl" _Category=0 />" class="nav-usermenu-txt">
+ <inp:m_language _Phrase="lu_logout" /></a>
+ </inp:m_perm_text>
+ </P>
Property changes on: trunk/themes/inlink2/menu_user.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/search.tpl
===================================================================
--- trunk/themes/inlink2/search.tpl (nonexistent)
+++ trunk/themes/inlink2/search.tpl (revision 29)
@@ -0,0 +1,31 @@
+<%include:header%>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon12.gif" width="24" height="24" border="0" align="absmiddle">
+ <%language:lu_title_search%>
+ </TD>
+ </TR>
+</TABLE>
+<%insert_top_search_terms:10%><BR>
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="text">
+ <%include:sort_links%>
+ <BR>
+ <UL>
+ <%insert_search_links%>
+ </UL>
+ </TD>
+ </TR><TR>
+ <TD class="pagenav" align="right">
+ <%insert_pagenav%>
+ </TD>
+ </TR>
+</TABLE>
+
+
+<BR>
+<%include:box_search%>
+<%include:footer%>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/search.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/add_link.tpl
===================================================================
--- trunk/themes/inlink2/add_link.tpl (nonexistent)
+++ trunk/themes/inlink2/add_link.tpl (revision 29)
@@ -0,0 +1,14 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon18.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_add_link" />
+ </TD>
+ </TR>
+</TABLE>
+
+<inp:perm_include _Template="suggest_link/suggest_link_form.tpl" _NoAccess="access_denied.tpl" _Permission="LINK.ADD,LINK.ADD.PENDING" />
+
+<inp:include _Template="footer.tpl" />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/add_link.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/lang_menu/lang_menu_element.tpl
===================================================================
--- trunk/themes/inlink2/lang_menu/lang_menu_element.tpl (nonexistent)
+++ trunk/themes/inlink2/lang_menu/lang_menu_element.tpl (revision 29)
@@ -0,0 +1,5 @@
+<A HREF="<inp:lang _Field="link" _Template="index" />">
+ <img src="<inp:lang _Field="icon" _default="images/english.gif"/>" width="18" border="0" height="12" alt="<inp:lang _Field="LocalName" />" /></A>
+
+
+
Property changes on: trunk/themes/inlink2/lang_menu/lang_menu_element.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/images/icon3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/icon3.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/icon4.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/icon4.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/icon5.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/icon5.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/icon6.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/icon6.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon20.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon20.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/icon7.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/icon7.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon21.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon21.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/icon8.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/icon8.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/italian.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/italian.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/icon9.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/icon9.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/chinese_big5.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/chinese_big5.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/star_rate.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/star_rate.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/thai.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/thai.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/inlink2_logo.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/inlink2_logo.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/english.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/english.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/arrow.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/arrow.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/romanian.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/romanian.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/spanish.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/spanish.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/brand_logo.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/brand_logo.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/dutch.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/dutch.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/folder.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/folder.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon10.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon10.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/spacer.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/spacer.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon11.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon11.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon12.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon12.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon13.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon13.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon14.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon14.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon15.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon15.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon16.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon16.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon17.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon17.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/default.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/default.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/russian.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/russian.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon18.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon18.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/tr.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/tr.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/chinese_gb.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/chinese_gb.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon19.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon19.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/icon10.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/icon10.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/icon11.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/icon11.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon0.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon0.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/right_logo.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/right_logo.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon1.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon1.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/polish.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/polish.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/finnish.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/finnish.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon2.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon3.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon4.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon4.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon5.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon5.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/portuguese.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/portuguese.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon6.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon6.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon7.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon7.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/dice.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/dice.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon8.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon8.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/french.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/french.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/ticon9.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/ticon9.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/swedish.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/swedish.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/german.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/german.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/icon1.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/icon1.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/star.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/star.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/images/icon2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/images/icon2.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/login.tpl
===================================================================
--- trunk/themes/inlink2/login.tpl (nonexistent)
+++ trunk/themes/inlink2/login.tpl (revision 29)
@@ -0,0 +1,8 @@
+<inp:include _Template="header" />
+
+<inp:include _Template="login/login.tpl" />
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/login.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/list_mod_links.tpl
===================================================================
--- trunk/themes/inlink2/list_mod_links.tpl (nonexistent)
+++ trunk/themes/inlink2/list_mod_links.tpl (revision 29)
@@ -0,0 +1,32 @@
+<LI>
+<A class="link" href="<%link_link%>" <%link_in_new_browser%>><%link_name%></A>
+
+<SPAN class="link-pick">
+<%link_pick%>
+</SPAN> <SPAN class="link-top">
+<%link_top%>
+</SPAN> <SPAN class="link-pop">
+<%link_pop%>
+</SPAN> <SPAN class="link-new">
+<%link_new%>
+</SPAN>
+<SPAN class="link-desc"> -
+<%link_desc%>
+</SPAN>
+<A href="<%link_rate_link%>"><IMG src="<%link_rating_img%>" width="75" height="13" border="0"></A>
+
+<BR>
+
+<SPAN class="link-detail">
+(<%language:lu_added%>:
+<%link_date%>, <%link_modified_date%> <%language:lu_hits%>:
+<%link_hits%>, <%language:lu_rating%>:
+<%link_rating_txt%>, <%language:lu_votes%>:
+<%link_votes%>, <%language:lu_reviews%>:
+<%link_reviews%>)
+</SPAN>
+
+<BR>
+<A href="<%edit_link%>" class="link-modify"><IMG src="images/icon7.gif" width="17" height="16" border="0" align="absmiddle"> <%language:lu_edit%></A>
+
+</LI>
Property changes on: trunk/themes/inlink2/list_mod_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/send_password.tpl
===================================================================
--- trunk/themes/inlink2/send_password.tpl (nonexistent)
+++ trunk/themes/inlink2/send_password.tpl (revision 29)
@@ -0,0 +1,58 @@
+<%include:header%>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon15.gif" width="24" height="24" border="0" align="absmiddle">
+ <%language:lu_title_send_password%>
+ </TD>
+ <TD class="title"><SPAN class="error">
+ <%error_send_password%>
+ </SPAN></TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+ <FORM action="<%form_action_send_password%>" method="post">
+ <TR>
+ <TD valign="top" class="cell1"><SPAN class="text">
+ <%language:lu_user_name%>:
+ </SPAN></TD>
+
+ <TD class="cell1">
+ <INPUT type="text" name="<%form_input_registration_user_name%>" class="text" size="30" value="<%val_user_name%>">
+ <SPAN class="small">
+ <%language:lu_atleast_3%>
+ </SPAN>
+ </TD>
+ <TD class="cell1"><SPAN class="error">
+ <%error_username%>
+ </SPAN></TD>
+ </TR>
+ <TR>
+ <TD valign="top" class="cell2">
+ <%language:lu_email%>:
+ </TD>
+
+ <TD class="cell2">
+ <INPUT type="text" name="<%form_input_registration_email%>" class="text" size="30" value="<%val_email%>">
+ </TD>
+ <TD class="cell2"><SPAN class="error">
+ <%error_email%>
+ </SPAN></TD>
+ </TR>
+ <TR>
+ <TD valign="top" colspan="3" class="cell1">
+ <INPUT type="submit" name="<%val_form_button_registration_submit%>" value="<%language:lu_button_send_password%>" class="button">
+ <INPUT type="reset" name="<%val_form_button_registration_reset%>" value="<%language:lu_button_reset%>" class="button">
+ <INPUT type="button" name="<%val_form_button_registration_cancel%>" value="<%language:lu_button_cancel%>" class="button" onClick="history.back();">
+ </TD>
+ </TR>
+
+ </FORM>
+ </TABLE>
+
+<%include:footer%>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/send_password.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/custom_field.tpl
===================================================================
--- trunk/themes/inlink2/custom_field.tpl (nonexistent)
+++ trunk/themes/inlink2/custom_field.tpl (revision 29)
@@ -0,0 +1,5 @@
+<TR>
+ <TD nowrap>
+ <SPAN class="text"><B><inp:l_link_field _Field="custom" />:</B></SPAN></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="custom" /></SPAN></TD>
+</TR>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/custom_field.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/getting_rated.tpl
===================================================================
--- trunk/themes/inlink2/getting_rated.tpl (nonexistent)
+++ trunk/themes/inlink2/getting_rated.tpl (revision 29)
@@ -0,0 +1,37 @@
+<%include:header%>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon5.gif" width="24" height="24" border="0" align="absmiddle">
+ <%language:lu_title_gettingrated%>
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center">
+ <TR>
+ <TD width="100%" valign="top" class="text">
+ <BR><BR>
+ <%language:lu_txt_gettingrated%>
+ <BR><BR>
+ </TD>
+ </TR>
+</TABLE>
+
+<BR>
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" class="box-table">
+ <TR>
+ <TD width="100%" valign="top" class="text" align="center"><br>
+ <textarea rows="20" name="<%textarea_name%>" cols="60">
+
+ <%getting_rated_link%>
+
+ </textarea>
+ <br>&nbsp;
+ </TD>
+ </TR>
+</TABLE>
+
+<%include:footer%>
Property changes on: trunk/themes/inlink2/getting_rated.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/show_links.tpl
===================================================================
--- trunk/themes/inlink2/show_links.tpl (nonexistent)
+++ trunk/themes/inlink2/show_links.tpl (revision 29)
@@ -0,0 +1,15 @@
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="text">
+ <inp:include _Template="sort_links.tpl" />
+ <BR>
+ <UL>
+ <inp:l_list_links _ItemTemplate="list_links.tpl" _ShortList="0" />
+ </UL>
+ </TD>
+ </TR><TR>
+ <TD class="pagenav" align="right">
+ <inp:l_link_pagenav _Label="lu_page_label" _ShortList="0" />
+ </TD>
+ </TR>
+</TABLE>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/show_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/list_pick_links.tpl
===================================================================
--- trunk/themes/inlink2/list_pick_links.tpl (nonexistent)
+++ trunk/themes/inlink2/list_pick_links.tpl (revision 29)
@@ -0,0 +1,38 @@
+<LI>
+<%link_search_relevance%>
+<B> <A class="link" href="<%link_link%>" <%link_in_new_browser%>>
+ <%link_name%>
+ </A></B> <SPAN class="link-pick">
+ <%link_pick%>
+ </SPAN> <SPAN class="link-top">
+ <%link_top%>
+ </SPAN> <SPAN class="link-pop">
+ <%link_pop%>
+ </SPAN> <SPAN class="link-new">
+ <%link_new%>
+ </SPAN>
+ <!-- link_path:show multiple paths, make them as links) -->
+ <%link_path:1,1%>
+ <SPAN class="link-desc">
+ <%link_desc%>
+ </SPAN> <A href="<%link_rate_link%>"><IMG src="<%link_rating_img%>" width="75" height="13" border="0"></A>
+ <BR>
+ <SPAN class="link-detail">
+ (<%language:lu_added%>: <%link_date%>,
+ <%link_modified_date%>
+ <%language:lu_hits%>: <%link_hits%>,
+ <%language:lu_rating%>: <%link_rating_txt%>,
+ <%language:lu_votes%>: <%link_votes%>,
+ <%language:lu_reviews%>: <%link_reviews%>) </SPAN> <BR>
+ <A href="<%link_review_link%>" class="link-review"><IMG src="images/icon2.gif" width="16" height="16" border="0" align="absmiddle">
+ <%language:lu_reviews%>
+ </A> <A href="<%link_rate_link%>" class="link-rate"><IMG src="images/icon1.gif" width="16" height="16" border="0" align="absmiddle">
+ <%language:lu_rateit%>
+ <A href="<%link_add_fav%>" class="link-modify"><IMG src="images/icon10.gif" width="16" height="16" border="0" align="absmiddle"> <%language:lu_add_to_fav%>
+</A>
+<A href="<%link_suggest_friend%>" class="link-div"><IMG src="images/icon7.gif" width="16" height="16" border="0" align="absmiddle"> <%language:lu_suggest_friend%>
+<%report_dead_link:1%>
+</A>
+ </A>
+ </LI>
+<BR><BR>
Property changes on: trunk/themes/inlink2/list_pick_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/reviews.tpl
===================================================================
--- trunk/themes/inlink2/reviews.tpl (nonexistent)
+++ trunk/themes/inlink2/reviews.tpl (revision 29)
@@ -0,0 +1,171 @@
+<%include:header%>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon20.gif" width="24" height="24" border="0" align="absmiddle">
+ <%language:lu_title_reviews%>
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+
+ <TR>
+ <TD colspan="2">
+ <B>
+ <A class="link" href="<%link_link%>">
+ <%link_name%></A></B>
+ <SPAN class="link-pick">
+ <%link_pick%>
+ </SPAN> <SPAN class="link-top">
+ <%link_top%>
+ </SPAN> <SPAN class="link-pop">
+ <%link_pop%>
+ </SPAN> <SPAN class="link-new">
+ <%link_new%>
+ </SPAN>
+
+ </TD>
+
+ </TR>
+
+ <TR class="cell2">
+ <TD> <B>
+ <%language:lu_desc%>:
+ </B>
+ </TD>
+ <TD>
+ <SPAN class="text">
+ <%link_desc%>
+ </SPAN>
+ </TD>
+ </TR>
+
+
+ <TR class="cell1">
+ <TD> <B>
+ <%language:lu_added%>:
+ </B>
+ </TD>
+ <TD>
+ <SPAN class="text">
+ <%link_date%>
+ </SPAN>
+ </TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD>
+ <B>
+ <%language:lu_hits%>:
+ </B>
+ </TD>
+ <TD>
+ <SPAN class="text">
+ <%link_hits%>
+ </SPAN>
+ </TD>
+ </TR>
+
+
+ <TR class="cell1" valign="top">
+ <TD>
+ <B>
+ <%language:lu_rating%>:
+ </B>
+ </TD>
+ <TD>
+ <SPAN class="text">
+ <%link_rating_txt%>
+ </SPAN>
+
+ <DIV align="right">
+ <A href="<%link_rate_link%>" class="floatbox-link">
+ <IMG src="images/icon1.gif" width="16" height="16" border="0" align="absmiddle">
+ <%language:lu_rating%>
+ <IMG src="images/arrow.gif" width="9" height="9" border="0"> </A>
+ </DIV>
+ </TD>
+ </TR>
+
+
+ <TR class="cell2">
+ <TD>
+ <B>
+ <%language:lu_votes%>:
+ </B>
+ </TD>
+ <TD>
+ <SPAN class="text">
+ <%link_votes%>
+ </SPAN>
+ </TD>
+ </TR>
+
+
+ <TR class="cell1" valign="top">
+ <TD>
+ <B>
+ <%language:lu_reviews%>:
+ </B>
+
+ </TD>
+ <TD>
+
+ <SPAN class="text">
+ <%link_reviews%>
+ </SPAN>
+
+
+ </TD>
+ </TR>
+
+</TABLE>
+
+
+<BR>
+
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR>
+ <TD class="stats"><B>
+ <%language:lu_reviews%>: </B>(<%insert_rev_count%>)
+ </TD>
+
+ </TR>
+</TABLE>
+
+<BR>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR class="text" width="100%">
+ <TD>
+ <UL>
+ <%insert_list_reviews%>
+ </UL>
+ </TD>
+ </TR>
+
+ <TR>
+ <TD align="right" width="100%">
+ <DIV align="right">
+ <A href="<%nav:add_review%>" class="floatbox-link">
+ <IMG src="images/icon2.gif" width="16" height="16" border="0" align="absmiddle">
+ <%language:lu_button_addreview%>
+ <IMG src="images/arrow.gif" width="9" height="9" border="0"> </A>
+ </DIV>
+ <TD>
+ <TR>
+
+
+
+
+</TABLE>
+
+<BR>
+
+
+
+<%include:box_search%>
+<%include:footer%>
Property changes on: trunk/themes/inlink2/reviews.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/details.tpl
===================================================================
--- trunk/themes/inlink2/details.tpl (nonexistent)
+++ trunk/themes/inlink2/details.tpl (revision 29)
@@ -0,0 +1,167 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="text">
+ <IMG src="images/ticon0.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_navbar _RootTemplate="index.tpl" _Template="sub_pages.tpl" _LinkCurrent="1" _LinkRoot="1" _Separator=" &gt; " /> &gt; <inp:m_language _Phrase="lu_link_details" /></TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon20.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_link_details" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+
+ <TR>
+ <TD colspan="2">
+ <B><a href="<inp:l_link_field _field="redirect" />" class="link"><inp:l_link_field _field="name" /></a></B>
+ <SPAN class="link-pick"><inp:l_link_field _field="pick"><inp:m_language _Phrase="lu_editors_pick" /></inp:l_link_field></SPAN>
+ <SPAN class="link-top"><inp:l_link_field _field="hot"><inp:m_language _Phrase="lu_hot" /></inp:l_link_field></SPAN>
+ <SPAN class="link-pop"><inp:l_link_field _field="pop"><inp:m_language _Phrase="lu_pop" /></inp:l_link_field></SPAN>
+ <SPAN class="link-new"><inp:l_link_field _field="new"><inp:m_language _Phrase="lu_new" /></inp:l_link_field></SPAN>
+ </TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD><B><inp:m_language _Phrase="lu_description" />:</B></TD>
+ <TD><SPAN class="text"><inp:l_link_field _field="description" /></SPAN></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD><B><inp:m_language _Phrase="lu_added" />:</B></TD>
+ <TD><SPAN class="text"><inp:l_link_field _field="date" /></SPAN></TD>
+ </TR>
+
+ <inp:l_link_field _Field="modified" >
+ <TR class="cell2">
+ <TD><B><inp:m_language _Phrase="lu_modified" />:</B></TD>
+ <TD><SPAN class="text"> <inp:l_link_field _Field="modified" /></SPAN></TD>
+ </TR>
+ </inp:l_link_field>
+
+ <TR class="cell1">
+ <TD><B><inp:m_language _Phrase="lu_hits" />:</B></TD>
+ <TD><SPAN class="text"><inp:l_link_field _field="hits" /></SPAN></TD>
+ </TR>
+
+
+ <TR class="cell2">
+ <TD nowrap><SPAN class="text"><B><inp:m_language _Phrase="lu_fieldcustom__lc1" />:</B></SPAN></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="custom" _customfield="lc1" /></SPAN></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD nowrap><SPAN class="text"><B><inp:m_language _Phrase="lu_fieldcustom__lc2" />:</B></SPAN></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="custom" _customfield="lc2" /></SPAN></TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD nowrap><SPAN class="text"><B><inp:m_language _Phrase="lu_fieldcustom__lc3" />: </B></SPAN></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="custom" _customfield="lc3" /></SPAN></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD nowrap><SPAN class="text"><B><inp:m_language _Phrase="lu_fieldcustom__lc4" />:</B></SPAN></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="custom" _customfield="lc4" /></SPAN></TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD nowrap><SPAN class="text"><B><inp:m_language _Phrase="lu_fieldcustom__lc5" />:</B></SPAN></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="custom" _customfield="lc5" /></SPAN></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD nowrap><SPAN class="text"><B><inp:m_language _Phrase="lu_fieldcustom__lc6" />:</B></SPAN></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="custom" _customfield="lc6" /></SPAN></TD>
+ </TR>
+
+
+ <!-- <inp:l_link_custom_fields _ItemTemplate="custom_field.tpl" _Default="default_value" _Table="1" _/> -->
+
+
+ <TR class="cell2" valign="top">
+ <TD><B><inp:m_language _Phrase="lu_rating" />:</B></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="rating" _DisplayMode="numerical" /></SPAN>
+ <DIV align="right">
+ <a href="<inp:l_link_field _field="link" _template="getrate.tpl" />" class="floatbox-link">
+ <IMG src="images/icon1.gif" width="16" height="16" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_rating" />
+ <IMG src="images/arrow.gif" width="9" height="9" border="0"> </A>
+ </DIV>
+ </TD>
+ </TR>
+
+
+ <TR class="cell1">
+ <TD><B><inp:m_language _Phrase="lu_votes" />:</B></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="votes" /></SPAN></TD>
+ </TR>
+
+
+ <TR class="cell2" valign="top">
+ <TD><B><inp:m_language _Phrase="lu_reviews" />:</B></TD>
+ <TD><SPAN class="text"><inp:l_link_field _Field="reviews" /></SPAN></TD>
+ </TR>
+
+</TABLE>
+
+
+<BR>
+
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR>
+ <TD class="stats"><B><inp:m_language _Phrase="lu_reviews" />: </B>(<inp:l_link_field _field="reviews" />)</TD>
+
+ </TR>
+</TABLE>
+
+<BR>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR class="text" width="100%">
+ <TD>
+ <UL>
+
+ <!-- review content -->
+ <table width="98%" border="0" cellspacing="0" cellpadding="0">
+ <TR><TD>
+ <inp:l_list_reviews _ShortList="1" _ReviewTemplate="list_reviews.tpl" />
+ </TD></TR>
+ <tr>
+ <td align="right" class="posts"><inp:l_review_more _Template="reviews.tpl" _Text="lu_more" /></td>
+ </tr>
+ </table>
+ <!-- end review content -->
+
+ </UL>
+ </TD>
+ </TR>
+
+ <TR>
+ <TD align="right" width="100%">
+ <DIV align="right">
+ <A href="<inp:m_template_link _Template="add_review.tpl" />" class="floatbox-link">
+ <IMG src="images/icon2.gif" width="16" height="16" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_add_review" />
+ <IMG src="images/arrow.gif" width="9" height="9" border="0"> </A>
+ </DIV>
+ <TD>
+ <TR>
+
+</TABLE>
+<BR>
+
+<inp:include _Template="box_search.tpl" />
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/details.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/modify.tpl
===================================================================
--- trunk/themes/inlink2/modify.tpl (nonexistent)
+++ trunk/themes/inlink2/modify.tpl (revision 29)
@@ -0,0 +1,74 @@
+<inp:include _Template="header.tpl" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon5.gif" width="24" height="24" border="0" align="absmiddle"> <inp:m_language _Phrase="lu_my_links" /></TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="text">
+
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR>
+ <TD>
+ <IMG src="images/icon8.gif" width="16" height="16" border="0" align="absmiddle">
+ <SPAN class="stats"><B><inp:m_language _Phrase="lu_my_links" /></B> <span>(<inp:l_list_count _ListType="myitems" _CatInfo="1" />)</span></h1><span class="statistics"><inp:m_language _Phrase="lu_added_today" />:&nbsp;<span>(<inp:m_itemcount _ItemType="Link" _ListType="myitems" _Owner="1" _Today="1" />)</SPAN></TD>
+
+ <FORM name="l_sort_links" method="POST" action="<inp:l_form_action _Form="l_sort_links"/>">
+
+ <TD class="small">
+ <DIV align="right">
+ <P>
+ <inp:m_language _Phrase="lu_show" />
+ <SELECT name="link_perpage" class="small">
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="10" _PlainText="10" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="20" _PlainText="20" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="50" _PlainText="50" />
+ </SELECT>
+ <inp:m_language _Phrase="lu_sort_by" />
+ <SELECT name="link_sort_field" class="small">
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Name" _LangText="lu_link_name" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedOn" _LangText="lu_date" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Description" _LangText="lu_field_description" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedById" _LangText="la_Text_Users" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Url" _LangText="lu_field_url" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedRating" _LangText="lu_rating" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedVotesQty" _LangText="lu_votes" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Hits" _LangText="lu_hits" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="EditorsPick" _LangText="lu_editors_pick" />
+ </SELECT>
+ <SELECT name="link_sort_order" class="small">
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="ASC" _LangText="lu_Ascending" />
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="DESC" _LangText="lu_Descending" />
+ </SELECT>
+ <INPUT type="hidden" name="start" value="0">
+ <INPUT type="submit" class="buttonsmall" value="<inp:m_language _Phrase="lu_button_go" />">
+ <A href="#"> </A> </P>
+ </DIV>
+ </TD>
+ </FORM>
+ </TR>
+ </TABLE>
+
+ <BR>
+ <UL>
+ <inp:l_list_links _ListType="myitems" _CatInfo="0" _ItemTemplate="edit_link/modify_link_element.tpl" />
+ </UL>
+ </TD>
+ </TR><TR>
+ <TD class="pagenav" align="right">
+ <inp:l_link_pagenav _ListType="myitems" _CatInfo="1" _Label="lu_page_label" />
+ </TD>
+ </TR>
+
+</TABLE>
+
+<BR>
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/modify.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/rate.tpl
===================================================================
--- trunk/themes/inlink2/rate.tpl (nonexistent)
+++ trunk/themes/inlink2/rate.tpl (revision 29)
@@ -0,0 +1,18 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon20.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_rate_link" />
+ </TD>
+ </TR>
+</TABLE>
+
+<inp:perm_include _Template="rate/rate_form.tpl" _noaccess="access_denied.tpl" _Permission="LINK.RATE" />
+
+<inp:include _Template="box_search.tpl" />
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/rate.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/pop.tpl
===================================================================
--- trunk/themes/inlink2/pop.tpl (nonexistent)
+++ trunk/themes/inlink2/pop.tpl (revision 29)
@@ -0,0 +1,74 @@
+<inp:include _Template="header.tpl" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon5.gif" width="24" height="24" border="0" align="absmiddle"> <inp:m_language _Phrase="lu_pop_links" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="text">
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR>
+ <TD>
+ <IMG src="images/icon8.gif" width="16" height="16" border="0" align="absmiddle">
+ <SPAN class="stats"><B><inp:m_language _Phrase="lu_links" /></B>(<inp:l_list_count _ListType="Pop" _ShortList="0" />)</SPAN></TD>
+
+ <FORM name="l_sort_links" method="POST" action="<inp:l_form_action _Form="l_sort_links"/>">
+
+ <TD class="small">
+ <DIV align="right">
+ <P>
+ <inp:m_language _Phrase="lu_show" />
+ <SELECT name="link_perpage" class="small">
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="10" _PlainText="10" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="20" _PlainText="20" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="50" _PlainText="50" />
+ </SELECT>
+ <inp:m_language _Phrase="lu_sort_by" />
+ <SELECT name="link_sort_field" class="small">
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Name" _LangText="lu_link_name" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedOn" _LangText="lu_date" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Description" _LangText="lu_field_description" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedById" _LangText="la_Text_Users" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Url" _LangText="lu_field_url" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedRating" _LangText="lu_rating" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedVotesQty" _LangText="lu_votes" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Hits" _LangText="lu_hits" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="EditorsPick" _LangText="lu_editors_pick" />
+ </SELECT>
+ <SELECT name="link_sort_order" class="small">
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="ASC" _LangText="lu_Ascending" />
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="DESC" _LangText="lu_Descending" />
+ </SELECT>
+ <INPUT type="hidden" name="start" value="0">
+ <INPUT type="submit" class="buttonsmall" value="<inp:m_language _Phrase="lu_button_go" />">
+ <A href="#"> </A> </P>
+ </DIV>
+ </TD>
+ </FORM>
+ </TR>
+ </TABLE>
+ <BR>
+ <UL>
+ <inp:l_list_links _ItemTemplate="list_feature_links.tpl" _ShortList="0" _ListType="Pop" />
+ </UL>
+ </TD>
+ </TR><TR>
+ <TD class="pagenav" align="right">
+ <inp:l_link_pagenav _Label="lu_page_label" _ShortList="0" _ListType="Pop" />
+ </TD>
+ </TR>
+</TABLE>
+
+<BR>
+
+<inp:include _Template="box_search.tpl" />
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/pop.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/profile.tpl
===================================================================
--- trunk/themes/inlink2/profile.tpl (nonexistent)
+++ trunk/themes/inlink2/profile.tpl (revision 29)
@@ -0,0 +1,107 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon15.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_view_profile" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+ <FORM method="POST" NAME="acctinfo" ACTION="<inp:m_form_action _Form="m_acctinfo" />">
+<!-- <FORM method="POST" NAME="register" ACTION="<inp:m_form_action _Form="m_acctinfo" _ConfirmTemplate="register/register_confirm.tpl" _NotAllowedTemplate="error.tpl" _PendingTemplate="register/register_pending.tpl" _LoginTemplate="index.tpl"/>">-->
+
+ <TR>
+ <TD colspan="2" valign="top" class="error"><inp:m_list_form_errors _Form="m_acctinfo" _ItemTemplate="form_error.tpl" /></SPAN></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_acctinfo" _Field="username" _langtext="lu_username" />&nbsp;<span class="error">*</span></TD>
+ <TD class="cell1"><inp:m_form_value _Form="m_acctinfo" _field="username" />
+ <inp:m_form_input type="hidden" class="input" _field="username" _Form="m_acctinfo" _Required="1" /></TD>
+ </TR>
+
+ <inp:m_autopassword _Value="false">
+ <TR>
+ <TD class="cell2"><inp:m_form_prompt _Form="m_acctinfo" _Field="password" _langtext="lu_password" />&nbsp;<span class="error">*</span></TD>
+ <TD class="cell2"><inp:m_form_input type="password" class="input" _field="password" _Form="m_acctinfo" _Required="1" style="width:135px;" /></TD>
+ </TR>
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_acctinfo" _Field="passwordverify" _langtext="lu_password_again" />&nbsp;<span class="error">*</span></TD>
+ <TD class="cell1"><inp:m_form_input type="password" class="input" _field="passwordverify" _Form="m_acctinfo" _Required="1" style="width:135px;" /></TD>
+ </TR>
+ </inp:m_autopassword>
+
+ <TR>
+ <TD class="cell2"><inp:m_form_prompt _Form="m_acctinfo" _Field="firstname" _langtext="lu_pp_firstname" />&nbsp;<span class="error">*</span></TD>
+ <TD class="cell2"><inp:m_form_input _field="firstname" _Form="m_acctinfo" _Required="1" type="text" class="input" style="width:135px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_acctinfo" _Field="lastname" _langtext="lu_pp_lastname" />&nbsp;<span class="error">*</span></TD>
+ <TD class="cell1"><inp:m_form_input _field="lastname" _Form="m_acctinfo" type="text" class="input" style="width:135px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell2"><inp:m_form_prompt _Form="m_acctinfo" _Field="phone" _langtext="lu_pp_phone" /></TD>
+ <TD class="cell2"><inp:m_form_input _field="phone" _Form="m_acctinfo" type="text" class="input" style="width:135px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_acctinfo" _Field="email" _langtext="lu_pp_email" />&nbsp;<span class="error">*</span></TD>
+ <TD class="cell1"><inp:m_form_input _field="email" _Required="1" _Form="m_acctinfo" type="text" class="input" style="width:135px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell2"><inp:m_form_prompt _Form="m_acctinfo" _Field="dob" _langtext="lu_pp_dob" /> <span class="error">*</span> (<inp:m_lang_dateformat />)</TD>
+ <TD class="cell2"><inp:include _Template="profile/myinfo_dob.tpl" /></TD>
+ </TR>
+
+
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_acctinfo" _Field="street" _langtext="lu_pp_street" /></TD>
+ <TD class="cell1"><inp:m_form_input _field="street" _Form="m_acctinfo" type="text" class="input" style="width:135px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell2"><inp:m_form_prompt _Form="m_acctinfo" _Field="phone" _langtext="lu_pp_city" /></TD>
+ <TD class="cell2"><inp:m_form_input _field="city" _Form="m_acctinfo" type="text" class="input" style="width:135px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_acctinfo" _Field="state" _langtext="lu_pp_state" /></TD>
+ <TD class="cell1"><inp:m_form_input _field="state" _Form="m_acctinfo" type="text" class="input" style="width:50px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell2"><inp:m_form_prompt _Form="m_acctinfo" _Field="zip" _langtext="lu_pp_zip" /></TD>
+ <TD class="cell2"><inp:m_form_input _field="zip" _Form="m_acctinfo" type="text" class="input" style="width:50px;" /></TD>
+ </TR>
+
+ <TR>
+ <TD class="cell1"><inp:m_form_prompt _Form="m_acctinfo" _Field="zip" _langtext="lu_pp_country" /></TD>
+ <TD class="cell1">
+ <SELECT name="country" class="input" style="width:135px;">
+ <inp:lang_include _Language="english" _Template="profile/english_countries.tpl" />
+ </SELECT></TD>
+ </TR>
+
+
+
+ <TR>
+ <TD valign="top" colspan="3" class="cell1">
+ <img src="img/s.gif" width="1" height="3" alt="" /><br />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_update" />" class="button">
+ <INPUT type="button" name="cancel" value="<inp:m_language _Phrase="lu_cancel" />" class="button" onClick="javascript:history.back();">
+ </TD>
+ </TR>
+
+ </FORM>
+ </TABLE>
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/profile.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/suggest_link/suggest_link_form.tpl
===================================================================
--- trunk/themes/inlink2/suggest_link/suggest_link_form.tpl (nonexistent)
+++ trunk/themes/inlink2/suggest_link/suggest_link_form.tpl (revision 29)
@@ -0,0 +1,45 @@
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+ <!-- suggest link content -->
+<FORM enctype="multipart/form-data" method="POST" NAME="addlink" ACTION="<inp:l_form_action _Form="addlink" _Confirm="suggest_link/suggest_confirm.tpl" _ConfirmPending="suggest_link/suggest_confirm_pending.tpl" _FinishTemplate="index" />">
+ <TR>
+ <TD class="error">
+ <inp:m_list_form_errors _Form="l_addlink" _ItemTemplate="misc/form_error.tpl" />
+ </TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD valign="top"><SPAN class="text"><inp:m_form_prompt _Form="l_addlink" _Field="name" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_prompt_linkname" /> <span class="error">*</span></SPAN></TD>
+ <TD><inp:m_form_input type="text" class="input" style="width:235px;" _field="name" _Form="l_addlink" _Required="1" /></TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD valign="top"><SPAN class="text"><inp:m_form_prompt _Form="l_addlink" _Field="url" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_prompt_linkurl" /> <span class="error">*</span></SPAN></TD>
+ <TD><inp:m_form_input type="text" class="input" _field="url" _Form="l_addlink" _Required="1" style="width:235px;" /></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD valign="top"><SPAN class="text"><inp:m_form_prompt _Form="l_addlink" _Field="description" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_prompt_linkdesc" /> <span class="error">*</span></SPAN></TD>
+ <TD><inp:m_form_textarea class="textarea" _field="description" _Form="l_addlink" _Required="1" COLS="50" ROWS="5" style="width:235px;" /></TD>
+ </TR>
+
+ <!--<TR class="cell2">
+ <TD valign="top"><SPAN class="text"><inp:m_form_prompt _Form="l_addlink" _Field="main_thumb" _langtext="lu_prompt_thumbnail" /></SPAN></TD>
+ <TD><inp:m_form_imageupload class="input" _field="main_thumb" _ImageName="main" _thumbnail="1" _Form="l_addlink" _Required="0" style="width:235px;" /></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD valign="top"><SPAN class="text"><inp:m_form_imageupload class="input" _field="main_thumb" _ImageName="main" _thumbnail="1" _Form="l_addlink" _Required="0" style="width:235px;" /></SPAN></TD>
+ <TD><inp:m_form_imageupload class="input" _field="main_full" _ImageName="main" _thumbnail="0" _Form="l_addlink" _Required="0" style="width:235px;" /></TD>
+ </TR>
+ -->
+
+ <TR class="cell2">
+ <TD valign="top" colspan="2">
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_suggest_link" />" class="button">
+ <INPUT type="button" name="cancel" value="<inp:m_language _Phrase="lu_cancel" />" class="button" onClick="javascript:history.back();">
+ </TD>
+ </TR>
+
+
+ </FORM>
+</TABLE>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/suggest_link/suggest_link_form.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/suggest_link/suggest_confirm_pending.tpl
===================================================================
--- trunk/themes/inlink2/suggest_link/suggest_confirm_pending.tpl (nonexistent)
+++ trunk/themes/inlink2/suggest_link/suggest_confirm_pending.tpl (revision 29)
@@ -0,0 +1,33 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon8.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_addlink_confirm_pending" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM method="POST" NAME="addlink_confirm" ACTION="<inp:l_form_action _Form="addlink_confirm" />">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_addlink_confirm_pending_text" />
+ </SPAN>
+ </P>
+ <BR />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+
+
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/suggest_link/suggest_confirm_pending.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/suggest_link/suggest_confirm.tpl
===================================================================
--- trunk/themes/inlink2/suggest_link/suggest_confirm.tpl (nonexistent)
+++ trunk/themes/inlink2/suggest_link/suggest_confirm.tpl (revision 29)
@@ -0,0 +1,33 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon8.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_addlink_confirm" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM method="POST" NAME="addlink_confirm" ACTION="<inp:l_form_action _Form="addlink_confirm" />">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_addlink_confirm_text" />
+ </SPAN>
+ </P>
+ <BR />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+
+
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/suggest_link/suggest_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/site_map.tpl
===================================================================
--- trunk/themes/inlink2/site_map.tpl (nonexistent)
+++ trunk/themes/inlink2/site_map.tpl (revision 29)
@@ -0,0 +1,23 @@
+<%include:header%>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="navbar">
+ <IMG src="images/ticon0.gif" width="24" height="24" border="0" align="absmiddle">
+ <%insert_navbar%></TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD>
+ <!-- 1: num. columns; 2: cats levels deep (-1 for all); 3 - start new colomn with TOP cat (1-Y/0-N) -->
+ <%insert_site_map%>
+ </TD>
+ </TR>
+</TABLE>
+
+<BR>
+
+<%include:box_search%>
+<%include:footer%>
Property changes on: trunk/themes/inlink2/site_map.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/top.tpl
===================================================================
--- trunk/themes/inlink2/top.tpl (nonexistent)
+++ trunk/themes/inlink2/top.tpl (revision 29)
@@ -0,0 +1,74 @@
+<inp:include _Template="header.tpl" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon5.gif" width="24" height="24" border="0" align="absmiddle"> <inp:m_language _Phrase="lu_hot_links" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="text">
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR>
+ <TD>
+ <IMG src="images/icon8.gif" width="16" height="16" border="0" align="absmiddle">
+ <SPAN class="stats"><B><inp:m_language _Phrase="lu_links" /></B>(<inp:l_list_count _ListType="Hot" _ShortList="0" />)</SPAN></TD>
+
+ <FORM name="l_sort_links" method="POST" action="<inp:l_form_action _Form="l_sort_links"/>">
+
+ <TD class="small">
+ <DIV align="right">
+ <P>
+ <inp:m_language _Phrase="lu_show" />
+ <SELECT name="link_perpage" class="small">
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="10" _PlainText="10" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="20" _PlainText="20" />
+ <inp:m_form_option _Field="link_perpage" _Form="l_sort_links" _value="50" _PlainText="50" />
+ </SELECT>
+ <inp:m_language _Phrase="lu_sort_by" />
+ <SELECT name="link_sort_field" class="small">
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Name" _LangText="lu_link_name" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedOn" _LangText="lu_date" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Description" _LangText="lu_field_description" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CreatedById" _LangText="la_Text_Users" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Url" _LangText="lu_field_url" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedRating" _LangText="lu_rating" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="CachedVotesQty" _LangText="lu_votes" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="Hits" _LangText="lu_hits" />
+ <inp:m_form_option _Field="link_sort_field" _Form="l_sort_links" _value="EditorsPick" _LangText="lu_editors_pick" />
+ </SELECT>
+ <SELECT name="link_sort_order" class="small">
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="ASC" _LangText="lu_Ascending" />
+ <inp:m_form_option _Field="link_sort_order" _Form="l_sort_links" _value="DESC" _LangText="lu_Descending" />
+ </SELECT>
+ <INPUT type="hidden" name="start" value="0">
+ <INPUT type="submit" class="buttonsmall" value="<inp:m_language _Phrase="lu_button_go" />">
+ <A href="#"> </A> </P>
+ </DIV>
+ </TD>
+ </FORM>
+ </TR>
+ </TABLE>
+ <BR>
+ <UL>
+ <inp:l_list_links _ItemTemplate="list_feature_links.tpl" _ShortList="0" _ListType="Hot" />
+ </UL>
+ </TD>
+ </TR><TR>
+ <TD class="pagenav" align="right">
+ <inp:l_link_pagenav _Label="lu_page_label" _ShortList="0" _ListType="Hot" />
+ </TD>
+ </TR>
+</TABLE>
+
+<BR>
+
+<inp:include _Template="box_search.tpl" />
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/top.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/modify_link.tpl
===================================================================
--- trunk/themes/inlink2/modify_link.tpl (nonexistent)
+++ trunk/themes/inlink2/modify_link.tpl (revision 29)
@@ -0,0 +1,14 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon18.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_modify_link" />
+ </TD>
+ </TR>
+</TABLE>
+
+<inp:perm_include _Template="edit_link/modify_link_form.tpl" _NoAccess="access_denied.tpl" _Permission="LINK.ADD,LINK.ADD.PENDING" />
+
+<inp:include _Template="footer.tpl" />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/modify_link.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/edit_link/modify_confirm.tpl
===================================================================
--- trunk/themes/inlink2/edit_link/modify_confirm.tpl (nonexistent)
+++ trunk/themes/inlink2/edit_link/modify_confirm.tpl (revision 29)
@@ -0,0 +1,33 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon8.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_modifylink_confirm" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM method="POST" NAME="editlink_confirm" ACTION="<inp:l_form_action _Form="editlink_confirm" />">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_modifylink_confirm_text" />
+ </SPAN>
+ </P>
+ <BR />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+
+
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
Property changes on: trunk/themes/inlink2/edit_link/modify_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/edit_link/modify_link_form.tpl
===================================================================
--- trunk/themes/inlink2/edit_link/modify_link_form.tpl (nonexistent)
+++ trunk/themes/inlink2/edit_link/modify_link_form.tpl (revision 29)
@@ -0,0 +1,45 @@
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+ <!-- suggest link content -->
+<FORM enctype="multipart/form-data" method="POST" NAME="editlink" ACTION="<inp:l_form_action _Form="editlink" _Confirm="edit_link/modify_confirm.tpl" _ConfirmPending="edit_link/modify_confirm_pending.tpl" _FinishTemplate="index" />">
+ <TR>
+ <TD class="error">
+ <inp:m_list_form_errors _Form="editlink" _ItemTemplate="misc/form_error.tpl" />
+ </TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD valign="top"><SPAN class="text"><inp:m_form_prompt _Form="editlink" _Field="name" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_prompt_linkname" /> <span class="error">*</span></SPAN></TD>
+ <TD><inp:m_form_input type="text" class="input" style="width:235px;" _field="name" _Form="editlink" _Required="1" /></TD>
+ </TR>
+
+ <TR class="cell2">
+ <TD valign="top"><SPAN class="text"><inp:m_form_prompt _Form="editlink" _Field="url" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_prompt_linkurl" /> <span class="error">*</span></SPAN></TD>
+ <TD><inp:m_form_input type="text" class="input" _field="url" _Form="editlink" _Required="1" style="width:235px;" /></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD valign="top"><SPAN class="text"><inp:m_form_prompt _Form="editlink" _Field="description" _Template="misc/form_prompt.tpl" _ErrorTemplate="misc/form_prompt_error.tpl" _langtext="lu_prompt_linkdesc" /> <span class="error">*</span></SPAN></TD>
+ <TD><inp:m_form_textarea class="textarea" _field="description" _Form="editlink" _Required="1" COLS="50" ROWS="5" style="width:235px;" /></TD>
+ </TR>
+
+ <!--<TR class="cell2">
+ <TD valign="top"><SPAN class="text"><inp:m_form_prompt _Form="editlink" _Field="main_thumb" _langtext="lu_prompt_thumbnail" /></SPAN></TD>
+ <TD><inp:m_form_imageupload class="input" _field="main_thumb" _ImageName="main" _thumbnail="1" _Form="editlink" _Required="0" style="width:235px;" /></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD valign="top"><SPAN class="text"><inp:m_form_imageupload class="input" _field="main_thumb" _ImageName="main" _thumbnail="1" _Form="editlink" _Required="0" style="width:235px;" /></SPAN></TD>
+ <TD><inp:m_form_imageupload class="input" _field="main_full" _ImageName="main" _thumbnail="0" _Form="editlink" _Required="0" style="width:235px;" /></TD>
+ </TR>
+ -->
+
+ <TR class="cell2">
+ <TD valign="top" colspan="2">
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_modify_link" />" class="button">
+ <INPUT type="button" name="cancel" value="<inp:m_language _Phrase="lu_cancel" />" class="button" onClick="javascript:history.back();">
+ </TD>
+ </TR>
+
+
+ </FORM>
+</TABLE>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/edit_link/modify_link_form.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/edit_link/modify_confirm_pending.tpl
===================================================================
--- trunk/themes/inlink2/edit_link/modify_confirm_pending.tpl (nonexistent)
+++ trunk/themes/inlink2/edit_link/modify_confirm_pending.tpl (revision 29)
@@ -0,0 +1,33 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon8.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_modifylink_pending_confirm" />
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+<FORM method="POST" NAME="editlink_confirm" ACTION="<inp:l_form_action _Form="editlink_confirm" />">
+ <TR>
+ <TD align="center" class="cell1">
+ <BR>
+ <P align="center">
+ <SPAN>
+ <inp:m_language _Phrase="lu_modifylink_pending_confirm_text" />
+ </SPAN>
+ </P>
+ <BR />
+ <INPUT type="submit" name="buttons[]" value="<inp:m_language _Phrase="lu_button_ok" />" class="button">
+
+
+ </TD>
+ </TR>
+</TABLE>
+</FORM>
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/edit_link/modify_confirm_pending.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/edit_link/modify_link_element.tpl
===================================================================
--- trunk/themes/inlink2/edit_link/modify_link_element.tpl (nonexistent)
+++ trunk/themes/inlink2/edit_link/modify_link_element.tpl (revision 29)
@@ -0,0 +1,48 @@
+<LI>
+<a class="link" href="<inp:link _field="redirect" />"><inp:link _field="name" /></a>
+
+<br /><span class="comments"><inp:m_language _Phrase="lu_category" />:</span> <span class="tips">
+ <a href="<inp:link _field="cat_link" _Template="index" />" class="tips"><inp:link _field="fullpath" /></a></span>
+
+<SPAN class="link-pick"><inp:link _field="pick"><inp:m_language _Phrase="lu_editors_pick" /></inp:link></SPAN>
+<SPAN class="link-top"><inp:link _field="hot"><inp:m_language _Phrase="lu_hot" /></inp:link></SPAN>
+<SPAN class="link-pop"><inp:link _field="pop"><inp:m_language _Phrase="lu_pop" /></inp:link></SPAN>
+<SPAN class="link-new"><inp:link _field="new"><inp:m_language _Phrase="lu_new" /></inp:link></SPAN>
+
+<SPAN class="link-desc"> - <inp:link _field="description" /></SPAN>
+
+<inp:link _Field="rating" _DisplayMode="graphical" _OffImage="images/star.gif" _OnImage="images/star_rate.gif" />
+<BR />
+
+<SPAN class="link-detail">
+(<inp:m_language _Phrase="lu_added" />: <inp:link _field="date" />
+<inp:link _Field="modified">, <inp:m_language _Phrase="lu_modified" />: <inp:link _Field="modified" /></inp:link>
+, <inp:m_language _Phrase="lu_hits" />: <inp:link _field="hits" />
+, <inp:m_language _Phrase="lu_rating" />: <inp:link _Field="rating" _DisplayMode="numerical" />
+, <inp:m_language _Phrase="lu_votes" />: <inp:link _Field="votes" />
+, <inp:m_language _Phrase="lu_reviews" />: <inp:link _Field="reviews" />
+<inp:link _Field="expire" _DateNotSet="1" >, <inp:m_language _Phrase="lu_expires" />: <inp:link _Field="expire" _NoExpireLabel="lu_no_expiration" /></inp:link>)
+</SPAN>
+
+<BR>
+
+<A href="<inp:link _field="link" _template="reviews.tpl" />" class="link-review"><IMG src="images/icon2.gif" width="16" height="16" border="0" align="absmiddle">&nbsp;<inp:m_language _Phrase="lu_reviews" /></A>
+<A href="<inp:link _field="link" _Template="getrate.tpl" />" class="link-rate"><IMG src="images/icon1.gif" width="16" height="16" border="0" align="absmiddle">&nbsp;<inp:m_language _Phrase="lu_rateit" /></A>
+
+<inp:link _field="delete_link" >
+ <a href="<inp:link _field="delete_link" _template="misc/delete_confirm.tpl" />" class="link-modify">
+ <IMG src="images/icon10.gif" width="16" height="16" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_delete" /></a>
+</inp:link>
+
+<inp:link _field="edit_link" >
+ <a href="<inp:link _field="edit_link" _template="modify_link.tpl" />" class="link-modify">
+ <IMG src="images/icon10.gif" width="16" height="16" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_edit" /></a>
+</inp:link>
+
+<A href="<inp:link _field="link" _template="details.tpl" />" class="link-review">
+<img src="images/icon7.gif" width="16" height="16" alt="" border="0" align="absmiddle" />&nbsp;<inp:m_language _Phrase="lu_details" /></a>
+
+</LI>
+<BR /><BR />
\ No newline at end of file
Property changes on: trunk/themes/inlink2/edit_link/modify_link_element.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/relevance/0.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/relevance/0.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/relevance/1.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/relevance/1.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/relevance/10.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/relevance/10.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/relevance/2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/relevance/2.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/relevance/3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/relevance/3.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/relevance/4.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/relevance/4.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/relevance/5.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/relevance/5.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/relevance/6.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/relevance/6.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/relevance/7.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/relevance/7.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/relevance/8.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/relevance/8.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/relevance/9.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/themes/inlink2/relevance/9.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/themes/inlink2/sub_pages.tpl
===================================================================
--- trunk/themes/inlink2/sub_pages.tpl (nonexistent)
+++ trunk/themes/inlink2/sub_pages.tpl (revision 29)
@@ -0,0 +1,26 @@
+<inp:include _Template="header.tpl" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="navbar">
+ <IMG src="images/ticon0.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_navbar _RootTemplate="index" _LinkCurrent="1" _Separator=" &gt; " /></TD>
+ </TR>
+</TABLE>
+
+<inp:include _Template="show_cats.tpl" _DataExists="1" />
+
+<!-- related categories -->
+<inp:include _Template="show_related_cats.tpl" _DataExists="1" />
+<!-- end categories -->
+
+<inp:perm_include _Module="In-Link" _Template="show_links.tpl" _DataExists="0" />
+
+<BR>
+
+<inp:include _Template="box_search.tpl" />
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/sub_pages.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/suggest_cat.tpl
===================================================================
--- trunk/themes/inlink2/suggest_cat.tpl (nonexistent)
+++ trunk/themes/inlink2/suggest_cat.tpl (revision 29)
@@ -0,0 +1,17 @@
+<inp:include _Template="header" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon18.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_suggest_category" />
+ </TD>
+ </TR>
+</TABLE>
+
+<inp:perm_include _Template="suggest_cat/suggest_cat_form.tpl" _noaccess="access_denied.tpl" _Permission="CATEGORY.ADD,CATEGORY.ADD.PENDING" />
+
+<inp:include _Template="footer.tpl" />
+
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/suggest_cat.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/access_denied.tpl
===================================================================
--- trunk/themes/inlink2/access_denied.tpl (nonexistent)
+++ trunk/themes/inlink2/access_denied.tpl (revision 29)
@@ -0,0 +1,12 @@
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD align="center">
+ <SPAN CLASS="error" align="center"><inp:m_language _Phrase="lu_access_denied" /></SPAN>
+ <BR />
+ <inp:perm_include _Permission="login" _Template="" _NoAccess="login/login.tpl" _supresserror="1" />
+<BR />
+ <P align="center">
+<INPUT type="button" name="Back" value="<inp:m_language _Phrase="lu_back" />" class="button" onClick="javascript:history.back();">
+ </TD>
+ </TR>
+</TABLE>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/access_denied.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/dead_link.tpl
===================================================================
--- trunk/themes/inlink2/dead_link.tpl (nonexistent)
+++ trunk/themes/inlink2/dead_link.tpl (revision 29)
@@ -0,0 +1,94 @@
+<%include:header%>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title">
+ <IMG src="images/ticon19.gif" width="24" height="24" border="0" align="absmiddle">
+ <%language:lu_report_dead%>
+ </TD>
+ </TR>
+</TABLE>
+
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center">
+
+ <TR><TD colspan="2">
+ <B><A class="link" href="<%link_link%>"><%link_name%></A></B>
+ <SPAN class="link-pick"><%link_pick%></SPAN>
+ <SPAN class="link-top"><%link_top%></SPAN>
+ <SPAN class="link-pop"><%link_pop%></SPAN>
+ <SPAN class="link-new"><%link_new%></SPAN></TD>
+ </TR>
+
+ <TR class="cell2" nowrap>
+ <TD valign="top"><B><%language:lu_link_categories%>:</B></TD>
+ <TD><SPAN class="text"><%insert_link_category_list%></SPAN></TD>
+ </TR>
+
+ <TR class="cell1" nowrap>
+ <TD><B><%language:lu_desc%>:</B></TD>
+ <TD><SPAN class="text"><%link_desc%></SPAN></TD>
+ </TR>
+
+ <TR class="cell2" nowrap>
+ <TD><B><%language:lu_added%>:</B></TD>
+ <TD><SPAN class="text"><%link_date%></SPAN></TD>
+ </TR>
+
+ <%insert_modification_date%>
+
+ <TR class="cell1" nowrap>
+ <TD><B><%language:lu_hits%>:</B></TD>
+ <TD><SPAN class="text"><%link_hits%></SPAN></TD>
+ </TR>
+
+ <%insert_selected_custom_fields:1%>
+
+ <TR class="cell2" valign="top">
+ <TD><B><%language:lu_rating%>:</B></TD>
+ <TD><SPAN class="text"><%link_rating_txt%></SPAN></TD>
+ </TR>
+
+ <TR class="cell1">
+ <TD><B><%language:lu_votes%>:</B></TD>
+ <TD><SPAN class="text"><%link_votes%></SPAN></TD>
+ </TR>
+
+ <TR class="cell2" valign="top">
+ <TD><B><%language:lu_reviews%>:</B></TD>
+ <TD><SPAN class="text"><%link_reviews%></SPAN></TD>
+ </TR>
+
+</TABLE>
+<BR>
+<TABLE width="760" border="0" cellspacing="0" cellpadding="4" align="center" bgcolor="#F7F7FF">
+<FORM name="<%form_action_report_dead_link%>" action="../../action.php?link_id=<%link_id%>" method="POST">
+ <TR>
+ <TD class="text" nowrap><B><%language:lu_dead_type%> </B></TD>
+ <TD class="text">
+ <SELECT name="<%form_input_report_dead_link_reason%>">
+ <OPTION value="<%language:lu_dead_site_not_found%>">
+ <%language:lu_dead_site_not_found%></OPTION>
+ <OPTION value="<%language:lu_dead_wrong_category%>">
+ <%language:lu_dead_wrong_category%></OPTION>
+ <OPTION value="<%language:lu_dead_other%>">
+ <%language:lu_dead_other%></OPTION>
+ </SELECT></TD>
+ </TR>
+ <TR>
+ <TD nowrap class="text" valign="top"><B><%language:lu_dead_comments%>: </B></TD>
+ <TD class="text">
+ <TEXTAREA name="<%form_input_report_dead_link_comment%>" cols="50" rows="5" class="text" value=""></TEXTAREA></TD>
+ </TR>
+ <INPUT type="hidden" name="action" value="dead">
+ <TR>
+ <TD colspan="2" class="text" valign="top">
+ <INPUT type="submit" class="button" name="submit" value="<%language:lu_button_report_dead%>"> &nbsp;&nbsp;<INPUT class="button" type="button" name="cancel" value="<%language:lu_button_cancel%>" onClick="history.back();"></TD>
+ </TR>
+
+ </FORM>
+</TABLE>
+
+<BR>
+
+<%include:box_search%>
+<%include:footer%>
Property changes on: trunk/themes/inlink2/dead_link.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/display_search_results.tpl
===================================================================
--- trunk/themes/inlink2/display_search_results.tpl (nonexistent)
+++ trunk/themes/inlink2/display_search_results.tpl (revision 29)
@@ -0,0 +1,52 @@
+<inp:include _Template="header.tpl" />
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="2" align="center">
+ <TR>
+ <TD class="title"> <IMG src="images/ticon12.gif" width="24" height="24" border="0" align="absmiddle">
+ <inp:m_language _Phrase="lu_search_results" /></TD>
+ </TR>
+</TABLE>
+
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR><TD><inp:m_language _Phrase="lu_searched_for" /></td>
+ <td>
+ <FORM method="POST" NAME="search" ACTION="<inp:m_form_action _form="m_simple_subsearch" _Template="display_search_results.tpl" />">
+ <INPUT type="text" name="keywords" value="<inp:m_form_value _form="m_simple_subsearch" _field="keywords" />" class="input" style="width: 235px;">&nbsp;
+ <INPUT type="submit" name="search" value="<inp:m_language _Phrase="lu_search_within" />" class="button"></td>
+ </FORM>
+ </TD>
+ </tr>
+</table>
+
+<TABLE width="760" border="0" cellspacing="1" cellpadding="1" align="center">
+ <TR>
+ <TD class="text">
+ <TABLE width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#F7F7FF">
+ <TR>
+ <TD><inp:m_language _Phrase="lu_found" /></td>
+ <td>
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <inp:include _Template="search_results/search_count.tpl" />
+ </tr>
+ </table>
+ </TD>
+ </tr>
+ <tr>
+ <td colspan="2" class="error"><inp:m_list_form_errors _Form="m_simplesearch" _ItemTemplate="misc/form_error.tpl" /></td>
+ </tr>
+ <TABLE>
+</td>
+</tr>
+</table>
+
+<inp:include _Template="search_results/cat_search_results.tpl" _DataExists="1" />
+
+<inp:include _Template="search_results/link_search_results.tpl" _DataExists="1" />
+
+<BR>
+
+<inp:include _Template="box_search.tpl" />
+<inp:include _Template="footer.tpl" />
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/display_search_results.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/box_search.tpl
===================================================================
--- trunk/themes/inlink2/box_search.tpl (nonexistent)
+++ trunk/themes/inlink2/box_search.tpl (revision 29)
@@ -0,0 +1,29 @@
+<TABLE width="760" border="0" cellspacing="0" cellpadding="3" class="search-table" align="center">
+ <FORM method="POST" NAME="search" ACTION="<inp:m_form_action _form="m_simplesearch" _Template="display_search_results.tpl" />">
+ <TR>
+ <TD class="subtitle" colspan="5">
+ <IMG src="images/icon3.gif" border="0" align="absmiddle" width="16" height="16"> <inp:m_language _Phrase="lu_search" /></TD>
+ </TR>
+ <TR>
+ <TD width="10%" valign="middle" nowrap><SPAN class="search-field-lable">
+ <inp:m_language _Phrase="lu_keyword" /></SPAN> </TD>
+ <TD width="*" valign="middle">
+ <INPUT type="hidden" name="current_cat_id" value="">
+
+ <INPUT type="text" name="keywords" value="<inp:m_form_value _form="m_simple_subsearch" _field="keywords" />" class="text">&nbsp;
+ <INPUT type="submit" name="search" value="<inp:m_language _Phrase="lu_search" />" class="button"></td>
+ </TD>
+ <!--
+ <TD width="10%" valign="middle" nowrap><SPAN class="search-field-lable">
+ <inp:m_language _Phrase="lu_searched_for" /></SPAN></TD>
+ <TD width="*" valign="middle"> -->
+
+ </TD>
+ <TD width="20% valign="middle" align="right">
+ <a href="<inp:m_template_link _Template="search_advanced_links.tpl" _Query="type=4&Action=m_adv_search" />" class="search-advanced">
+ <inp:m_language _Phrase="lu_advanced_search_link" />
+ <IMG src="images/icon9.gif" width="16" height="16" border="0" align="absmiddle"></A>
+ </TD>
+ </TR>
+ </FORM>
+</TABLE>
Property changes on: trunk/themes/inlink2/box_search.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/themes/inlink2/add_link_cats.tpl
===================================================================
--- trunk/themes/inlink2/add_link_cats.tpl (nonexistent)
+++ trunk/themes/inlink2/add_link_cats.tpl (revision 29)
@@ -0,0 +1,10 @@
+<TR bgcolor="#F6F6F6">
+ <TD valign="top"><SPAN class="text"><%language:lu_submitting_to%></SPAN></TD>
+
+ <TD><SPAN class="text"><B><%add_link_cat_name%></B></SPAN></TD>
+
+ <TD class="error">
+ <INPUT type="submit" name="<%form_button_add_link_cats_delcat%>" value="<%language:lu_remove%>" class="button">
+ </TD>
+
+</TR>
\ No newline at end of file
Property changes on: trunk/themes/inlink2/add_link_cats.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property

Event Timeline