Skip to content

Commit

Permalink
Merge pull request #9 from xoopscube/xcl-altsys
Browse files Browse the repository at this point in the history
XCL version
  • Loading branch information
gigamaster authored Jan 8, 2023
2 parents cb1cb45 + 1970f4b commit 3d1db7e
Show file tree
Hide file tree
Showing 220 changed files with 11,355 additions and 12,512 deletions.
42 changes: 34 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,43 @@
## 🚧 Altsys module was merged into XCL branch module/altsys !
https://github.com/xoopscube/xcl/tree/module/altsys
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/2.0.0/active.svg)](https://github.com/xoopscube/xcl)
![License GPL](https://img.shields.io/badge/License-GPL-green)
![License GPL](https://img.shields.io/badge/X--Update%20Store-Pending-red)

## ⚠️ This repository is planned to be archived !
## ///// — AltSys UI Common Library

![alt text](https://repository-images.githubusercontent.com/8041517/16f372e9-91e2-4ff8-8d79-ccbb6b2ad0d9)


MODULE | ALTSYS
------------ | -------------
Description | UI Common Library to create and manage Modules Blocks, Templates, Localization
Render Engine | Smarty v2 and XCube Layout
Version | 2.3.1
Author | Original by GiJoe ( peak.ne.jp )
Author | Update by Nuno Luciano (aka Gigamaster)
Copyright | 2005-2022 Authors
License | GPL


##### :computer: The Minimum Requirements

== ALTSYS == alternative system module & library

[b]SUMMARY:[/b]

The unified module of blocksadmin, tplsadmin, etc around the system.
Apache, Nginx, etc. PHP 7.2.x
MySQL 5.6, MariaDB InnoDB utf8 / utf8mb4
XCL version 2.3.+

I'm appreciated your bug reports :-)

I'll maintain this module instead of blocksadmin, tplsadmin, avaman etc.

-----


== ALTSYS == alternative system module & library

[b]SUMMARY:[/b]

UI Common Library to create custom Blocks and Templates.
Manage modules Blocks, Templates, and translations.
GUI for Localization.


[b]INSTALL:[/b]
Expand Down
4 changes: 2 additions & 2 deletions html/modules/altsys/admin/admin_menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
die('set XOOPS_TRUST_PATH in mainfile.php') ;
}

$mydirname = basename(dirname(dirname(__FILE__))) ;
$mydirpath = dirname(dirname(__FILE__)) ;
$mydirname = basename(dirname(__DIR__)) ;
$mydirpath = dirname(__DIR__) ;
// require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
$mytrustdirname = 'altsys' ;

Expand Down
4 changes: 2 additions & 2 deletions html/modules/altsys/admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
die('set XOOPS_TRUST_PATH in mainfile.php') ;
}

$mydirname = basename(dirname(dirname(__FILE__))) ;
$mydirpath = dirname(dirname(__FILE__)) ;
$mydirname = basename(dirname(__DIR__)) ;
$mydirpath = dirname(__DIR__) ;
// require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
$mytrustdirname = 'altsys' ;

Expand Down
Binary file removed html/modules/altsys/altsys_slogo.png
Binary file not shown.
4 changes: 2 additions & 2 deletions html/modules/altsys/blocks/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
die('set XOOPS_TRUST_PATH into mainfile.php') ;
}

$mydirname = basename(dirname(dirname(__FILE__))) ;
$mydirpath = dirname(dirname(__FILE__)) ;
$mydirname = basename(dirname(__DIR__)) ;
$mydirpath = dirname(__DIR__) ;
// require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
$mytrustdirname = 'altsys' ;

Expand Down
Binary file removed html/modules/altsys/images/module_icon.png
Binary file not shown.
1 change: 1 addition & 0 deletions html/modules/altsys/images/module_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions html/modules/altsys/images/module_ui_components.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
die('set XOOPS_TRUST_PATH into mainfile.php') ;
}

