-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
816 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
instance/design/instancetheme/tpl/lhinstance/form_reseller.tpl.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php if ($instance->id !== null) : ?> | ||
<h4><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('instance/edit','Reseller ID');?> - <?php echo htmlspecialchars($instance->id);?></h4> | ||
<?php endif;?> | ||
|
||
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('instance/edit','Is reseller');?> <input type="checkbox" name="Reseller" value="on" <?php echo $instance->is_reseller ? 'checked="checked"' : '';?> /></label> | ||
|
||
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('instance/edit','Reseller title');?></label> | ||
<input type="text" name="ResellerTitle" value="<?php echo htmlspecialchars($instance->reseller_tite);?>" /> | ||
|
||
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('instance/edit','Max number of request per instance');?></label> | ||
<input type="text" name="ResellerMaxRequest" value="<?php echo htmlspecialchars($instance->reseller_max_instance_request);?>" /> | ||
|
||
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('instance/edit','Max number of instances reseller can have');?></label> | ||
<input type="text" name="ResellerMaxInstance" value="<?php echo htmlspecialchars($instance->reseller_max_instances);?>" /> | ||
|
||
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('instance/edit','How many request reseller has to sell');?></label> | ||
<input type="text" name="ResellerRequest" value="<?php echo htmlspecialchars($instance->reseller_request);?>" /> | ||
|
||
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('instance/edit','Reseller secret hash. Used by API dedicated to reseller');?></label> | ||
<input type="text" name="ResellerSecretHash" value="<?php echo htmlspecialchars($instance->reseller_secret_hash);?>" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
1.1v | ||
Reseller layer on top of instances and API for reseller. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.