first commit

This commit is contained in:
BACHIR SOULDI
2025-09-28 08:49:37 +01:00
commit 2794e62571
16819 changed files with 2664196 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
{include file="modules/Mobile/generic/Header.tpl"}
<body>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr class="toolbar">
<td width="5%">
<a class="link" href="javascript:history.back();"><img src="resources/images/iconza/royalblue/left_arrow_16x16.png" border="0"></a>
</td>
<td width="90%" align="left"><h1 class='page_title'>{$_MODULE->label()}</h1></td>
<td width="5%" align="right" nowrap="nowrap">
<!-- a class="link" href="javascript:void(0);"><img src="resources/images/iconza/royalblue/edit_24x24.png" border="0"></a -->
<!-- a class="link" href="javascript:confirm('Delete Record');"><img src="resources/images/iconza/yellow/delete_24x24.png" border="0"></a -->
</td>
</tr>
<tr>
<td colspan="3">
<table width=100% cellpadding=5 cellspacing=0 border=0 class="table_detail">
{foreach item=_BLOCK key=_BLOCKLABEL from=$_RECORD->blocks()}
{assign var=_FIELDS value=$_BLOCK->fields()}
{if !empty($_FIELDS)}
<tr>
<td colspan=2 class="hdrlabel">{$_BLOCKLABEL}</td>
</tr>
{/if}
{foreach item=_FIELD from=$_FIELDS}
<tr>
<th class="label" nowrap="nowrap" width="10%" valign="top">{$_FIELD->label()}</th>
<td class="data">
{if $_FIELD->isReferenceType()}
<a style="display:inline;" href="index.php?_operation=fetchRecordWithGrouping&record={$_FIELD->value()}">{$_FIELD->valueLabel()}</a>
{else}
{$_FIELD->valueLabel()}
{/if}
</td>
</tr>
{/foreach}
{/foreach}
</table>
</td>
</tr>
</table>
</body>
{include file="modules/Mobile/generic/Footer.tpl"}

View File

@@ -0,0 +1,31 @@
{include file="modules/Mobile/generic/Header.tpl"}
<body>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td>
<h1 class='page_title'>vtiger CRM</h1>
</td>
</tr>
<tr>
<td>
<form method="post" action="index.php?_operation=loginAndFetchModules">
<table width=100% cellpadding=5 cellspacing=0 border=0 class="panel_login">
<tr>
<td colspan="2">
<p class='error'>{$errormsg}</p>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>
{include file="modules/Mobile/generic/Footer.tpl"}

View File

@@ -0,0 +1 @@
</html>

View File

@@ -0,0 +1,20 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="resources/images/appicon.jpg" rel="apple-touch-icon" />
{if $IS_SAFARI}
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
{/if}
<title>{if $TITLE}{$TITLE}{else}vtiger CRM Mobile{/if}</title>
<link rel="stylesheet" type="text/css" href="resources/skins/{$SKIN}" />
<script type="text/javascript" src="Mobile.js"></script>
</head>

View File

@@ -0,0 +1,81 @@
{include file="modules/Mobile/generic/Header.tpl"}
<body>
<div id="__homebox__">
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr class="toolbar">
<td align="left"><a class="link" href="index.php?_operation=logout" target="_self"><img src="resources/images/iconza/yellow/logout_32x32.png" border="0"></a></td>
<td width="100%"><h1 class='page_title'>{$TITLE}</h1></td>
<td align="right"><a class="link" href="javascript:void(0);" xonclick="$fnT('__homebox__','__settingsbox__');" target="_self"><img src="resources/images/iconza/yellow/user_32x32.png" border="0"></a></td>
</tr>
<tr>
<td colspan="3">
<table width=100% cellpadding=0 cellspacing=0 border=0 class="table_list">
{foreach item=_MODULE from=$_MODULES}
<tr>
<td width="100%">
<a href="index.php?_operation=listModuleRecords&module={$_MODULE->name()}" target="_blank">{$_MODULE->label()}</a>
</td>
<td>
<a href="index.php?_operation=listModuleRecords&module={$_MODULE->name()}" target="_blank" class="link_rhook"><img src="resources/images/iconza/royalblue/right_arrow_16x16.png" border="0"></a>
</td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
</div>
<div id="__settingsbox__" style='display:none;'>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr class="toolbar">
<td>&nbsp;</td>
<td width="100%">
<h1 class='page_title'>
My Settings
</h1>
</td>
<td align="right" style="padding-right: 5px;"><a class="link" href="javascript:void(0);" onclick="$fnT('__settingsbox__','__homebox__');"><img src="resources/images/iconza/yellow/delete_32x32.png" border="0"></a></td>
</tr>
<tr>
<td colspan=3>
<form action="index.php" method="GET">
<table width=100% cellpadding=5 cellspacing=0 border=0>
<tr>
<td width="20px" nowrap="nowrap">
Select Skin
</td>
<td>
<select name="skin" onchange="this.form.submit();">
{foreach item=_SKINVALUE key=_SKINKEY from=$_ALLSKINS}
<option value="{$_SKINKEY}" {if $_SKINKEY eq $_SELSKIN}selected=true{/if}>{$_SKINVALUE}</option>
{/foreach}
</select>
<input type="hidden" name="action" value="Settings"/>
<input type="hidden" name="mode" value="reset_skin"/>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</div>
</body>
{include file="modules/Mobile/generic/Footer.tpl"}