$mydirname = basename(dirname(dirname(__FILE__))) ;
$mydirpath = dirname(dirname(__FILE__)) ;
$mydirname = basename(dirname(__DIR__)) ;
$mydirpath = dirname(__DIR__) ;
// require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
$mytrustdirname = 'altsys' ;

Expand Down
4 changes: 2 additions & 2 deletions html/modules/altsys/include/oninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
die('set XOOPS_TRUST_PATH into mainfile.php') ;
}

$mydirname = basename(dirname(dirname(__FILE__))) ;
$mydirpath = dirname(dirname(__FILE__)) ;
$mydirname = basename(dirname(__DIR__)) ;
$mydirpath = dirname(__DIR__) ;
// require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
$mytrustdirname = 'altsys' ;

Expand Down
4 changes: 2 additions & 2 deletions html/modules/altsys/include/onuninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
die('set XOOPS_TRUST_PATH into mainfile.php') ;
}

$mydirname = basename(dirname(dirname(__FILE__))) ;
$mydirpath = dirname(dirname(__FILE__)) ;
$mydirname = basename(dirname(__DIR__)) ;
$mydirpath = dirname(__DIR__) ;
// require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
$mytrustdirname = 'altsys' ;

Expand Down
4 changes: 2 additions & 2 deletions html/modules/altsys/include/onupdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
die('set XOOPS_TRUST_PATH into mainfile.php') ;
}

$mydirname = basename(dirname(dirname(__FILE__))) ;
$mydirpath = dirname(dirname(__FILE__)) ;
$mydirname = basename(dirname(__DIR__)) ;
$mydirpath = dirname(__DIR__) ;
// require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
$mytrustdirname = 'altsys' ;

Expand Down
138 changes: 138 additions & 0 deletions html/modules/altsys/language/english/help/altsys_guide.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@

<article id="altsys-guide">

<h2>AltSys Guide</h2>

<div class="ui-data-render view">

<div class="ui-card-block">

<div class="ui-card-block-header">

<div class="ui-card-block-info">
<a href="#" aria-label="Custom (plain HTML)">
<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24" class="icon-info">
<path d="M13 9h-2V7h2m0 10h-2v-6h2m-1-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2z" fill="currentColor"></path>
</svg>
</a>
</div>

<div class="ui-card-block-settings">
<a href="#" aria-label="Delete">
<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24">
<path d="M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6v12m2.46-7.12l1.41-1.41L12 12.59l2.12-2.12l1.41 1.41L13.41 14l2.12 2.12l-1.41 1.41L12 15.41l-2.12 2.12l-1.41-1.41L10.59 14l-2.13-2.12M15.5 4l-1-1h-5l-1 1H5v2h14V4h-3.5z" fill="currentColor"></path>
</svg>
</a>
</div>

</div>

<div class="ui-card-block-image">
<a href="#" class="ui-block-type" aria-label="Custom (plain HTML)">
<svg xmlns="http://www.w3.org/2000.svg" width="100%" height="100%" viewBox="0 0 240 100" class="ui-block-module">
<g id="ui-block-module">
<path class="block-icon" d="M2 10.96a.985.985 0 0 1-.37-1.37L3.13 7c.11-.2.28-.34.47-.42l7.83-4.4c.16-.12.36-.18.57-.18c.21 0 .41.06.57.18l7.9 4.44c.19.1.35.26.44.46l1.45 2.52c.28.48.11 1.09-.36 1.36l-1 .58v4.96c0 .38-.21.71-.53.88l-7.9 4.44c-.16.12-.36.18-.57.18c-.21 0-.41-.06-.57-.18l-7.9-4.44A.991.991 0 0 1 3 16.5v-5.54c-.3.17-.68.18-1 0m10-6.81v6.7l5.96-3.35L12 4.15M5 15.91l6 3.38v-6.71L5 9.21v6.7m14 0v-3.22l-5 2.9c-.33.18-.7.17-1 .01v3.69l6-3.38m-5.15-2.55l6.28-3.63l-.58-1.01l-6.28 3.63l.58 1.01z" fill="currentColor"></path>
<text class="block-name" x="120px" y="50px" fill="currentColor">
<tspan>Custom (plain HTML)</tspan>
</text>
</g>
</svg>
</a>
</div>

