Added version to all files, create .new Custom file if already there

This commit is contained in:
2024-04-26 09:26:38 +01:00
parent 7af3086d73
commit b96239639c
9 changed files with 100 additions and 28 deletions

View File

@@ -1,5 +1,7 @@
package SrvMngr::Controller::${PackageName};
#
# Generated by SM2Gen version:${version}
#
#----------------------------------------------------------------------
# heading : ${MenuHeading}
# description : ${MenuDescription}

View File

@@ -2,11 +2,9 @@
# Routines to be editted by the developer to provide validation for parameters
# and provison of the control data for table(s)
#
#$cdb=$main::cdb;
#$adb=$main::adb;
#$ndb=$main::ndb;
#$hdb=$main::hdb;
#$ddb=$main::ddb;
#
# Generated by SM2Gen version:${version}
#
use esmith::util;
use esmith::HostsDB;

View File

@@ -98,7 +98,7 @@
</password>
<Table><![CDATA[
<table class="sme-border TableSort">
<br /><table class="sme-border TableSort">
<thead>
<tr><tal:block tal:repeat="ColHead TopHeadings">
<th class='sme-border'>${ColHead}</th></tal:block>

View File

@@ -1,4 +1,7 @@
% layout 'default', title => "Sme server 2 - ${MenuDescription}", share_dir => './';
%#
%# Generated by SM2Gen version:${version}
%#
% content_for 'module' => begin
<div id="module" class="module ${PackageName}-panel">

View File

@@ -1,3 +1,6 @@
%#
%# Generated by SM2Gen version:${version}
%#
<div id="${PackageName}-${route}">
<script>
window.onload = function() {