內容簡介
使用方法?
使用文件管理器 Windows 或 Linux 的路徑列表製作繪製路徑層級的圖片 (可以是 PNG 圖像或樹形文本)。
為什麼使用它?
您可以節省時間,因為您無需捕捉文件管理器中路徑的圖像,將其保存,上傳並在 WordPress 中設置。
您可以將路徑作為文本格式用於文章中。
如果您安裝了 Windows,需要使用 Linux 文件管理器顯示您的樣式路徑,則可以使用此外掛。同樣的情況也適用於 Linux 至 Windows。
如何使用?
您只需要使用正確的文件系統分隔符編寫要生成的路徑,例如,如果您採用 Linux 格式,則應使用 /(斜杠)作為目錄分隔符,如果您使用 Windows 格式,則應使用 \(反斜杠)。
您將需要配置所選圖片的視覺特徵,包括圖形模式或文本和每個模式可用的樣式。
在短碼的最終指標中,要確保不包含任何空格。
正確:
[/pathpic]
不正確:
[/pathpic] (看到 pathpic 和 ] 之間的空格)
何處使用?
一旦安裝到 WordPress 插件中,您可以在您的文章中使用它。
參數:
風格
從使用的路徑列表產生的圖片將具有的樣式。這是可用的值:
模式 –> 值 ———> 說明
image->W7————>Windows 7
image->XP————>Windows XP
image->Ubuntu——–>Ubuntu
image->Netbeans——>Netbeans 7
text–>TotalTerminal->Mac
text–>Guake———>Ubuntu 或 Gnome
text–>Yaquake——->Ubuntu 或 Gnome
範例: style = “TotalTerminal”
模式
指示圖片的視覺格式。可用值為: 圖像和文本。範例: mode = “text”
操作系統
指示路徑的格式如何符合操作系統。可用值為: Linux 和 Windows。
文件
這是一個由逗號分隔的數字序列,指的是路徑列表中的行數,將顯示為輸出文件。請注意,行號從0(零)開始。範例: files = “0, 1, 2”
高亮顯示
這是一個由逗號分隔的數字序列,指的是路徑列表的行號,將在輸出中突顯顯示。請注意,行號從0(零)開始。範例: highlights = “2”
要求
在 php 中設置 buffer_output 指令為 ‘On’。
安裝圖形處理庫 GD2。
允許使用 base64 編碼。
外掛標籤
開發者團隊
原文外掛簡介
What to do?
Use a list of paths and produces a pic representing a hierarchy of paths (which can be a PNG image or tree text) of a File Manager Windows or Linux.
Why use it?
You can save time because you avoid that you have to capture the image of the paths in your File Manager, save it, upload it and set it in WordPress.
You will have available in your articles your paths in text format.
If you have installed Windows and you need to show your style paths with Linux File Manager you can do with this plugin. The same case but Linux to Windows is also considered.
How to use it?
You just need to write the paths you want to generate using the directory separators File System correct, ie if you go to enter paths in the form of Linux, you will have to use as the directory separator / (Forwardslash) or if you’re using Windows format you should use the \ (backslash).
You will have to configure the visual characteristics of the pic choosing the graphical mode or text and style is available for each mode.
In the shortcode’s final indicator making sure that I not contain any spaces before ]
Correct :
[/pathpic]
Incorrect
[/pathpic ] (see the space between pathpic and ])
Where to use?
Once installed on wordpress plugin, you could use in your articles.
Parameters:
style
Select which style will have the pic generated from the list of paths used. These are the available values:
MODE–>VALUE———>DESCRIPTION
image->W7————>Windows 7
image->XP————>Windows XP
image->Ubuntu——–>Ubuntu
image->Netbeans——>Netbeans 7
text–>TotalTerminal->Mac
text–>Guake———>Ubuntu o Gnome
text–>Yaquake——->Ubuntu o Gnome
Example: style = “TotalTerminal”
mode
Indicates the visual format of the pic. The available values are: image and text. Example: mode = “text”
os
Indicates the format of the paths according to the operating system. The available values are: Linux and Windows.
files
It is a sequence of numbers separated by commas referring to the number of row in the list of paths and will be shown as the output file. Note that the row numbers start at 0 (zero). Example: files = “0,1,2”
highlights
It is a sequence of numbers separated by commas referred to the row number list paths and Seru shown highlighted in the output. Note that the row numbers start at 0 (zero). Example: highlights = “2”
Requeriments
In php set buffer_output directive to ‘On’.
Library GD2 installed.
Allowing to use of base64 encoding.