View File

@@ -0,0 +1,97 @@
{include file="modules/Mobile/generic/Header.tpl"}
<body>
<div id="__listview__" {if $_MODE eq 'search'}style='display:none;'{/if}>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr class="toolbar">
<td><a class="link" href="javascript:window.close();"><img src="resources/images/iconza/royalblue/undo_32x32.png" border="0"></a></td>
<td width="100%">
<h1 class='page_title'>
{if $_PAGER && $_PAGER->hasPrevious()}
<a class="link" href="?_operation=listModuleRecords&module={$_MODULE->name()}&page={$_PAGER->previous()}&search={$_SEARCH}"><img src="resources/images/iconza/yellow/left_arrow_24x24.png" border="0"></a>
{else}
<a class="link" href="javascript:void(0);"><img src="resources/images/iconza/white/left_arrow_24x24.png" border="0"></a>
{/if}
{$_MODULE->label()}
{if $_PAGER && $_PAGER->hasNext(count($_RECORDS))}
<a class="link" href="?_operation=listModuleRecords&module={$_MODULE->name()}&page={$_PAGER->next()}&search={$_SEARCH}"><img src="resources/images/iconza/yellow/right_arrow_24x24.png" border="0"></a>
{else}
<a class="link" href="javascript:void(0);"><img src="resources/images/iconza/white/right_arrow_24x24.png" border="0"></a>
{/if}
</h1>
</td>
<td align="right" style="padding-right: 5px;"><a class="link" href="javascript:void(0);" onclick="$fnT('__listview__', '__searchbox__'); $fnFocus('__searchbox__q_');" target="_self"><img src="resources/images/iconza/yellow/lens_32x32.png" border="0"></a></td>
</tr>
<tr>
<td colspan="3">
<table width=100% cellpadding=0 cellspacing=0 border=0 class="table_list">
{foreach item=_RECORD from=$_RECORDS}
<tr>
<td width="100%">
<a href="?_operation=fetchRecordWithGrouping&record={$_RECORD->id()}" target="_self">{$_RECORD->label()}</a>
</td>
<td>
<a href="?_operation=fetchRecordWithGrouping&record={$_RECORD->id()}" target="_self" class="link_rhook"><img src="resources/images/iconza/royalblue/right_arrow_16x16.png" border="0"></a>
</td>
</tr>
{foreachelse}
<tr class="info">
<td width=25% align="right">
<img src="resources/images/iconza/royalblue/info_24x24.png" border=0 />
</td>
<td width=100% align="left" valign="center">
{if $_PAGER->hasPrevious()}
<p>No more records found.</p>
{else}
<p>No records available.</p>
{/if}
</td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
</div>
<div id="__searchbox__" {if $_MODE neq 'search'}style='display:none;'{/if}>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr class="toolbar">
<td><a class="link" href="?_operation=searchConfig&module={$_MODULE->name()}" target="_self"><img src="resources/images/iconza/yellow/wrench_32x32.png" border="0"></a></td>
<td width="100%">
<h1 class='page_title'>
Search {$_MODULE->label()}
</h1>
</td>
<td align="right" style="padding-right: 5px;"><a class="link" href="javascript:void(0);" onclick="$fnT('__searchbox__','__listview__');"><img src="resources/images/iconza/yellow/zoom_out_32x32.png" border="0"></a></td>
</tr>
<tr>
<td colspan=3 align="center">
<form action="index.php" method="GET" onsubmit="if(this.search.value == '') return false;">
<input type="hidden" name="_operation" value="listModuleRecords" />
<input type="hidden" name="module" value="{$_MODULE->name()}" />
<input id='__searchbox__q_' type="text" name="search" class="searchbox" value="{$_SEARCH}"/>
</form>
</td>
</tr>
</table>
</div>
</body>
{include file="modules/Mobile/generic/Footer.tpl"}

View File