<div class="ui-card-block-content">

<div class="ui-card-block-item">
<input type="text" name="weights[45]" value="0" size="1" maxlength="5">
<input type="text" name="titles[45]" value="html-smarty" size="20" aria-label="Custom (plain HTML)">
</div>

<div class="ui-card-block-item">

<div aria-label="Block-Left">
<input type="radio" name="sides[45]" value="0" class="blockposition" onclick="document.getElementById(&quot;extra_side_45&quot;).value=0;">
</div>
<div>-</div>
<div aria-label="Center-Block-Left">
<input type="radio" name="sides[45]" value="3" class="blockposition" onclick="document.getElementById(&quot;extra_side_45&quot;).value=3;">
</div>
<div aria-label="Center-Block-Center">
<input type="radio" name="sides[45]" value="5" class="blockposition" checked="checked" onclick="document.getElementById(&quot;extra_side_45&quot;).value=5;">
</div>
<div aria-label="Center-Block-Right">
<input type="radio" name="sides[45]" value="4" class="blockposition" onclick="document.getElementById(&quot;extra_side_45&quot;).value=4;">
</div>
<div>-</div>
<div aria-label="Block-Right">
<input type="radio" name="sides[45]" value="1" class="blockposition" onclick="document.getElementById(&quot;extra_side_45&quot;).value=1;">
</div>

<div style="width:45px;" aria-label="Block-Extra">
<input type="text" name="extra_sides[45]" value="" class="block-extra-side" id="extra_side_45">
</div>
<div aria-label="None">
<input type="radio" name="sides[45]" value="-1" class="blockposition ui-input-red" onclick="document.getElementById(&quot;extra_side_45&quot;).value=-1;">
</div>

</div>

<div class="ui-card-block-item">

<select name="bmodules[45][]" size="5" multiple="multiple">
<option value="-1">Top Page</option>
<option value="0" selected="selected">All Pages</option>
<option value="7">UI Components</option>
<option value="8">Private Message</option>
<option value="11">xelFinder</option>
<option value="16">Forum</option>
<option value="18">Publish</option>
</select>


<select name="bgroups[45][]" size="5" multiple="multiple">
<option value="1" selected="selected">Webmasters</option>
<option value="2" selected="selected">Registered Users</option>
<option value="3">Anonymous Users</option>
<option value="4">Translators</option>
</select>
</div>

<div class="ui-card-block-item pad-center">
<select name="bcachetimes[45]" size="1">
<option label="No Cache" value="0" selected="selected">No Cache</option>
<option label="30 seconds" value="30">30 seconds</option>
<option label="1 minute" value="60">1 minute</option>
<option label="5 minutes" value="300">5 minutes</option>
<option label="30 minutes" value="1800">30 minutes</option>
<option label="1 hour" value="3600">1 hour</option>
<option label="5 hours" value="18000">5 hours</option>
<option label="1 day" value="86400">1 day</option>
<option label="3 days" value="259200">3 days</option>
<option label="1 week" value="604800">1 week</option>
<option label="1 month" value="2592000">1 month</option>
</select>
</div>

<div class="ui-card-block-item">
<a href="#" class="button button-small" aria-label="Edit">
<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24" class="svg-ui-icon">
<path d="M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83l3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z" fill="currentColor"></path>
</svg> Edit
</a>


<a href="#" class="button button-small" aria-label="Clone">
<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24" class="svg-ui-icon">
<path d="M11 17H4a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h12v2H4v12h7v-2l4 3l-4 3v-2m8 4V7H8v6H6V7a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-2h2v2h11z" fill="currentColor"></path>
</svg>Clone
</a>
</div>

</div>
</div>



</div>

</article>
Loading

0 comments on commit 3d1db7e

Please sign in to comment.