@@ -0,0 +1,45 @@
{include file="modules/Mobile/generic/Header.tpl"}
<body>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td>
<h1 class='page_title'>vtiger CRM</h1>
</td>
</tr>
<tr>
<td>
<form method="post" action="index.php?_operation=loginAndFetchModules">
<table width=100% cellpadding=5 cellspacing=0 border=0 class="panel_login">
<tr>
<td colspan="2">
{if $_ERR}<p class='error'>{$_ERR}</p>
{else}<p>Please login to proceed...</p>{/if}
</td>
</tr>
<tr>
<td width="40px">Username</td>
<td><input type="text" name="username" value=""/></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="password" value=""/></td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="Login" class="button">
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>
{include file="modules/Mobile/generic/Footer.tpl"}

View File

@@ -0,0 +1,22 @@
{include file="modules/Mobile/generic/Header.tpl"}
<body>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr class="toolbar">
<td><a class="link" href="javascript:window.close();"><img src="resources/images/iconza/royalblue/undo_32x32.png" border="0"></a></td>
<td width="100%">
<h1 class='page_title'>
<a class="link" href="javascript:void(0);"><img src="resources/images/iconza/yellow/left_arrow_24x24.png" border="0"></a>
{$_MODULE->label}
<a class="link" href="javascript:void(0);"><img src="resources/images/iconza/yellow/right_arrow_24x24.png" border="0"></a>
</h1>
</td>
<td align="right" style="padding-right: 5px;"><a class="link" href="javascript:void(0);" onclick="$fnT('__listview__', '__searchbox__'); $fnFocus('__searchbox__q_');" target="_self"><img src="resources/images/iconza/yellow/lens_32x32.png" border="0"></a></td>
</tr>
</table>
</body>
{include file="modules/Mobile/generic/Footer.tpl"}

View File

@@ -0,0 +1,83 @@
{include file="modules/Mobile/generic/Header.tpl"}
<body>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr class="toolbar">
<td><a class="link" href="?_operation=listModuleRecords&module={$_MODULE->name()}"><img src="resources/images/iconza/royalblue/left_arrow_24x24.png" border="0"></a></td>
<td width="100%">
<h1 class='page_title'>
Search {$_MODULE->label()}
</h1>
</td>
<td align="right" style="padding-right: 5px;"><button onclick="$('_searchconfig_form_').submit();">Save</button></td>
</tr>
<tr>
<td colspan="3">
<form method="POST" action="?_operation=searchConfig&mode=update&module={$_MODULE->name()}" id="_searchconfig_form_">
<table width=100% cellpadding=8 cellspacing=0 border=0 class="table_detail">
{foreach item=_BLOCK key=_BLOCKLABEL from=$_RECORD->blocks()}
<tr>
<td colspan=2 class="hdrlabel">{$_BLOCKLABEL}</td>
</tr>
{foreach item=_FIELD from=$_BLOCK->fields()}
{assign var="_FIELDNAME" value=$_FIELD->name()}
<tr>
<th align="right" class="label2" nowrap="nowrap" width="10%">{$_FIELD->label()}</th>
<td width="100%">
<table cellpadding=0 cellspacing=0 border=0 class="table_checkbox">
<tr>
<td>
{assign var=_checkbox_on_checked value='false'}
{assign var=_checkbox_off_checked value='true'}
{assign var=_checkbox_on_class value='on'}
{assign var=_checkbox_off_class value='off hide'}
{if in_array($_FIELDNAME, $_SEARCHIN) || $_SEARCHIN_ALL }
{assign var=_checkbox_on_checked value='true'}
{assign var=_checkbox_off_checked value='false'}
{assign var=_checkbox_on_class value='on hide'}
{assign var=_checkbox_off_class value='off'}
{/if}
<div class='{$_checkbox_on_class}'>
<a href='javascript:void(0);' id='_checkbox_{$_FIELDNAME}_on' onclick="$('include_{$_FIELDNAME}').checked=true;$fnCheckboxOn('_checkbox_{$_FIELDNAME}');">ON</a>
</div>
<div class='{$_checkbox_off_class}'>
<a href='javascript:void(0);' id='_checkbox_{$_FIELDNAME}_off' onclick="$('include_{$_FIELDNAME}').checked=false;$fnCheckboxOff('_checkbox_{$_FIELDNAME}');">OFF</a>
</div>
</td>
</tr>
</table>
<input id='include_{$_FIELDNAME}' name="field_{$_FIELDNAME}" type="checkbox" class="input_checkbox" style="display: none;" {if $_checkbox_on_checked eq 'true'}checked=true{/if}>
</td>
</tr>
{/foreach}
{/foreach}
</table>
</form>
</td>
</tr>
</table>
</body>
{include file="modules/Mobile/generic/Footer.tpl"}